Test fixes
Some checks failed
Image optimization / general_image_workflow (push) Has been cancelled
CI / general_module_workflow_php (push) Has been cancelled
CI / general_module_workflow_js (push) Has been cancelled

This commit is contained in:
Dennis Eichhorn 2024-05-16 02:14:54 +00:00
parent e3dd7ba360
commit ebeae9a1c0
7 changed files with 7 additions and 12 deletions

View File

@ -254,13 +254,13 @@
"null": false
},
"contractmgmt_attr_type_required": {
"description": "Every contract must have this attribute type if set to true.",
"comment": "Every contract must have this attribute type if set to true.",
"name": "contractmgmt_attr_type_required",
"type": "TINYINT(1)",
"null": false
},
"contractmgmt_attr_type_pattern": {
"description": "This is a regex validation pattern.",
"comment": "This is a regex validation pattern.",
"name": "contractmgmt_attr_type_pattern",
"type": "VARCHAR(255)",
"null": false

View File

@ -1,5 +0,0 @@
# Structure
## ER
![ER](Modules/ContractManagement/Docs/Dev/img/er.png)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 113 KiB

View File

@ -22,7 +22,7 @@ return ['ContractManagement' => [
'End' => 'Ende',
'Files' => 'Dateien',
'Name' => 'Name',
'ContractType' => 'Vertragsart',
'ContractType' => 'Vertragsart',
'Overview' => 'Übersicht',
'Parties' => 'Parteien',
'Start' => 'Start',

View File

@ -22,7 +22,7 @@ return ['ContractManagement' => [
'End' => 'End',
'Files' => 'Files',
'Name' => 'Name',
'ContractType' => 'Contract Type',
'ContractType' => 'Contract Type',
'Overview' => 'Overview',
'Parties' => 'Parties',
'Start' => 'Start',

View File

@ -20,7 +20,7 @@ use phpOMS\Uri\UriFactory;
* @var \Modules\ContractManagement\Models\Contract $contract
*/
$contract = $this->data['contract'] ?? new NullContract();
$isNew = $contract->id === 0;
$isNew = $contract->id === 0;
echo $this->data['nav']->render(); ?>

View File

@ -2,7 +2,7 @@
"name": {
"id": 1007900000,
"internal": "ContractManagement",
"external": "ContractManagement"
"external": "Contract Management"
},
"category": "Tools",
"version": "1.0.0",
@ -12,7 +12,7 @@
},
"creator": {
"name": "Jingga",
"website": "jingga.app"
"website": "https://jingga.app"
},
"description": "ContractManagement module.",
"directory": "ContractManagement",