continue implementations

This commit is contained in:
Dennis Eichhorn 2024-01-12 00:30:21 +00:00
parent 907f48036e
commit e83bfffc2f
26 changed files with 14 additions and 27 deletions

View File

@ -243,6 +243,11 @@
"type": "TINYINT(1)",
"null": false
},
"contractmgmt_attr_type_repeatable": {
"name": "contractmgmt_attr_type_repeatable",
"type": "TINYINT(1)",
"null": false
},
"contractmgmt_attr_type_required": {
"description": "Every contract must have this attribute type if set to true.",
"name": "contractmgmt_attr_type_required",

View File

@ -42,6 +42,7 @@ final class ContractAttributeTypeMapper extends DataMapperFactory
'contractmgmt_attr_type_datatype' => ['name' => 'contractmgmt_attr_type_datatype', 'type' => 'int', 'internal' => 'datatype'],
'contractmgmt_attr_type_fields' => ['name' => 'contractmgmt_attr_type_fields', 'type' => 'int', 'internal' => 'fields'],
'contractmgmt_attr_type_custom' => ['name' => 'contractmgmt_attr_type_custom', 'type' => 'bool', 'internal' => 'custom'],
'contractmgmt_attr_type_repeatable' => ['name' => 'contractmgmt_attr_type_repeatable', 'type' => 'bool', 'internal' => 'repeatable'],
'contractmgmt_attr_type_pattern' => ['name' => 'contractmgmt_attr_type_pattern', 'type' => 'string', 'internal' => 'validationPattern'],
'contractmgmt_attr_type_required' => ['name' => 'contractmgmt_attr_type_required', 'type' => 'bool', 'internal' => 'isRequired'],
];

View File

@ -59,6 +59,7 @@ final class ContractAttributeValueMapper extends DataMapperFactory
'mapper' => ContractAttributeValueL11nMapper::class,
'table' => 'contractmgmt_attr_value_l11n',
'self' => 'contractmgmt_attr_value_l11n_value',
'column' => 'content',
'external' => null,
],
];

View File

