mirror of
https://github.com/Karaka-Management/oms-Accounting.git
synced 2026-02-14 11:38:40 +00:00
correct datamapper self/external usage (invert)
This commit is contained in:
parent
874112f8eb
commit
3b7f61ffd9
|
|
@ -47,9 +47,9 @@ final class CostCenterMapper extends DataMapperAbstract
|
||||||
'l11n' => [
|
'l11n' => [
|
||||||
'mapper' => L11nCostCenterMapper::class,
|
'mapper' => L11nCostCenterMapper::class,
|
||||||
'table' => 'accounting_costcenter_l11n',
|
'table' => 'accounting_costcenter_l11n',
|
||||||
'external' => 'accounting_costcenter_l11n_costcenter',
|
'self' => 'accounting_costcenter_l11n_costcenter',
|
||||||
'conditional' => true,
|
'conditional' => true,
|
||||||
'self' => null,
|
'external' => null,
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -47,9 +47,9 @@ final class CostObjectMapper extends DataMapperAbstract
|
||||||
'l11n' => [
|
'l11n' => [
|
||||||
'mapper' => L11nCostObjectMapper::class,
|
'mapper' => L11nCostObjectMapper::class,
|
||||||
'table' => 'accounting_costobject_l11n',
|
'table' => 'accounting_costobject_l11n',
|
||||||
'external' => 'accounting_costobject_l11n_costobject',
|
'self' => 'accounting_costobject_l11n_costobject',
|
||||||
'conditional' => true,
|
'conditional' => true,
|
||||||
'self' => null,
|
'external' => null,
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -52,7 +52,7 @@ final class L11nCostCenterMapper extends DataMapperAbstract
|
||||||
protected static array $ownsOne = [
|
protected static array $ownsOne = [
|
||||||
'language' => [
|
'language' => [
|
||||||
'mapper' => LanguageMapper::class,
|
'mapper' => LanguageMapper::class,
|
||||||
'self' => 'accounting_costcenter_l11n_language',
|
'external' => 'accounting_costcenter_l11n_language',
|
||||||
'by' => 'code2',
|
'by' => 'code2',
|
||||||
'column' => 'code2',
|
'column' => 'code2',
|
||||||
'conditional' => true,
|
'conditional' => true,
|
||||||
|
|
|
||||||
|
|
@ -52,7 +52,7 @@ final class L11nCostObjectMapper extends DataMapperAbstract
|
||||||
protected static array $ownsOne = [
|
protected static array $ownsOne = [
|
||||||
'language' => [
|
'language' => [
|
||||||
'mapper' => LanguageMapper::class,
|
'mapper' => LanguageMapper::class,
|
||||||
'self' => 'accounting_costobject_l11n_language',
|
'external' => 'accounting_costobject_l11n_language',
|
||||||
'by' => 'code2',
|
'by' => 'code2',
|
||||||
'column' => 'code2',
|
'column' => 'code2',
|
||||||
'conditional' => true,
|
'conditional' => true,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user