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)", "type": "TINYINT(1)",
"null": false "null": false
}, },
"contractmgmt_attr_type_repeatable": {
"name": "contractmgmt_attr_type_repeatable",
"type": "TINYINT(1)",
"null": false
},
"contractmgmt_attr_type_required": { "contractmgmt_attr_type_required": {
"description": "Every contract must have this attribute type if set to true.", "description": "Every contract must have this attribute type if set to true.",
"name": "contractmgmt_attr_type_required", "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_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_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_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_pattern' => ['name' => 'contractmgmt_attr_type_pattern', 'type' => 'string', 'internal' => 'validationPattern'],
'contractmgmt_attr_type_required' => ['name' => 'contractmgmt_attr_type_required', 'type' => 'bool', 'internal' => 'isRequired'], '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, 'mapper' => ContractAttributeValueL11nMapper::class,
'table' => 'contractmgmt_attr_value_l11n', 'table' => 'contractmgmt_attr_value_l11n',
'self' => 'contractmgmt_attr_value_l11n_value', 'self' => 'contractmgmt_attr_value_l11n_value',
'column' => 'content',
'external' => null, 'external' => null,
], ],
]; ];

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -16,7 +16,6 @@ return ['ContractManagement' => [
'Account' => '', 'Account' => '',
'AutoRenewal' => '', 'AutoRenewal' => '',
'Contract' => '合同', 'Contract' => '合同',
'ContractTypes' => '',
'Contracts' => '合同', 'Contracts' => '合同',
'Costs' => '', 'Costs' => '',
'Description' => '', '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')); ?>"> <input type="datetime-local" id="iEnd" name="end" value="<?= $this->printHtml($contract->end->format('Y-m-d\TH:i:s')); ?>">
</div> </div>
<label class="checkbox" for="iAutoRenewal"> <div class="form-group">
<input id="iAutoRenewal" type="checkbox" name="auto_renewal" value="1"<?= $contract->autoRenewal ? ' checked' : ''; ?>> <label class="checkbox" for="iAutoRenewal">
<span class="checkmark"></span> <input id="iAutoRenewal" type="checkbox" name="auto_renewal" value="1"<?= $contract->autoRenewal ? ' checked' : ''; ?>>
<?= $this->getHtml('AutoRenewal'); ?> <span class="checkmark"></span>
</label> <?= $this->getHtml('AutoRenewal'); ?>
</label>
</div>
<div class="form-group"> <div class="form-group">
<label for="iTermination"><?= $this->getHtml('Termination'); ?></label> <label for="iTermination"><?= $this->getHtml('Termination'); ?></label>