fix todos/move to todo list

This commit is contained in:
Dennis Eichhorn 2020-11-26 20:50:18 +01:00
parent be40a93fcf
commit 1dd2f33511
3 changed files with 0 additions and 37 deletions

View File

@ -15,7 +15,6 @@ declare(strict_types=1);
namespace Modules\Accounting\Controller;
use phpOMS\Module\ModuleAbstract;
use phpOMS\Module\WebInterface;
/**
* Controller class.

View File

@ -24,8 +24,6 @@ use phpOMS\Localization\Defaults\LanguageMapper;
* @license OMS License 1.0
* @link https://orange-management.org
* @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
{
@ -43,22 +41,6 @@ final class L11nCostCenterMapper extends DataMapperAbstract
'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.
*

View File

@ -24,8 +24,6 @@ use phpOMS\Localization\Defaults\LanguageMapper;
* @license OMS License 1.0
* @link https://orange-management.org
* @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
{
@ -43,22 +41,6 @@ final class L11nCostObjectMapper extends DataMapperAbstract
'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.
*