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 "null": false
}, },
"contractmgmt_attr_type_required": { "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", "name": "contractmgmt_attr_type_required",
"type": "TINYINT(1)", "type": "TINYINT(1)",
"null": false "null": false
}, },
"contractmgmt_attr_type_pattern": { "contractmgmt_attr_type_pattern": {
"description": "This is a regex validation pattern.", "comment": "This is a regex validation pattern.",
"name": "contractmgmt_attr_type_pattern", "name": "contractmgmt_attr_type_pattern",
"type": "VARCHAR(255)", "type": "VARCHAR(255)",
"null": false "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', 'End' => 'Ende',
'Files' => 'Dateien', 'Files' => 'Dateien',
'Name' => 'Name', 'Name' => 'Name',
'ContractType' => 'Vertragsart', 'ContractType' => 'Vertragsart',
'Overview' => 'Übersicht', 'Overview' => 'Übersicht',
'Parties' => 'Parteien', 'Parties' => 'Parteien',
'Start' => 'Start', 'Start' => 'Start',

View File

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

View File

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

View File

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