mirror of
https://github.com/Karaka-Management/oms-Accounting.git
synced 2026-02-12 10:48:40 +00:00
fix todos/move to todo list
This commit is contained in:
parent
be40a93fcf
commit
1dd2f33511
|
|
@ -15,7 +15,6 @@ declare(strict_types=1);
|
||||||
namespace Modules\Accounting\Controller;
|
namespace Modules\Accounting\Controller;
|
||||||
|
|
||||||
use phpOMS\Module\ModuleAbstract;
|
use phpOMS\Module\ModuleAbstract;
|
||||||
use phpOMS\Module\WebInterface;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Controller class.
|
* Controller class.
|
||||||
|
|
|
||||||
|
|
@ -24,8 +24,6 @@ use phpOMS\Localization\Defaults\LanguageMapper;
|
||||||
* @license OMS License 1.0
|
* @license OMS License 1.0
|
||||||
* @link https://orange-management.org
|
* @link https://orange-management.org
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*
|
|
||||||
* @todo Do I really want to create a relation to the language mapper? It's not really needed right?
|
|
||||||
*/
|
*/
|
||||||
final class L11nCostCenterMapper extends DataMapperAbstract
|
final class L11nCostCenterMapper extends DataMapperAbstract
|
||||||
{
|
{
|
||||||
|
|
@ -43,22 +41,6 @@ final class L11nCostCenterMapper extends DataMapperAbstract
|
||||||
'accounting_costcenter_l11n_language' => ['name' => 'accounting_costcenter_l11n_language', 'type' => 'string', 'internal' => 'language'],
|
'accounting_costcenter_l11n_language' => ['name' => 'accounting_costcenter_l11n_language', 'type' => 'string', 'internal' => 'language'],
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
|
||||||
* Has one relation.
|
|
||||||
*
|
|
||||||
* @var array<string, array{mapper:string, external:string, by?:string, column?:string, conditional?:bool}>
|
|
||||||
* @since 1.0.0
|
|
||||||
*/
|
|
||||||
protected static array $ownsOne = [
|
|
||||||
'language' => [
|
|
||||||
'mapper' => LanguageMapper::class,
|
|
||||||
'external' => 'accounting_costcenter_l11n_language',
|
|
||||||
'by' => 'code2',
|
|
||||||
'column' => 'code2',
|
|
||||||
'conditional' => true,
|
|
||||||
],
|
|
||||||
];
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Primary table.
|
* Primary table.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -24,8 +24,6 @@ use phpOMS\Localization\Defaults\LanguageMapper;
|
||||||
* @license OMS License 1.0
|
* @license OMS License 1.0
|
||||||
* @link https://orange-management.org
|
* @link https://orange-management.org
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*
|
|
||||||
* @todo Do I really want to create a relation to the language mapper? It's not really needed right?
|
|
||||||
*/
|
*/
|
||||||
final class L11nCostObjectMapper extends DataMapperAbstract
|
final class L11nCostObjectMapper extends DataMapperAbstract
|
||||||
{
|
{
|
||||||
|
|
@ -43,22 +41,6 @@ final class L11nCostObjectMapper extends DataMapperAbstract
|
||||||
'accounting_costobject_l11n_language' => ['name' => 'accounting_costobject_l11n_language', 'type' => 'string', 'internal' => 'language'],
|
'accounting_costobject_l11n_language' => ['name' => 'accounting_costobject_l11n_language', 'type' => 'string', 'internal' => 'language'],
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
|
||||||
* Has one relation.
|
|
||||||
*
|
|
||||||
* @var array<string, array{mapper:string, external:string, by?:string, column?:string, conditional?:bool}>
|
|
||||||
* @since 1.0.0
|
|
||||||
*/
|
|
||||||
protected static array $ownsOne = [
|
|
||||||
'language' => [
|
|
||||||
'mapper' => LanguageMapper::class,
|
|
||||||
'external' => 'accounting_costobject_l11n_language',
|
|
||||||
'by' => 'code2',
|
|
||||||
'column' => 'code2',
|
|
||||||
'conditional' => true,
|
|
||||||
],
|
|
||||||
];
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Primary table.
|
* Primary table.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user