mirror of
https://github.com/Karaka-Management/oms-ContractManagement.git
synced 2026-02-01 19:38:43 +00:00
continue implementations
This commit is contained in:
parent
907f48036e
commit
e83bfffc2f
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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'],
|
||||
];
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
],
|
||||
];
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@ return ['ContractManagement' => [
|
|||
'Account' => '',
|
||||
'AutoRenewal' => '',
|
||||
'Contract' => 'اتفافية',
|
||||
'ContractTypes' => '',
|
||||
'Contracts' => 'انكماش',
|
||||
'Costs' => '',
|
||||
'Description' => '',
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@ return ['ContractManagement' => [
|
|||
'Account' => '',
|
||||
'AutoRenewal' => '',
|
||||
'Contract' => 'Smlouva',
|
||||
'ContractTypes' => '',
|
||||
'Contracts' => 'Smlouvy',
|
||||
'Costs' => '',
|
||||
'Description' => '',
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@ return ['ContractManagement' => [
|
|||
'Account' => '',
|
||||
'AutoRenewal' => '',
|
||||
'Contract' => 'Kontrakt',
|
||||
'ContractTypes' => '',
|
||||
'Contracts' => 'Kontrakter',
|
||||
'Costs' => '',
|
||||
'Description' => '',
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@ return ['ContractManagement' => [
|
|||
'Account' => 'Account',
|
||||
'AutoRenewal' => 'Automatische Verlängerung',
|
||||
'Contract' => 'Vertrag',
|
||||
'ContractTypes' => 'Vertragstypen',
|
||||
'Contracts' => 'Verträge',
|
||||
'Costs' => 'Kosten',
|
||||
'Description' => 'Beschreibung',
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@ return ['ContractManagement' => [
|
|||
'Account' => '',
|
||||
'AutoRenewal' => '',
|
||||
'Contract' => 'Σύμβαση',
|
||||
'ContractTypes' => '',
|
||||
'Contracts' => 'Συμβάσεις',
|
||||
'Costs' => '',
|
||||
'Description' => '',
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@ return ['ContractManagement' => [
|
|||
'Account' => 'Account',
|
||||
'AutoRenewal' => 'Auto Renewal',
|
||||
'Contract' => 'Contract',
|
||||
'ContractTypes' => 'Contract Types',
|
||||
'Contracts' => 'Contracts',
|
||||
'Costs' => 'Costs',
|
||||
'Description' => 'Description',
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@ return ['ContractManagement' => [
|
|||
'Account' => '',
|
||||
'AutoRenewal' => '',
|
||||
'Contract' => 'Contrato',
|
||||
'ContractTypes' => '',
|
||||
'Contracts' => 'Contrato',
|
||||
'Costs' => '',
|
||||
'Description' => '',
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@ return ['ContractManagement' => [
|
|||
'Account' => '',
|
||||
'AutoRenewal' => '',
|
||||
'Contract' => 'Sopimus',
|
||||
'ContractTypes' => '',
|
||||
'Contracts' => 'Sopimukset',
|
||||
'Costs' => '',
|
||||
'Description' => '',
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@ return ['ContractManagement' => [
|
|||
'Account' => '',
|
||||
'AutoRenewal' => '',
|
||||
'Contract' => 'Contracter',
|
||||
'ContractTypes' => '',
|
||||
'Contracts' => 'Contrats',
|
||||
'Costs' => '',
|
||||
'Description' => '',
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@ return ['ContractManagement' => [
|
|||
'Account' => '',
|
||||
'AutoRenewal' => '',
|
||||
'Contract' => 'Szerződés',
|
||||
'ContractTypes' => '',
|
||||
'Contracts' => 'Szerződések',
|
||||
'Costs' => '',
|
||||
'Description' => '',
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@ return ['ContractManagement' => [
|
|||
'Account' => '',
|
||||
'AutoRenewal' => '',
|
||||
'Contract' => 'Contrarre',
|
||||
'ContractTypes' => '',
|
||||
'Contracts' => 'Contratti',
|
||||
'Costs' => '',
|
||||
'Description' => '',
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@ return ['ContractManagement' => [
|
|||
'Account' => '',
|
||||
'AutoRenewal' => '',
|
||||
'Contract' => '契約',
|
||||
'ContractTypes' => '',
|
||||
'Contracts' => '契約',
|
||||
'Costs' => '',
|
||||
'Description' => '',
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@ return ['ContractManagement' => [
|
|||
'Account' => '',
|
||||
'AutoRenewal' => '',
|
||||
'Contract' => '계약',
|
||||
'ContractTypes' => '',
|
||||
'Contracts' => '계약서',
|
||||
'Costs' => '',
|
||||
'Description' => '',
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@ return ['ContractManagement' => [
|
|||
'Account' => '',
|
||||
'AutoRenewal' => '',
|
||||
'Contract' => 'Kontrakt',
|
||||
'ContractTypes' => '',
|
||||
'Contracts' => 'Kontrakter',
|
||||
'Costs' => '',
|
||||
'Description' => '',
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@ return ['ContractManagement' => [
|
|||
'Account' => '',
|
||||
'AutoRenewal' => '',
|
||||
'Contract' => 'Kontrakt',
|
||||
'ContractTypes' => '',
|
||||
'Contracts' => 'Kontrakty',
|
||||
'Costs' => '',
|
||||
'Description' => '',
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@ return ['ContractManagement' => [
|
|||
'Account' => '',
|
||||
'AutoRenewal' => '',
|
||||
'Contract' => 'Contrato',
|
||||
'ContractTypes' => '',
|
||||
'Contracts' => 'Contratos',
|
||||
'Costs' => '',
|
||||
'Description' => '',
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@ return ['ContractManagement' => [
|
|||
'Account' => '',
|
||||
'AutoRenewal' => '',
|
||||
'Contract' => 'Договор',
|
||||
'ContractTypes' => '',
|
||||
'Contracts' => 'Контракты',
|
||||
'Costs' => '',
|
||||
'Description' => '',
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@ return ['ContractManagement' => [
|
|||
'Account' => '',
|
||||
'AutoRenewal' => '',
|
||||
'Contract' => 'Avtal',
|
||||
'ContractTypes' => '',
|
||||
'Contracts' => 'Kontrakt',
|
||||
'Costs' => '',
|
||||
'Description' => '',
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@ return ['ContractManagement' => [
|
|||
'Account' => '',
|
||||
'AutoRenewal' => '',
|
||||
'Contract' => 'สัญญา',
|
||||
'ContractTypes' => '',
|
||||
'Contracts' => 'สัญญา',
|
||||
'Costs' => '',
|
||||
'Description' => '',
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@ return ['ContractManagement' => [
|
|||
'Account' => '',
|
||||
'AutoRenewal' => '',
|
||||
'Contract' => 'Sözleşme',
|
||||
'ContractTypes' => '',
|
||||
'Contracts' => 'Sözleşme',
|
||||
'Costs' => '',
|
||||
'Description' => '',
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@ return ['ContractManagement' => [
|
|||
'Account' => '',
|
||||
'AutoRenewal' => '',
|
||||
'Contract' => 'Договір',
|
||||
'ContractTypes' => '',
|
||||
'Contracts' => 'Контракти',
|
||||
'Costs' => '',
|
||||
'Description' => '',
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@ return ['ContractManagement' => [
|
|||
'Account' => '',
|
||||
'AutoRenewal' => '',
|
||||
'Contract' => '合同',
|
||||
'ContractTypes' => '',
|
||||
'Contracts' => '合同',
|
||||
'Costs' => '',
|
||||
'Description' => '',
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user