bug fixes and item management improvements

This commit is contained in:
Dennis Eichhorn 2023-05-24 18:11:37 +00:00
parent 922c738951
commit 833cc7abe6
3 changed files with 159 additions and 1 deletions

View File

@ -0,0 +1,114 @@
[
{
"type": "type",
"name": "contract",
"l11n": [
{
"title": "Contract",
"lang": "en"
},
{
"title": "Vertrag",
"lang": "de"
}
]
},
{
"type": "type",
"name": "nda",
"l11n": [
{
"title": "NDA",
"lang": "en"
},
{
"title": "NDA",
"lang": "de"
}
]
},
{
"type": "type",
"name": "receipt",
"l11n": [
{
"title": "Receipt",
"lang": "en"
},
{
"title": "Quittung",
"lang": "de"
}
]
},
{
"type": "type",
"name": "invoice",
"l11n": [
{
"title": "Invoice",
"lang": "en"
},
{
"title": "Rechnung",
"lang": "de"
}
]
},
{
"type": "type",
"name": "letter",
"l11n": [
{
"title": "Letter",
"lang": "en"
},
{
"title": "Brief",
"lang": "de"
}
]
},
{
"type": "type",
"name": "minutes",
"l11n": [
{
"title": "Minutes",
"lang": "en"
},
{
"title": "Protokoll",
"lang": "de"
}
]
},
{
"type": "type",
"name": "leasing",
"l11n": [
{
"title": "Leasing",
"lang": "en"
},
{
"title": "Leasing",
"lang": "de"
}
]
},
{
"type": "type",
"name": "insurance",
"l11n": [
{
"title": "Insurance",
"lang": "en"
},
{
"title": "Versicherung",
"lang": "de"
}
]
}
]

43
Admin/Install/Media.php Normal file
View File

@ -0,0 +1,43 @@
<?php
/**
* Karaka
*
* PHP Version 8.1
*
* @package Modules\Media\Admin\Install
* @copyright Dennis Eichhorn
* @license OMS License 2.0
* @version 1.0.0
* @link https://jingga.app
*/
declare(strict_types=1);
namespace Modules\Media\Admin\Install;
use phpOMS\Application\ApplicationAbstract;
/**
* Media class.
*
* @package Modules\Media\Admin\Install
* @license OMS License 2.0
* @link https://jingga.app
* @since 1.0.0
*/
class Media
{
/**
* Install media providing
*
* @param ApplicationAbstract $app Application
* @param string $path Module path
*
* @return void
*
* @since 1.0.0
*/
public static function install(ApplicationAbstract $app, string $path) : void
{
\Modules\Media\Admin\Installer::installExternal($app, ['path' => __DIR__ . '/Media.install.json']);
}
}

View File

@ -23,7 +23,8 @@
"Tag": "1.0.0" "Tag": "1.0.0"
}, },
"providing": { "providing": {
"Navigation": "*" "Navigation": "*",
"Media": "*"
}, },
"load": [ "load": [
{ {