@ -16,7 +16,6 @@ return ['ContractManagement' => [
'Account' => '',
'AutoRenewal' => '',
'Contract' => 'اتفافية',
'ContractTypes' => '',
'Contracts' => 'انكماش',
'Costs' => '',
'Description' => '',

View File

@ -16,7 +16,6 @@ return ['ContractManagement' => [
'Account' => '',
'AutoRenewal' => '',
'Contract' => 'Smlouva',
'ContractTypes' => '',
'Contracts' => 'Smlouvy',
'Costs' => '',
'Description' => '',

View File

@ -16,7 +16,6 @@ return ['ContractManagement' => [
'Account' => '',
'AutoRenewal' => '',
'Contract' => 'Kontrakt',
'ContractTypes' => '',
'Contracts' => 'Kontrakter',
'Costs' => '',
'Description' => '',

View File

@ -16,7 +16,6 @@ return ['ContractManagement' => [
'Account' => 'Account',
'AutoRenewal' => 'Automatische Verlängerung',
'Contract' => 'Vertrag',
'ContractTypes' => 'Vertragstypen',
'Contracts' => 'Verträge',
'Costs' => 'Kosten',
'Description' => 'Beschreibung',

View File

@ -16,7 +16,6 @@ return ['ContractManagement' => [
'Account' => '',
'AutoRenewal' => '',
'Contract' => 'Σύμβαση',
'ContractTypes' => '',
'Contracts' => 'Συμβάσεις',
'Costs' => '',
'Description' => '',

View File

@ -16,7 +16,6 @@ return ['ContractManagement' => [
'Account' => 'Account',
'AutoRenewal' => 'Auto Renewal',
'Contract' => 'Contract',
'ContractTypes' => 'Contract Types',
'Contracts' => 'Contracts',
'Costs' => 'Costs',
'Description' => 'Description',

View File

@ -16,7 +16,6 @@ return ['ContractManagement' => [
'Account' => '',
'AutoRenewal' => '',
'Contract' => 'Contrato',
'ContractTypes' => '',
'Contracts' => 'Contrato',
'Costs' => '',
'Description' => '',

View File

@ -16,7 +16,6 @@ return ['ContractManagement' => [
'Account' => '',
'AutoRenewal' => '',
'Contract' => 'Sopimus',
'ContractTypes' => '',
'Contracts' => 'Sopimukset',
'Costs' => '',
'Description' => '',

View File

@ -16,7 +16,6 @@ return ['ContractManagement' => [
'Account' => '',
'AutoRenewal' => '',
'Contract' => 'Contracter',
'ContractTypes' => '',
'Contracts' => 'Contrats',
'Costs' => '',
'Description' => '',

View File

@ -16,7 +16,6 @@ return ['ContractManagement' => [
'Account' => '',
'AutoRenewal' => '',
'Contract' => 'Szerződés',
'ContractTypes' => '',
'Contracts' => 'Szerződések',
'Costs' => '',
'Description' => '',

View File

@ -16,7 +16,6 @@ return ['ContractManagement' => [
'Account' => '',
'AutoRenewal' => '',
'Contract' => 'Contrarre',
'ContractTypes' => '',
'Contracts' => 'Contratti',
'Costs' => '',
'Description' => '',

View File

@ -16,7 +16,6 @@ return ['ContractManagement' => [
'Account' => '',
'AutoRenewal' => '',
'Contract' => '契約',
'ContractTypes' => '',
'Contracts' => '契約',
'Costs' => '',
'Description' => '',

View File

@ -16,7 +16,6 @@ return ['ContractManagement' => [
'Account' => '',
'AutoRenewal' => '',
'Contract' => '계약',
'ContractTypes' => '',
'Contracts' => '계약서',
'Costs' => '',
'Description' => '',

View File

@ -16,7 +16,6 @@ return ['ContractManagement' => [
'Account' => '',
'AutoRenewal' => '',
'Contract' => 'Kontrakt',
'ContractTypes' => '',
'Contracts' => 'Kontrakter',
'Costs' => '',
'Description' => '',

View File

@ -16,7 +16,6 @@ return ['ContractManagement' => [
'Account' => '',
'AutoRenewal' => '',
'Contract' => 'Kontrakt',
'ContractTypes' => '',
'Contracts' => 'Kontrakty',
'Costs' => '',
'Description' => '',

View File

@ -16,7 +16,6 @@ return ['ContractManagement' => [
'Account' => '',
'AutoRenewal' => '',
'Contract' => 'Contrato',
'ContractTypes' => '',
'Contracts' => 'Contratos',
'Costs' => '',
'Description' => '',

View File

@ -16,7 +16,6 @@ return ['ContractManagement' => [
'Account' => '',
'AutoRenewal' => '',
'Contract' => 'Договор',
'ContractTypes' => '',
'Contracts' => 'Контракты',
'Costs' => '',
'Description' => '',

View File

@ -16,7 +16,6 @@ return ['ContractManagement' => [
'Account' => '',
'AutoRenewal' => '',
'Contract' => 'Avtal',
'ContractTypes' => '',
'Contracts' => 'Kontrakt',
'Costs' => '',
'Description' => '',

View File

@ -16,7 +16,6 @@ return ['ContractManagement' => [
'Account' => '',
'AutoRenewal' => '',
'Contract' => 'สัญญา',
'ContractTypes' => '',
'Contracts' => 'สัญญา',
'Costs' => '',
'Description' => '',

View File

@ -16,7 +16,6 @@ return ['ContractManagement' => [
'Account' => '',
'AutoRenewal' => '',
'Contract' => 'Sözleşme',
'ContractTypes' => '',
'Contracts' => 'Sözleşme',
'Costs' => '',
'Description' => '',

View File

@ -16,7 +16,6 @@ return ['ContractManagement' => [
'Account' => '',
'AutoRenewal' => '',
'Contract' => 'Договір',
'ContractTypes' => '',
'Contracts' => 'Контракти',
'Costs' => '',
'Description' => '',

View File

@ -16,7 +16,6 @@ return ['ContractManagement' => [
'Account' => '',
'AutoRenewal' => '',
'Contract' => '合同',
'ContractTypes' => '',
'Contracts' => '合同',
'Costs' => '',
'Description' => '',

View File

@ -75,11 +75,13 @@ echo $this->data['nav']->render(); ?>
<input type="datetime-local" id="iEnd" name="end" value="<?= $this->printHtml($contract->end->format('Y-m-d\TH:i:s')); ?>">
</div>
<label class="checkbox" for="iAutoRenewal">
<input id="iAutoRenewal" type="checkbox" name="auto_renewal" value="1"<?= $contract->autoRenewal ? ' checked' : ''; ?>>
<span class="checkmark"></span>
<?= $this->getHtml('AutoRenewal'); ?>
</label>
<div class="form-group">
<label class="checkbox" for="iAutoRenewal">
<input id="iAutoRenewal" type="checkbox" name="auto_renewal" value="1"<?= $contract->autoRenewal ? ' checked' : ''; ?>>
<span class="checkmark"></span>
<?= $this->getHtml('AutoRenewal'); ?>
</label>
</div>
<div class="form-group">
<label for="iTermination"><?= $this->getHtml('Termination'); ?></label>