mirror of
https://github.com/Karaka-Management/oms-Script.git
synced 2026-02-13 03:28:41 +00:00
This commit is contained in:
parent
e79e0bc9cb
commit
668f1b51ee
|
|
@ -54,11 +54,11 @@ final class ReportMapper extends DataMapperAbstract
|
||||||
protected static array $ownsOne = [
|
protected static array $ownsOne = [
|
||||||
'source' => [
|
'source' => [
|
||||||
'mapper' => \Modules\Media\Models\CollectionMapper::class,
|
'mapper' => \Modules\Media\Models\CollectionMapper::class,
|
||||||
'src' => 'helper_report_media',
|
'self' => 'helper_report_media',
|
||||||
],
|
],
|
||||||
'template' => [
|
'template' => [
|
||||||
'mapper' => \Modules\Helper\Models\TemplateMapper::class,
|
'mapper' => \Modules\Helper\Models\TemplateMapper::class,
|
||||||
'src' => 'helper_report_template',
|
'self' => 'helper_report_template',
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
@ -71,7 +71,7 @@ final class ReportMapper extends DataMapperAbstract
|
||||||
protected static array $belongsTo = [
|
protected static array $belongsTo = [
|
||||||
'createdBy' => [
|
'createdBy' => [
|
||||||
'mapper' => AccountMapper::class,
|
'mapper' => AccountMapper::class,
|
||||||
'src' => 'helper_report_creator',
|
'self' => 'helper_report_creator',
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -57,7 +57,7 @@ final class TemplateMapper extends DataMapperAbstract
|
||||||
protected static array $ownsOne = [
|
protected static array $ownsOne = [
|
||||||
'source' => [
|
'source' => [
|
||||||
'mapper' => CollectionMapper::class,
|
'mapper' => CollectionMapper::class,
|
||||||
'src' => 'helper_template_media',
|
'self' => 'helper_template_media',
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
@ -70,7 +70,7 @@ final class TemplateMapper extends DataMapperAbstract
|
||||||
protected static array $belongsTo = [
|
protected static array $belongsTo = [
|
||||||
'createdBy' => [
|
'createdBy' => [
|
||||||
'mapper' => AccountMapper::class,
|
'mapper' => AccountMapper::class,
|
||||||
'src' => 'helper_template_creator',
|
'self' => 'helper_template_creator',
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
@ -84,8 +84,8 @@ final class TemplateMapper extends DataMapperAbstract
|
||||||
'reports' => [
|
'reports' => [
|
||||||
'mapper' => ReportMapper::class,
|
'mapper' => ReportMapper::class,
|
||||||
'table' => 'helper_report',
|
'table' => 'helper_report',
|
||||||
'dst' => 'helper_report_template',
|
'external' => 'helper_report_template',
|
||||||
'src' => null,
|
'self' => null,
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user