registration fixes

This commit is contained in:
Dennis Eichhorn 2023-03-24 16:20:22 +01:00
parent 72b3c3c2f1
commit d796969c8c
115 changed files with 267 additions and 269 deletions

View File

@ -6,7 +6,7 @@
* *
* @package Modules\ItemManagement\Admin\Install * @package Modules\ItemManagement\Admin\Install
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */
@ -20,7 +20,7 @@ use phpOMS\Application\ApplicationAbstract;
* Media class. * Media class.
* *
* @package Modules\ItemManagement\Admin\Install * @package Modules\ItemManagement\Admin\Install
* @license OMS License 1.0 * @license OMS License 2.0
* @link https://jingga.app * @link https://jingga.app
* @since 1.0.0 * @since 1.0.0
*/ */

View File

@ -19,7 +19,7 @@
"type": 2, "type": 2,
"subtype": 1, "subtype": 1,
"name": "Attributes", "name": "Attributes",
"uri": "{/lang}/{/app}/item/attribute/type/list?{?}", "uri": "{/base}/item/attribute/type/list?{?}",
"target": "self", "target": "self",
"icon": null, "icon": null,
"order": 5, "order": 5,
@ -33,7 +33,7 @@
"type": 3, "type": 3,
"subtype": 1, "subtype": 1,
"name": "Types", "name": "Types",
"uri": "{/lang}/{/app}/item/attribute/type/list?{?}", "uri": "{/base}/item/attribute/type/list?{?}",
"target": "self", "target": "self",
"icon": null, "icon": null,
"order": 5, "order": 5,
@ -48,7 +48,7 @@
"type": 3, "type": 3,
"subtype": 1, "subtype": 1,
"name": "Values", "name": "Values",
"uri": "{/lang}/{/app}/item/attribute/value/list?{?}", "uri": "{/base}/item/attribute/value/list?{?}",
"target": "self", "target": "self",
"icon": null, "icon": null,
"order": 10, "order": 10,
@ -65,7 +65,7 @@
"type": 2, "type": 2,
"subtype": 1, "subtype": 1,
"name": "Items", "name": "Items",
"uri": "{/lang}/{/app}/item/list", "uri": "{/base}/item/list",
"target": "self", "target": "self",
"icon": null, "icon": null,
"order": 10, "order": 10,
@ -79,7 +79,7 @@
"type": 3, "type": 3,
"subtype": 1, "subtype": 1,
"name": "List", "name": "List",
"uri": "{/lang}/{/app}/item/list", "uri": "{/base}/item/list",
"target": "self", "target": "self",
"icon": null, "icon": null,
"order": 1, "order": 1,
@ -93,7 +93,7 @@
"type": 3, "type": 3,
"subtype": 1, "subtype": 1,
"name": "Item", "name": "Item",
"uri": "{/lang}/{/app}/item/profile?{?}", "uri": "{/base}/item/profile?{?}",
"target": "self", "target": "self",
"icon": null, "icon": null,
"order": 1, "order": 1,
@ -110,7 +110,7 @@
"type": 3, "type": 3,
"subtype": 1, "subtype": 1,
"name": "Create", "name": "Create",
"uri": "{/lang}/{/app}/item/create?{?}", "uri": "{/base}/item/create?{?}",
"target": "self", "target": "self",
"icon": null, "icon": null,
"order": 5, "order": 5,
@ -129,7 +129,7 @@
"type": 2, "type": 2,
"subtype": 1, "subtype": 1,
"name": "Items", "name": "Items",
"uri": "{/lang}/{/app}/sales/item/list", "uri": "{/base}/sales/item/list",
"target": "self", "target": "self",
"icon": null, "icon": null,
"order": 10, "order": 10,
@ -143,7 +143,7 @@
"type": 3, "type": 3,
"subtype": 1, "subtype": 1,
"name": "List", "name": "List",
"uri": "{/lang}/{/app}/sales/item/list", "uri": "{/base}/sales/item/list",
"target": "self", "target": "self",
"icon": null, "icon": null,
"order": 1, "order": 1,
@ -157,7 +157,7 @@
"type": 3, "type": 3,
"subtype": 1, "subtype": 1,
"name": "Item", "name": "Item",
"uri": "{/lang}/{/app}/sales/item/single?{?}", "uri": "{/base}/sales/item/single?{?}",
"target": "self", "target": "self",
"icon": null, "icon": null,
"order": 1, "order": 1,
@ -174,7 +174,7 @@
"type": 3, "type": 3,
"subtype": 1, "subtype": 1,
"name": "Create", "name": "Create",
"uri": "{/lang}/{/app}/sales/item/create?{?}", "uri": "{/base}/sales/item/create?{?}",
"target": "self", "target": "self",
"icon": null, "icon": null,
"order": 5, "order": 5,
@ -191,7 +191,7 @@
"type": 2, "type": 2,
"subtype": 1, "subtype": 1,
"name": "Items", "name": "Items",
"uri": "{/lang}/{/app}/purchase/item/list", "uri": "{/base}/purchase/item/list",
"target": "self", "target": "self",
"icon": null, "icon": null,
"order": 10, "order": 10,
@ -205,7 +205,7 @@
"type": 3, "type": 3,
"subtype": 1, "subtype": 1,
"name": "List", "name": "List",
"uri": "{/lang}/{/app}/purchase/item/list", "uri": "{/base}/purchase/item/list",
"target": "self", "target": "self",
"icon": null, "icon": null,
"order": 1, "order": 1,
@ -219,7 +219,7 @@
"type": 3, "type": 3,
"subtype": 1, "subtype": 1,
"name": "Item", "name": "Item",
"uri": "{/lang}/{/app}/purchase/item/single?{?}", "uri": "{/base}/purchase/item/single?{?}",
"target": "self", "target": "self",
"icon": null, "icon": null,
"order": 1, "order": 1,
@ -236,7 +236,7 @@
"type": 3, "type": 3,
"subtype": 1, "subtype": 1,
"name": "Create", "name": "Create",
"uri": "{/lang}/{/app}/purchase/item/create?{?}", "uri": "{/base}/purchase/item/create?{?}",
"target": "self", "target": "self",
"icon": null, "icon": null,
"order": 5, "order": 5,
@ -253,7 +253,7 @@
"type": 2, "type": 2,
"subtype": 1, "subtype": 1,
"name": "Items", "name": "Items",
"uri": "{/lang}/{/app}/warehouse/item/list", "uri": "{/base}/warehouse/item/list",
"target": "self", "target": "self",
"icon": null, "icon": null,
"order": 10, "order": 10,
@ -267,7 +267,7 @@
"type": 3, "type": 3,
"subtype": 1, "subtype": 1,
"name": "List", "name": "List",
"uri": "{/lang}/{/app}/warehouse/item/list", "uri": "{/base}/warehouse/item/list",
"target": "self", "target": "self",
"icon": null, "icon": null,
"order": 1, "order": 1,
@ -281,7 +281,7 @@
"type": 3, "type": 3,
"subtype": 1, "subtype": 1,
"name": "Item", "name": "Item",
"uri": "{/lang}/{/app}/warehouse/item/single?{?}", "uri": "{/base}/warehouse/item/single?{?}",
"target": "self", "target": "self",
"icon": null, "icon": null,
"order": 1, "order": 1,
@ -298,7 +298,7 @@
"type": 3, "type": 3,
"subtype": 1, "subtype": 1,
"name": "Create", "name": "Create",
"uri": "{/lang}/{/app}/warehouse/item/create?{?}", "uri": "{/base}/warehouse/item/create?{?}",
"target": "self", "target": "self",
"icon": null, "icon": null,
"order": 5, "order": 5,
@ -315,7 +315,7 @@
"type": 2, "type": 2,
"subtype": 1, "subtype": 1,
"name": "Items", "name": "Items",
"uri": "{/lang}/{/app}/production/item/list", "uri": "{/base}/production/item/list",
"target": "self", "target": "self",
"icon": null, "icon": null,
"order": 5, "order": 5,
@ -329,7 +329,7 @@
"type": 3, "type": 3,
"subtype": 1, "subtype": 1,
"name": "List", "name": "List",
"uri": "{/lang}/{/app}/production/item/list", "uri": "{/base}/production/item/list",
"target": "self", "target": "self",
"icon": null, "icon": null,
"order": 1, "order": 1,
@ -343,7 +343,7 @@
"type": 3, "type": 3,
"subtype": 1, "subtype": 1,
"name": "Item", "name": "Item",
"uri": "{/lang}/{/app}/production/item/single?{?}", "uri": "{/base}/production/item/single?{?}",
"target": "self", "target": "self",
"icon": null, "icon": null,
"order": 1, "order": 1,
@ -360,7 +360,7 @@
"type": 3, "type": 3,
"subtype": 1, "subtype": 1,
"name": "Create", "name": "Create",
"uri": "{/lang}/{/app}/production/item/create?{?}", "uri": "{/base}/production/item/create?{?}",
"target": "self", "target": "self",
"icon": null, "icon": null,
"order": 5, "order": 5,
@ -377,7 +377,7 @@
"type": 3, "type": 3,
"subtype": 1, "subtype": 1,
"name": "Item", "name": "Item",
"uri": "{/lang}/{/app}/sales/analysis/item", "uri": "{/base}/sales/analysis/item",
"target": "self", "target": "self",
"icon": null, "icon": null,
"order": 10, "order": 10,
@ -392,7 +392,7 @@
"type": 3, "type": 3,
"subtype": 1, "subtype": 1,
"name": "Item", "name": "Item",
"uri": "{/lang}/{/app}/purchase/analysis/item", "uri": "{/base}/purchase/analysis/item",
"target": "self", "target": "self",
"icon": null, "icon": null,
"order": 10, "order": 10,

View File

@ -6,7 +6,7 @@
* *
* @package Modules\ItemManagement\Admin\Install * @package Modules\ItemManagement\Admin\Install
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */
@ -20,7 +20,7 @@ use phpOMS\Application\ApplicationAbstract;
* Navigation class. * Navigation class.
* *
* @package Modules\ItemManagement\Admin\Install * @package Modules\ItemManagement\Admin\Install
* @license OMS License 1.0 * @license OMS License 2.0
* @link https://jingga.app * @link https://jingga.app
* @since 1.0.0 * @since 1.0.0
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\ItemManagement\Admin * @package Modules\ItemManagement\Admin
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */
@ -29,7 +29,7 @@ use phpOMS\Uri\HttpUri;
* Installer class. * Installer class.
* *
* @package Modules\ItemManagement\Admin * @package Modules\ItemManagement\Admin
* @license OMS License 1.0 * @license OMS License 2.0
* @link https://jingga.app * @link https://jingga.app
* @since 1.0.0 * @since 1.0.0
*/ */
@ -56,6 +56,7 @@ final class Installer extends InstallerAbstract
return; return;
} }
/** @var array $attributes */
$attributes = \json_decode($fileContent, true); $attributes = \json_decode($fileContent, true);
$attrTypes = self::createItemAttributeTypes($app, $attributes); $attrTypes = self::createItemAttributeTypes($app, $attributes);
$attrValues = self::createItemAttributeValues($app, $attrTypes, $attributes); $attrValues = self::createItemAttributeValues($app, $attrTypes, $attributes);
@ -66,6 +67,7 @@ final class Installer extends InstallerAbstract
return; return;
} }
/** @var array $localizations */
$localizations = \json_decode($fileContent, true); $localizations = \json_decode($fileContent, true);
$l11nTypes = self::createItemL11nTypes($app, $localizations); $l11nTypes = self::createItemL11nTypes($app, $localizations);
@ -75,6 +77,7 @@ final class Installer extends InstallerAbstract
return; return;
} }
/** @var array $relations */
$relations = \json_decode($fileContent, true); $relations = \json_decode($fileContent, true);
$l11nTypes = self::createItemRelationTypes($app, $relations); $l11nTypes = self::createItemRelationTypes($app, $relations);
@ -84,6 +87,7 @@ final class Installer extends InstallerAbstract
return; return;
} }
/** @var array $items */
$items = \json_decode($fileContent, true); $items = \json_decode($fileContent, true);
$itemArray = self::createItems($app, $items); $itemArray = self::createItems($app, $items);
} }

View File

@ -6,7 +6,7 @@
* *
* @package Modules * @package Modules
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules * @package Modules
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\ItemManagement\Admin * @package Modules\ItemManagement\Admin
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */
@ -20,7 +20,7 @@ use phpOMS\Module\StatusAbstract;
* Status class. * Status class.
* *
* @package Modules\ItemManagement\Admin * @package Modules\ItemManagement\Admin
* @license OMS License 1.0 * @license OMS License 2.0
* @link https://jingga.app * @link https://jingga.app
* @since 1.0.0 * @since 1.0.0
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\ItemManagement\Admin * @package Modules\ItemManagement\Admin
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */
@ -20,7 +20,7 @@ use phpOMS\Module\UninstallerAbstract;
* Uninstaller class. * Uninstaller class.
* *
* @package Modules\ItemManagement\Admin * @package Modules\ItemManagement\Admin
* @license OMS License 1.0 * @license OMS License 2.0
* @link https://jingga.app * @link https://jingga.app
* @since 1.0.0 * @since 1.0.0
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\ItemManagement\Admin * @package Modules\ItemManagement\Admin
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */
@ -20,7 +20,7 @@ use phpOMS\Module\UpdaterAbstract;
* Updater class. * Updater class.
* *
* @package Modules\ItemManagement\Admin * @package Modules\ItemManagement\Admin
* @license OMS License 1.0 * @license OMS License 2.0
* @link https://jingga.app * @link https://jingga.app
* @since 1.0.0 * @since 1.0.0
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\ItemManagement * @package Modules\ItemManagement
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */
@ -62,7 +62,7 @@ use phpOMS\Uri\HttpUri;
* ItemManagement class. * ItemManagement class.
* *
* @package Modules\ItemManagement * @package Modules\ItemManagement
* @license OMS License 1.0 * @license OMS License 2.0
* @link https://jingga.app * @link https://jingga.app
* @since 1.0.0 * @since 1.0.0
*/ */
@ -87,7 +87,7 @@ final class ApiController extends Controller
->with('type') ->with('type')
->where('type/title', ['name1', 'name2', 'name3'], 'IN') ->where('type/title', ['name1', 'name2', 'name3'], 'IN')
->where('language', $request->getLanguage()) ->where('language', $request->getLanguage())
->where('description', '%' . ($request->getData('search') ?? '') . '%', 'LIKE') ->where('description', '%' . ($request->getDataString('search') ?? '') . '%', 'LIKE')
->execute(); ->execute();
$items = []; $items = [];
@ -172,13 +172,13 @@ final class ApiController extends Controller
if ($this->app->moduleManager->isActive('Billing')) { if ($this->app->moduleManager->isActive('Billing')) {
$billing = $this->app->moduleManager->get('Billing'); $billing = $this->app->moduleManager->get('Billing');
$internalRequest = new HttpRequest(new HttpUri('')); $internalRequest = new HttpRequest(new HttpUri(''));
$internalResponse = new HttpResponse(); $internalResponse = new HttpResponse();
$internalRequest->header->account = $request->header->account; $internalRequest->header->account = $request->header->account;
$internalRequest->setData('name', 'base_price'); $internalRequest->setData('name', 'base_price');
$internalRequest->setData('item', $item->getId()); $internalRequest->setData('item', $item->getId());
$internalRequest->setData('price', $request->getData('salesprice', 'int') ?? 0); $internalRequest->setData('price', $request->getDataInt('salesprice') ?? 0);
$billing->apiPriceCreate($internalRequest, $internalResponse); $billing->apiPriceCreate($internalRequest, $internalResponse);
} }
@ -265,13 +265,13 @@ final class ApiController extends Controller
private function createItemFromRequest(RequestAbstract $request) : Item private function createItemFromRequest(RequestAbstract $request) : Item
{ {
$item = new Item(); $item = new Item();
$item->number = (string) ($request->getData('number') ?? ''); $item->number = $request->getDataString('number') ?? '';
$item->salesPrice = new Money($request->getData('salesprice', 'int') ?? 0); $item->salesPrice = new Money($request->getDataInt('salesprice') ?? 0);
$item->purchasePrice = new Money($request->getData('purchaseprice', 'int') ?? 0); $item->purchasePrice = new Money($request->getDataInt('purchaseprice') ?? 0);
$item->info = (string) ($request->getData('info') ?? ''); $item->info = $request->getDataString('info') ?? '';
$item->parent = $request->getData('parent', 'int'); $item->parent = $request->getDataInt('parent');
$item->unit = $request->getData('unit', 'int'); $item->unit = $request->getDataInt('unit');
$item->setStatus((int) ($request->getData('status') ?? ItemStatus::ACTIVE)); $item->setStatus($request->getDataInt('status') ?? ItemStatus::ACTIVE);
return $item; return $item;
} }
@ -334,24 +334,17 @@ final class ApiController extends Controller
private function createItemPriceFromRequest(RequestAbstract $request) : ItemPrice private function createItemPriceFromRequest(RequestAbstract $request) : ItemPrice
{ {
$item = new ItemPrice(); $item = new ItemPrice();
$item->currency = (string) ($request->getData('currency') ?? ''); $item->currency = $request->getDataString('currency') ?? '';
$item->price = new Money($request->getData('price', 'int') ?? 0); $item->price = new Money($request->getDataInt('price') ?? 0);
$item->minQuantity = (int) ($request->getData('minquantity') ?? 0); $item->minQuantity = $request->getDataInt('minquantity') ?? 0;
$item->relativeDiscount = (int) ($request->getData('relativediscount') ?? 0); $item->relativeDiscount = $request->getDataInt('relativediscount') ?? 0;
$item->absoluteDiscount = (int) ($request->getData('absolutediscount') ?? 0); $item->absoluteDiscount = $request->getDataInt('absolutediscount') ?? 0;
$item->relativeUnitDiscount = (int) ($request->getData('relativeunitdiscount') ?? 0); $item->relativeUnitDiscount = $request->getDataInt('relativeunitdiscount') ?? 0;
$item->absoluteUnitDiscount = (int) ($request->getData('absoluteunitdiscount') ?? 0); $item->absoluteUnitDiscount = $request->getDataInt('absoluteunitdiscount') ?? 0;
$item->promocode = (string) ($request->getData('promocode') ?? ''); $item->promocode = $request->getDataString('promocode') ?? '';
$item->start = $request->getDataDateTime('start');
$item->setStatus((int) ($request->getData('status') ?? ItemPriceStatus::ACTIVE)); $item->end = $request->getDataDateTime('end');
$item->setStatus($request->getDataInt('status') ?? ItemPriceStatus::ACTIVE);
$item->start = ($request->getData('start') === null)
? null
: new \DateTime($request->getData('start'));
$item->end = ($request->getData('end') === null)
? null
: new \DateTime($request->getData('end'));
return $item; return $item;
} }
@ -420,7 +413,7 @@ final class ApiController extends Controller
$attribute->item = (int) $request->getData('item'); $attribute->item = (int) $request->getData('item');
$attribute->type = new NullItemAttributeType((int) $request->getData('type')); $attribute->type = new NullItemAttributeType((int) $request->getData('type'));
if ($request->getData('value') !== null) { if ($request->hasData('value')) {
$attribute->value = new NullItemAttributeValue((int) $request->getData('value')); $attribute->value = new NullItemAttributeValue((int) $request->getData('value'));
} else { } else {
$newRequest = clone $request; $newRequest = clone $request;
@ -495,11 +488,11 @@ final class ApiController extends Controller
private function createItemAttributeTypeL11nFromRequest(RequestAbstract $request) : BaseStringL11n private function createItemAttributeTypeL11nFromRequest(RequestAbstract $request) : BaseStringL11n
{ {
$attrL11n = new BaseStringL11n(); $attrL11n = new BaseStringL11n();
$attrL11n->ref = (int) ($request->getData('type') ?? 0); $attrL11n->ref = $request->getDataInt('type') ?? 0;
$attrL11n->setLanguage((string) ( $attrL11n->setLanguage(
$request->getData('language') ?? $request->getLanguage() $request->getDataString('language') ?? $request->getLanguage()
)); );
$attrL11n->content = (string) ($request->getData('title') ?? ''); $attrL11n->content = $request->getDataString('title') ?? '';
return $attrL11n; return $attrL11n;
} }
@ -564,13 +557,13 @@ final class ApiController extends Controller
*/ */
private function createItemAttributeTypeFromRequest(RequestAbstract $request) : ItemAttributeType private function createItemAttributeTypeFromRequest(RequestAbstract $request) : ItemAttributeType
{ {
$attrType = new ItemAttributeType($request->getData('name') ?? ''); $attrType = new ItemAttributeType($request->getDataString('name') ?? '');
$attrType->datatype = (int) ($request->getData('datatype') ?? 0); $attrType->datatype = $request->getDataInt('datatype') ?? 0;
$attrType->custom = (bool) ($request->getData('custom') ?? false); $attrType->custom = $request->getDataBool('custom') ?? false;
$attrType->isRequired = (bool) ($request->getData('is_required') ?? false); $attrType->isRequired = (bool) ($request->getData('is_required') ?? false);
$attrType->validationPattern = (string) ($request->getData('validation_pattern') ?? ''); $attrType->validationPattern = $request->getDataString('validation_pattern') ?? '';
$attrType->setL11n((string) ($request->getData('title') ?? ''), $request->getData('language') ?? ISO639x1Enum::_EN); $attrType->setL11n($request->getDataString('title') ?? '', $request->getDataString('language') ?? ISO639x1Enum::_EN);
$attrType->setFields((int) ($request->getData('fields') ?? 0)); $attrType->setFields($request->getDataInt('fields') ?? 0);
return $attrType; return $attrType;
} }
@ -646,15 +639,15 @@ final class ApiController extends Controller
{ {
/** @var ItemAttributeType $type */ /** @var ItemAttributeType $type */
$type = ItemAttributeTypeMapper::get() $type = ItemAttributeTypeMapper::get()
->where('id', (int) ($request->getData('type') ?? 0)) ->where('id', $request->getDataInt('type') ?? 0)
->execute(); ->execute();
$attrValue = new ItemAttributeValue(); $attrValue = new ItemAttributeValue();
$attrValue->isDefault = (bool) ($request->getData('default') ?? false); $attrValue->isDefault = $request->getDataBool('default') ?? false;
$attrValue->setValue($request->getData('value'), $type->datatype); $attrValue->setValue($request->getData('value'), $type->datatype);
if ($request->getData('title') !== null) { if ($request->hasData('title')) {
$attrValue->setL11n($request->getData('title'), $request->getData('language') ?? ISO639x1Enum::_EN); $attrValue->setL11n($request->getDataString('title') ?? '', $request->getDataString('language') ?? ISO639x1Enum::_EN);
} }
return $attrValue; return $attrValue;
@ -720,11 +713,11 @@ final class ApiController extends Controller
private function createItemAttributeValueL11nFromRequest(RequestAbstract $request) : BaseStringL11n private function createItemAttributeValueL11nFromRequest(RequestAbstract $request) : BaseStringL11n
{ {
$attrL11n = new BaseStringL11n(); $attrL11n = new BaseStringL11n();
$attrL11n->ref = (int) ($request->getData('value') ?? 0); $attrL11n->ref = $request->getDataInt('value') ?? 0;
$attrL11n->setLanguage((string) ( $attrL11n->setLanguage(
$request->getData('language') ?? $request->getLanguage() $request->getDataString('language') ?? $request->getLanguage()
)); );
$attrL11n->content = (string) ($request->getData('title') ?? ''); $attrL11n->content = $request->getDataString('title') ?? '';
return $attrL11n; return $attrL11n;
} }
@ -789,7 +782,7 @@ final class ApiController extends Controller
private function createItemL11nTypeFromRequest(RequestAbstract $request) : ItemL11nType private function createItemL11nTypeFromRequest(RequestAbstract $request) : ItemL11nType
{ {
$itemL11nType = new ItemL11nType(); $itemL11nType = new ItemL11nType();
$itemL11nType->title = (string) ($request->getData('title') ?? ''); $itemL11nType->title = $request->getDataString('title') ?? '';
$itemL11nType->isRequired = (bool) ($request->getData('is_required') ?? false); $itemL11nType->isRequired = (bool) ($request->getData('is_required') ?? false);
return $itemL11nType; return $itemL11nType;
@ -853,7 +846,7 @@ final class ApiController extends Controller
private function createItemRelationTypeFromRequest(RequestAbstract $request) : ItemRelationType private function createItemRelationTypeFromRequest(RequestAbstract $request) : ItemRelationType
{ {
$itemRelationType = new ItemRelationType(); $itemRelationType = new ItemRelationType();
$itemRelationType->title = (string) ($request->getData('title') ?? ''); $itemRelationType->title = $request->getDataString('title') ?? '';
return $itemRelationType; return $itemRelationType;
} }
@ -916,12 +909,12 @@ final class ApiController extends Controller
private function createItemL11nFromRequest(RequestAbstract $request) : ItemL11n private function createItemL11nFromRequest(RequestAbstract $request) : ItemL11n
{ {
$itemL11n = new ItemL11n(); $itemL11n = new ItemL11n();
$itemL11n->item = (int) ($request->getData('item') ?? 0); $itemL11n->item = $request->getDataInt('item') ?? 0;
$itemL11n->type = new NullItemL11nType((int) ($request->getData('type') ?? 0)); $itemL11n->type = new NullItemL11nType($request->getDataInt('type') ?? 0);
$itemL11n->setLanguage((string) ( $itemL11n->setLanguage(
$request->getData('language') ?? $request->getLanguage() $request->getDataString('language') ?? $request->getLanguage()
)); );
$itemL11n->description = (string) ($request->getData('description') ?? ''); $itemL11n->description = $request->getDataString('description') ?? '';
return $itemL11n; return $itemL11n;
} }
@ -979,6 +972,7 @@ final class ApiController extends Controller
return; return;
} }
/** @var \Modules\ItemManagement\Models\Item $item */
$item = ItemMapper::get() $item = ItemMapper::get()
->where('id', (int) $request->getData('item')) ->where('id', (int) $request->getData('item'))
->execute(); ->execute();
@ -1000,7 +994,7 @@ final class ApiController extends Controller
$this->createModelRelation( $this->createModelRelation(
$request->header->account, $request->header->account,
$file->getId(), $file->getId(),
$request->getData('type', 'int'), $request->getDataInt('type'),
MediaMapper::class, MediaMapper::class,
'types', 'types',
'', '',

View File

@ -6,7 +6,7 @@
* *
* @package Modules\ItemManagement * @package Modules\ItemManagement
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */
@ -36,7 +36,7 @@ use phpOMS\Views\View;
* ItemManagement controller class. * ItemManagement controller class.
* *
* @package Modules\ItemManagement * @package Modules\ItemManagement
* @license OMS License 1.0 * @license OMS License 2.0
* @link https://jingga.app * @link https://jingga.app
* @since 1.0.0 * @since 1.0.0
* @codeCoverageIgnore * @codeCoverageIgnore

View File

@ -6,7 +6,7 @@
* *
* @package Modules\ItemManagement * @package Modules\ItemManagement
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */
@ -20,7 +20,7 @@ use phpOMS\Module\ModuleAbstract;
* ItemManagement controller class. * ItemManagement controller class.
* *
* @package Modules\ItemManagement * @package Modules\ItemManagement
* @license OMS License 1.0 * @license OMS License 2.0
* @link https://jingga.app * @link https://jingga.app
* @since 1.0.0 * @since 1.0.0
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\ItemManagement\Models * @package Modules\ItemManagement\Models
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */
@ -20,7 +20,7 @@ use phpOMS\Stdlib\Base\Enum;
* Attribute value type enum. * Attribute value type enum.
* *
* @package Modules\ItemManagement\Models * @package Modules\ItemManagement\Models
* @license OMS License 1.0 * @license OMS License 2.0
* @link https://jingga.app * @link https://jingga.app
* @since 1.0.0 * @since 1.0.0
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\ItemManagement\Models * @package Modules\ItemManagement\Models
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */
@ -23,7 +23,7 @@ use phpOMS\Localization\Money;
* Item class. * Item class.
* *
* @package Modules\ItemManagement\Models * @package Modules\ItemManagement\Models
* @license OMS License 1.0 * @license OMS License 2.0
* @link https://jingga.app * @link https://jingga.app
* @since 1.0.0 * @since 1.0.0
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\ItemManagement\Models * @package Modules\ItemManagement\Models
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */
@ -18,7 +18,7 @@ namespace Modules\ItemManagement\Models;
* Item class. * Item class.
* *
* @package Modules\ItemManagement\Models * @package Modules\ItemManagement\Models
* @license OMS License 1.0 * @license OMS License 2.0
* @link https://jingga.app * @link https://jingga.app
* @since 1.0.0 * @since 1.0.0
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\ItemManagement\Models * @package Modules\ItemManagement\Models
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */
@ -20,7 +20,7 @@ use phpOMS\DataStorage\Database\Mapper\DataMapperFactory;
* Item mapper class. * Item mapper class.
* *
* @package Modules\ItemManagement\Models * @package Modules\ItemManagement\Models
* @license OMS License 1.0 * @license OMS License 2.0
* @link https://jingga.app * @link https://jingga.app
* @since 1.0.0 * @since 1.0.0
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\ItemManagement\Models * @package Modules\ItemManagement\Models
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */
@ -21,7 +21,7 @@ use phpOMS\Localization\ISO639x1Enum;
* Item Attribute Type class. * Item Attribute Type class.
* *
* @package Modules\ItemManagement\Models * @package Modules\ItemManagement\Models
* @license OMS License 1.0 * @license OMS License 2.0
* @link https://jingga.app * @link https://jingga.app
* @since 1.0.0 * @since 1.0.0
*/ */
@ -143,7 +143,7 @@ class ItemAttributeType implements \JsonSerializable
if ($l11n instanceof BaseStringL11n) { if ($l11n instanceof BaseStringL11n) {
$this->l11n = $l11n; $this->l11n = $l11n;
} elseif (isset($this->l11n) && $this->l11n instanceof BaseStringL11n) { } elseif (isset($this->l11n) && $this->l11n instanceof BaseStringL11n) {
$this->l11n->content = $l11n; $this->l11n->content = $l11n;
$this->l11n->setLanguage($lang); $this->l11n->setLanguage($lang);
} else { } else {
$this->l11n = new BaseStringL11n(); $this->l11n = new BaseStringL11n();

View File

@ -6,7 +6,7 @@
* *
* @package Modules\ItemManagement\Models * @package Modules\ItemManagement\Models
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */
@ -21,7 +21,7 @@ use phpOMS\Localization\BaseStringL11n;
* Item mapper class. * Item mapper class.
* *
* @package Modules\ItemManagement\Models * @package Modules\ItemManagement\Models
* @license OMS License 1.0 * @license OMS License 2.0
* @link https://jingga.app * @link https://jingga.app
* @since 1.0.0 * @since 1.0.0
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\ItemManagement\Models * @package Modules\ItemManagement\Models
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */
@ -20,7 +20,7 @@ use phpOMS\DataStorage\Database\Mapper\DataMapperFactory;
* Item mapper class. * Item mapper class.
* *
* @package Modules\ItemManagement\Models * @package Modules\ItemManagement\Models
* @license OMS License 1.0 * @license OMS License 2.0
* @link https://jingga.app * @link https://jingga.app
* @since 1.0.0 * @since 1.0.0
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\ItemManagement\Models * @package Modules\ItemManagement\Models
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */
@ -23,7 +23,7 @@ use phpOMS\Localization\ISO639x1Enum;
* The relation with the type/item is defined in the ItemAttribute class. * The relation with the type/item is defined in the ItemAttribute class.
* *
* @package Modules\ItemManagement\Models * @package Modules\ItemManagement\Models
* @license OMS License 1.0 * @license OMS License 2.0
* @link https://jingga.app * @link https://jingga.app
* @since 1.0.0 * @since 1.0.0
*/ */
@ -135,7 +135,7 @@ class ItemAttributeValue implements \JsonSerializable
if ($l11n instanceof BaseStringL11n) { if ($l11n instanceof BaseStringL11n) {
$this->l11n = $l11n; $this->l11n = $l11n;
} elseif (isset($this->l11n) && $this->l11n instanceof BaseStringL11n) { } elseif (isset($this->l11n) && $this->l11n instanceof BaseStringL11n) {
$this->l11n->content = $l11n; $this->l11n->content = $l11n;
$this->l11n->setLanguage($lang); $this->l11n->setLanguage($lang);
} else { } else {
$this->l11n = new BaseStringL11n(); $this->l11n = new BaseStringL11n();

View File

@ -6,7 +6,7 @@
* *
* @package Modules\ItemManagement\Models * @package Modules\ItemManagement\Models
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */
@ -21,7 +21,7 @@ use phpOMS\Localization\BaseStringL11n;
* Item mapper class. * Item mapper class.
* *
* @package Modules\ItemManagement\Models * @package Modules\ItemManagement\Models
* @license OMS License 1.0 * @license OMS License 2.0
* @link https://jingga.app * @link https://jingga.app
* @since 1.0.0 * @since 1.0.0
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\ItemManagement\Models * @package Modules\ItemManagement\Models
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */
@ -20,7 +20,7 @@ use phpOMS\DataStorage\Database\Mapper\DataMapperFactory;
* Item mapper class. * Item mapper class.
* *
* @package Modules\ItemManagement\Models * @package Modules\ItemManagement\Models
* @license OMS License 1.0 * @license OMS License 2.0
* @link https://jingga.app * @link https://jingga.app
* @since 1.0.0 * @since 1.0.0
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\ItemManagement\Models * @package Modules\ItemManagement\Models
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */
@ -20,7 +20,7 @@ use phpOMS\Localization\ISO639x1Enum;
* Localization of the item class. * Localization of the item class.
* *
* @package Modules\ItemManagement\Models * @package Modules\ItemManagement\Models
* @license OMS License 1.0 * @license OMS License 2.0
* @link https://jingga.app * @link https://jingga.app
* @since 1.0.0 * @since 1.0.0
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\ItemManagement\Models * @package Modules\ItemManagement\Models
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */
@ -20,7 +20,7 @@ use phpOMS\DataStorage\Database\Mapper\DataMapperFactory;
* Item mapper class. * Item mapper class.
* *
* @package Modules\ItemManagement\Models * @package Modules\ItemManagement\Models
* @license OMS License 1.0 * @license OMS License 2.0
* @link https://jingga.app * @link https://jingga.app
* @since 1.0.0 * @since 1.0.0
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\ItemManagement\Models * @package Modules\ItemManagement\Models
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */
@ -18,7 +18,7 @@ namespace Modules\ItemManagement\Models;
* Item class. * Item class.
* *
* @package Modules\ItemManagement\Models * @package Modules\ItemManagement\Models
* @license OMS License 1.0 * @license OMS License 2.0
* @link https://jingga.app * @link https://jingga.app
* @since 1.0.0 * @since 1.0.0
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\ItemManagement\Models * @package Modules\ItemManagement\Models
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */
@ -20,7 +20,7 @@ use phpOMS\DataStorage\Database\Mapper\DataMapperFactory;
* Item mapper class. * Item mapper class.
* *
* @package Modules\ItemManagement\Models * @package Modules\ItemManagement\Models
* @license OMS License 1.0 * @license OMS License 2.0
* @link https://jingga.app * @link https://jingga.app
* @since 1.0.0 * @since 1.0.0
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\ItemManagement\Models * @package Modules\ItemManagement\Models
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */
@ -22,7 +22,7 @@ use phpOMS\DataStorage\Database\Mapper\DataMapperFactory;
* Item mapper class. * Item mapper class.
* *
* @package Modules\ItemManagement\Models * @package Modules\ItemManagement\Models
* @license OMS License 1.0 * @license OMS License 2.0
* @link https://jingga.app * @link https://jingga.app
* @since 1.0.0 * @since 1.0.0
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\ItemManagement\Models * @package Modules\ItemManagement\Models
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */
@ -21,7 +21,7 @@ use phpOMS\Stdlib\Base\Exception\InvalidEnumValue;
* Account class. * Account class.
* *
* @package Modules\ItemManagement\Models * @package Modules\ItemManagement\Models
* @license OMS License 1.0 * @license OMS License 2.0
* @link https://jingga.app * @link https://jingga.app
* @since 1.0.0 * @since 1.0.0
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\ItemManagement\Models * @package Modules\ItemManagement\Models
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */
@ -20,7 +20,7 @@ use phpOMS\Stdlib\Base\Enum;
* Item status enum. * Item status enum.
* *
* @package Modules\ItemManagement\Models * @package Modules\ItemManagement\Models
* @license OMS License 1.0 * @license OMS License 2.0
* @link https://jingga.app * @link https://jingga.app
* @since 1.0.0 * @since 1.0.0
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\ItemManagement\Models * @package Modules\ItemManagement\Models
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */
@ -18,7 +18,7 @@ namespace Modules\ItemManagement\Models;
* Item relation * Item relation
* *
* @package Modules\ItemManagement\Models * @package Modules\ItemManagement\Models
* @license OMS License 1.0 * @license OMS License 2.0
* @link https://jingga.app * @link https://jingga.app
* @since 1.0.0 * @since 1.0.0
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\ItemManagement\Models * @package Modules\ItemManagement\Models
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */
@ -20,7 +20,7 @@ use phpOMS\DataStorage\Database\Mapper\DataMapperFactory;
* Item mapper class. * Item mapper class.
* *
* @package Modules\ItemManagement\Models * @package Modules\ItemManagement\Models
* @license OMS License 1.0 * @license OMS License 2.0
* @link https://jingga.app * @link https://jingga.app
* @since 1.0.0 * @since 1.0.0
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\ItemManagement\Models * @package Modules\ItemManagement\Models
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */
@ -18,7 +18,7 @@ namespace Modules\ItemManagement\Models;
* Item relation type. * Item relation type.
* *
* @package Modules\ItemManagement\Models * @package Modules\ItemManagement\Models
* @license OMS License 1.0 * @license OMS License 2.0
* @link https://jingga.app * @link https://jingga.app
* @since 1.0.0 * @since 1.0.0
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\ItemManagement\Models * @package Modules\ItemManagement\Models
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */
@ -20,7 +20,7 @@ use phpOMS\DataStorage\Database\Mapper\DataMapperFactory;
* Item mapper class. * Item mapper class.
* *
* @package Modules\ItemManagement\Models * @package Modules\ItemManagement\Models
* @license OMS License 1.0 * @license OMS License 2.0
* @link https://jingga.app * @link https://jingga.app
* @since 1.0.0 * @since 1.0.0
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\ItemManagement\Models * @package Modules\ItemManagement\Models
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */
@ -20,7 +20,7 @@ use phpOMS\Stdlib\Base\Enum;
* Item status enum. * Item status enum.
* *
* @package Modules\ItemManagement\Models * @package Modules\ItemManagement\Models
* @license OMS License 1.0 * @license OMS License 2.0
* @link https://jingga.app * @link https://jingga.app
* @since 1.0.0 * @since 1.0.0
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\ItemManagement\Models * @package Modules\ItemManagement\Models
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */
@ -18,7 +18,7 @@ namespace Modules\ItemManagement\Models;
* Null model * Null model
* *
* @package Modules\ItemManagement\Models * @package Modules\ItemManagement\Models
* @license OMS License 1.0 * @license OMS License 2.0
* @link https://jingga.app * @link https://jingga.app
* @since 1.0.0 * @since 1.0.0
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\ItemManagement\Models * @package Modules\ItemManagement\Models
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */
@ -18,7 +18,7 @@ namespace Modules\ItemManagement\Models;
* Null model * Null model
* *
* @package Modules\ItemManagement\Models * @package Modules\ItemManagement\Models
* @license OMS License 1.0 * @license OMS License 2.0
* @link https://jingga.app * @link https://jingga.app
* @since 1.0.0 * @since 1.0.0
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\ItemManagement\Models * @package Modules\ItemManagement\Models
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */
@ -18,7 +18,7 @@ namespace Modules\ItemManagement\Models;
* Null model * Null model
* *
* @package Modules\ItemManagement\Models * @package Modules\ItemManagement\Models
* @license OMS License 1.0 * @license OMS License 2.0
* @link https://jingga.app * @link https://jingga.app
* @since 1.0.0 * @since 1.0.0
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\ItemManagement\Models * @package Modules\ItemManagement\Models
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */
@ -18,7 +18,7 @@ namespace Modules\ItemManagement\Models;
* Null model * Null model
* *
* @package Modules\ItemManagement\Models * @package Modules\ItemManagement\Models
* @license OMS License 1.0 * @license OMS License 2.0
* @link https://jingga.app * @link https://jingga.app
* @since 1.0.0 * @since 1.0.0
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\ItemManagement\Models * @package Modules\ItemManagement\Models
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */
@ -18,7 +18,7 @@ namespace Modules\ItemManagement\Models;
* Null model * Null model
* *
* @package Modules\ItemManagement\Models * @package Modules\ItemManagement\Models
* @license OMS License 1.0 * @license OMS License 2.0
* @link https://jingga.app * @link https://jingga.app
* @since 1.0.0 * @since 1.0.0
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\ItemManagement\Models * @package Modules\ItemManagement\Models
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */
@ -18,7 +18,7 @@ namespace Modules\ItemManagement\Models;
* Null model * Null model
* *
* @package Modules\ItemManagement\Models * @package Modules\ItemManagement\Models
* @license OMS License 1.0 * @license OMS License 2.0
* @link https://jingga.app * @link https://jingga.app
* @since 1.0.0 * @since 1.0.0
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\ItemManagement\Models * @package Modules\ItemManagement\Models
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */
@ -18,7 +18,7 @@ namespace Modules\ItemManagement\Models;
* Null model * Null model
* *
* @package Modules\ItemManagement\Models * @package Modules\ItemManagement\Models
* @license OMS License 1.0 * @license OMS License 2.0
* @link https://jingga.app * @link https://jingga.app
* @since 1.0.0 * @since 1.0.0
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\ItemManagement\Models * @package Modules\ItemManagement\Models
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */
@ -18,7 +18,7 @@ namespace Modules\ItemManagement\Models;
* Null model * Null model
* *
* @package Modules\ItemManagement\Models * @package Modules\ItemManagement\Models
* @license OMS License 1.0 * @license OMS License 2.0
* @link https://jingga.app * @link https://jingga.app
* @since 1.0.0 * @since 1.0.0
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\ItemManagement\Models * @package Modules\ItemManagement\Models
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */
@ -20,7 +20,7 @@ use phpOMS\Stdlib\Base\Enum;
* Permision state enum. * Permision state enum.
* *
* @package Modules\ItemManagement\Models * @package Modules\ItemManagement\Models
* @license OMS License 1.0 * @license OMS License 2.0
* @link https://jingga.app * @link https://jingga.app
* @since 1.0.0 * @since 1.0.0
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Model * @package Model
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */
@ -20,7 +20,7 @@ use phpOMS\Stdlib\Base\Enum;
* Default settings enum. * Default settings enum.
* *
* @package Model * @package Model
* @license OMS License 1.0 * @license OMS License 2.0
* @link https://jingga.app * @link https://jingga.app
* @since 1.0.0 * @since 1.0.0
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\Localization * @package Modules\Localization
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\Localization * @package Modules\Localization
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\Localization * @package Modules\Localization
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\Localization * @package Modules\Localization
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\Localization * @package Modules\Localization
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\Localization * @package Modules\Localization
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\Localization * @package Modules\Localization
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\Localization * @package Modules\Localization
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\Localization * @package Modules\Localization
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\Localization * @package Modules\Localization
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\Localization * @package Modules\Localization
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\Localization * @package Modules\Localization
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\Localization * @package Modules\Localization
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\Localization * @package Modules\Localization
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\Localization * @package Modules\Localization
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\Localization * @package Modules\Localization
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\Localization * @package Modules\Localization
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\Localization * @package Modules\Localization
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\Localization * @package Modules\Localization
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\Localization * @package Modules\Localization
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\Localization * @package Modules\Localization
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\Localization * @package Modules\Localization
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\Localization * @package Modules\Localization
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\Localization * @package Modules\Localization
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\Localization * @package Modules\Localization
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\Localization * @package Modules\Localization
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\Localization * @package Modules\Localization
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\Localization * @package Modules\Localization
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\Localization * @package Modules\Localization
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\Localization * @package Modules\Localization
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\Localization * @package Modules\Localization
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\Localization * @package Modules\Localization
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\Localization * @package Modules\Localization
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\Localization * @package Modules\Localization
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\Localization * @package Modules\Localization
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\Localization * @package Modules\Localization
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\Localization * @package Modules\Localization
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\Localization * @package Modules\Localization
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\Localization * @package Modules\Localization
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\Localization * @package Modules\Localization
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\Localization * @package Modules\Localization
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\Localization * @package Modules\Localization
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\Localization * @package Modules\Localization
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\Localization * @package Modules\Localization
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\ItemManagement * @package Modules\ItemManagement
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */
@ -55,7 +55,7 @@ echo $this->getData('nav')->render(); ?>
<?php <?php
$count = 0; $count = 0;
foreach ($attributes as $key => $value) : ++$count; foreach ($attributes as $key => $value) : ++$count;
$url = UriFactory::build('{/lang}/{/app}/item/attribute/type?{?}&id=' . $value->getId()); $url = UriFactory::build('{/base}/item/attribute/type?{?}&id=' . $value->getId());
?> ?>
<tr data-href="<?= $url; ?>"> <tr data-href="<?= $url; ?>">
<td><a href="<?= $url; ?>"><?= $value->getId(); ?></a> <td><a href="<?= $url; ?>"><?= $value->getId(); ?></a>

View File

@ -6,7 +6,7 @@
* *
* @package Modules\ItemManagement * @package Modules\ItemManagement
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\ItemManagement * @package Modules\ItemManagement
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules\ItemManagement * @package Modules\ItemManagement
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */
@ -129,7 +129,7 @@ echo $this->getData('nav')->render(); ?>
<tbody> <tbody>
<?php $count = 0; foreach ($items as $key => $value) : ++$count; <?php $count = 0; foreach ($items as $key => $value) : ++$count;
$url = UriFactory::build('{/lang}/{/app}/item/profile?{?}&id=' . $value->getId()); $url = UriFactory::build('{/base}/item/profile?{?}&id=' . $value->getId());
$image = $value->getFileByTypeName('item_profile_image'); $image = $value->getFileByTypeName('item_profile_image');
?> ?>
<tr data-href="<?= $url; ?>"> <tr data-href="<?= $url; ?>">

View File

@ -6,7 +6,7 @@
* *
* @package Modules\ItemManagement * @package Modules\ItemManagement
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */
@ -173,7 +173,7 @@ echo $this->getData('nav')->render();
<td><?= $this->getHtml('CreatedAt'); ?> <td><?= $this->getHtml('CreatedAt'); ?>
<tbody> <tbody>
<?php foreach ($notes as $note) : <?php foreach ($notes as $note) :
$url = UriFactory::build('{/lang}/{/app}/editor/single?{?}&id=' . $note->getId()); $url = UriFactory::build('{/base}/editor/single?{?}&id=' . $note->getId());
?> ?>
<tr data-href="<?= $url; ?>"> <tr data-href="<?= $url; ?>">
<td><a href="<?= $url; ?>"><?= $this->printHtml($note->title); ?></a> <td><a href="<?= $url; ?>"><?= $this->printHtml($note->title); ?></a>
@ -196,7 +196,7 @@ echo $this->getData('nav')->render();
<td><?= $this->getHtml('CreatedAt'); ?> <td><?= $this->getHtml('CreatedAt'); ?>
<tbody> <tbody>
<?php foreach ($files as $file) : <?php foreach ($files as $file) :
$url = UriFactory::build('{/lang}/{/app}/media/single?{?}&id=' . $file->getId()); $url = UriFactory::build('{/base}/media/single?{?}&id=' . $file->getId());
?> ?>
<tr data-href="<?= $url; ?>"> <tr data-href="<?= $url; ?>">
<td><a href="<?= $url; ?>"><?= $this->printHtml($file->name); ?></a> <td><a href="<?= $url; ?>"><?= $this->printHtml($file->name); ?></a>
@ -226,12 +226,12 @@ echo $this->getData('nav')->render();
<?php <?php
/** @var \Modules\Billing\Models\Bill $invoice */ /** @var \Modules\Billing\Models\Bill $invoice */
foreach ($newestInvoices as $invoice) : foreach ($newestInvoices as $invoice) :
$url = UriFactory::build('{/lang}/{/app}/sales/bill?{?}&id=' . $invoice->getId()); $url = UriFactory::build('{/base}/sales/bill?{?}&id=' . $invoice->getId());
?> ?>
<tr data-href="<?= $url; ?>"> <tr data-href="<?= $url; ?>">
<td><a href="<?= $url; ?>"><?= $this->printHtml($invoice->getNumber()); ?></a> <td><a href="<?= $url; ?>"><?= $this->printHtml($invoice->getNumber()); ?></a>
<td><a href="<?= $url; ?>"><?= $this->printHtml($invoice->type->getL11n()); ?></a> <td><a href="<?= $url; ?>"><?= $this->printHtml($invoice->type->getL11n()); ?></a>
<td><a class="content" href="<?= UriFactory::build('{/lang}/{/app}/sales/client/profile?{?}&id=' . $invoice->client->getId()); ?>"><?= $this->printHtml($invoice->billTo); ?></a> <td><a class="content" href="<?= UriFactory::build('{/base}/sales/client/profile?{?}&id=' . $invoice->client->getId()); ?>"><?= $this->printHtml($invoice->billTo); ?></a>
<td><a href="<?= $url; ?>"><?= $this->printHtml($invoice->netSales->getCurrency()); ?></a> <td><a href="<?= $url; ?>"><?= $this->printHtml($invoice->netSales->getCurrency()); ?></a>
<td><a href="<?= $url; ?>"><?= $this->printHtml($invoice->createdAt->format('Y-m-d')); ?></a> <td><a href="<?= $url; ?>"><?= $this->printHtml($invoice->createdAt->format('Y-m-d')); ?></a>
<?php endforeach; ?> <?php endforeach; ?>
@ -254,7 +254,7 @@ echo $this->getData('nav')->render();
<td><?= $this->getHtml('Net'); ?> <td><?= $this->getHtml('Net'); ?>
<tbody> <tbody>
<?php $i = -1; foreach ($topCustomers as $client) : ++$i; <?php $i = -1; foreach ($topCustomers as $client) : ++$i;
$url = UriFactory::build('{/lang}/{/app}/sales/client/profile?id=' . $client->getId()); $url = UriFactory::build('{/base}/sales/client/profile?id=' . $client->getId());
?> ?>
<tr data-href="<?= $url; ?>"> <tr data-href="<?= $url; ?>">
<td><a href="<?= $url; ?>"><?= $this->printHtml($client->number); ?></a> <td><a href="<?= $url; ?>"><?= $this->printHtml($client->number); ?></a>
@ -472,7 +472,7 @@ echo $this->getData('nav')->render();
<tbody> <tbody>
<?php $c = 0; <?php $c = 0;
foreach ($itemL11n as $key => $value) : ++$c; foreach ($itemL11n as $key => $value) : ++$c;
$url = UriFactory::build('{/lang}/{/app}/admin/group/settings?{?}&id=' . $value->getId()); ?> $url = UriFactory::build('{/base}/admin/group/settings?{?}&id=' . $value->getId()); ?>
<tr data-href="<?= $url; ?>"> <tr data-href="<?= $url; ?>">
<td><a href="#"><i class="fa fa-times"></i></a> <td><a href="#"><i class="fa fa-times"></i></a>
<td><a href="<?= $url; ?>"><?= $value->getId(); ?></a> <td><a href="<?= $url; ?>"><?= $value->getId(); ?></a>
@ -550,7 +550,7 @@ echo $this->getData('nav')->render();
<tbody> <tbody>
<?php $c = 0; <?php $c = 0;
foreach ($itemAttribute as $key => $value) : ++$c; foreach ($itemAttribute as $key => $value) : ++$c;
$url = UriFactory::build('{/lang}/{/app}/admin/group/settings?{?}&id=' . $value->getId()); ?> $url = UriFactory::build('{/base}/admin/group/settings?{?}&id=' . $value->getId()); ?>
<tr data-href="<?= $url; ?>"> <tr data-href="<?= $url; ?>">
<td><a href="#"><i class="fa fa-times"></i></a> <td><a href="#"><i class="fa fa-times"></i></a>
<td><a href="<?= $url; ?>"><?= $value->getId(); ?></a> <td><a href="<?= $url; ?>"><?= $value->getId(); ?></a>
@ -632,7 +632,7 @@ echo $this->getData('nav')->render();
<?php $c = 0; <?php $c = 0;
$l11ns = []; $l11ns = [];
foreach ($l11ns as $key => $value) : ++$c; foreach ($l11ns as $key => $value) : ++$c;
$url = UriFactory::build('{/lang}/{/app}/admin/group/settings?{?}&id=' . $value->getId()); ?> $url = UriFactory::build('{/base}/admin/group/settings?{?}&id=' . $value->getId()); ?>
<tr data-href="<?= $url; ?>"> <tr data-href="<?= $url; ?>">
<td><a href="#"><i class="fa fa-times"></i></a> <td><a href="#"><i class="fa fa-times"></i></a>
<td><a href="<?= $url; ?>"><?= $value->getId(); ?></a> <td><a href="<?= $url; ?>"><?= $value->getId(); ?></a>
@ -763,7 +763,7 @@ echo $this->getData('nav')->render();
<?php $c = 0; <?php $c = 0;
$l11ns = []; $l11ns = [];
foreach ($l11ns as $key => $value) : ++$c; foreach ($l11ns as $key => $value) : ++$c;
$url = UriFactory::build('{/lang}/{/app}/admin/group/settings?{?}&id=' . $value->getId()); ?> $url = UriFactory::build('{/base}/admin/group/settings?{?}&id=' . $value->getId()); ?>
<tr data-href="<?= $url; ?>"> <tr data-href="<?= $url; ?>">
<td><a href="#"><i class="fa fa-times"></i></a> <td><a href="#"><i class="fa fa-times"></i></a>
<td><a href="<?= $url; ?>"><?= $value->getId(); ?></a> <td><a href="<?= $url; ?>"><?= $value->getId(); ?></a>
@ -934,7 +934,7 @@ echo $this->getData('nav')->render();
<?php <?php
/** @var \Modules\Billing\Models\Bill $invoice */ /** @var \Modules\Billing\Models\Bill $invoice */
foreach ($allInvoices as $invoice) : foreach ($allInvoices as $invoice) :
$url = UriFactory::build('{/lang}/{/app}/sales/bill?{?}&id=' . $invoice->getId()); $url = UriFactory::build('{/base}/sales/bill?{?}&id=' . $invoice->getId());
?> ?>
<tr data-href="<?= $url; ?>"> <tr data-href="<?= $url; ?>">
<td><a href="<?= $url; ?>"><?= $invoice->getNumber(); ?></a> <td><a href="<?= $url; ?>"><?= $invoice->getNumber(); ?></a>

View File

@ -6,7 +6,7 @@
* *
* @package Modules\ItemManagement * @package Modules\ItemManagement
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */
@ -127,14 +127,14 @@ echo $this->getData('nav')->render(); ?>
</label> </label>
<tbody> <tbody>
<?php $count = 0; foreach ($items as $key => $value) : ++$count; <?php $count = 0; foreach ($items as $key => $value) : ++$count;
$url = UriFactory::build('{/lang}/{/app}/purchase/item/profile?{?}&id=' . $value->getId()); $url = UriFactory::build('{/base}/purchase/item/profile?{?}&id=' . $value->getId());
$image = $value->getFileByType('backend_image'); $image = $value->getFileByType('backend_image');
?> ?>
<tr data-href="<?= $url; ?>"> <tr data-href="<?= $url; ?>">
<td><a href="<?= $url; ?>"><img alt="<?= $this->getHtml('IMG_alt_item'); ?>" width="30" loading="lazy" class="item-image" <td><a href="<?= $url; ?>"><img alt="<?= $this->getHtml('IMG_alt_item'); ?>" width="30" loading="lazy" class="item-image"
src="<?= $image instanceof NullMedia ? src="<?= $image instanceof NullMedia ?
UriFactory::build('Web/Backend/img/user_default_' . \mt_rand(1, 6) .'.png') : UriFactory::build('Web/Backend/img/user_default_' . \mt_rand(1, 6) .'.png') :
UriFactory::build('{/lang}/{/app}/' . $image->getPath()); ?>"></a> UriFactory::build('{/base}/' . $image->getPath()); ?>"></a>
<td><a href="<?= $url; ?>"><?= $this->printHtml($value->number); ?></a> <td><a href="<?= $url; ?>"><?= $this->printHtml($value->number); ?></a>
<td><a href="<?= $url; ?>"><?= $this->printHtml($value->getL11n('name1')->description); ?></a> <td><a href="<?= $url; ?>"><?= $this->printHtml($value->getL11n('name1')->description); ?></a>
<td><a href="<?= $url; ?>"><?= $this->printHtml($value->getL11n('name2')->description); ?></a> <td><a href="<?= $url; ?>"><?= $this->printHtml($value->getL11n('name2')->description); ?></a>

View File

@ -6,7 +6,7 @@
* *
* @package Modules\ItemManagement * @package Modules\ItemManagement
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */
@ -129,14 +129,14 @@ echo $this->getData('nav')->render(); ?>
<tbody> <tbody>
<?php $count = 0; foreach ($items as $key => $value) : ++$count; <?php $count = 0; foreach ($items as $key => $value) : ++$count;
$url = UriFactory::build('{/lang}/{/app}/sales/item/profile?{?}&id=' . $value->getId()); $url = UriFactory::build('{/base}/sales/item/profile?{?}&id=' . $value->getId());
$image = $value->getFileByTypeName('item_profile_image'); $image = $value->getFileByTypeName('item_profile_image');
?> ?>
<tr data-href="<?= $url; ?>"> <tr data-href="<?= $url; ?>">
<td><a href="<?= $url; ?>"><img alt="<?= $this->getHtml('IMG_alt_item'); ?>" width="30" loading="lazy" class="item-image" <td><a href="<?= $url; ?>"><img alt="<?= $this->getHtml('IMG_alt_item'); ?>" width="30" loading="lazy" class="item-image"
src="<?= $image instanceof NullMedia ? src="<?= $image instanceof NullMedia ?
UriFactory::build('Web/Backend/img/user_default_' . \mt_rand(1, 6) .'.png') : UriFactory::build('Web/Backend/img/user_default_' . \mt_rand(1, 6) .'.png') :
UriFactory::build('{/lang}/{/app}/' . $image->getPath()); ?>"></a> UriFactory::build('{/base}/' . $image->getPath()); ?>"></a>
<td><a href="<?= $url; ?>"><?= $this->printHtml($value->number); ?></a> <td><a href="<?= $url; ?>"><?= $this->printHtml($value->number); ?></a>
<td><a href="<?= $url; ?>"><?= $this->printHtml($value->getL11n('name1')->description); ?></a> <td><a href="<?= $url; ?>"><?= $this->printHtml($value->getL11n('name1')->description); ?></a>
<td><a href="<?= $url; ?>"><?= $this->printHtml($value->getL11n('name2')->description); ?></a> <td><a href="<?= $url; ?>"><?= $this->printHtml($value->getL11n('name2')->description); ?></a>

View File

@ -6,7 +6,7 @@
* *
* @package Modules\ItemManagement * @package Modules\ItemManagement
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */
@ -92,7 +92,7 @@ echo $this->getData('nav')->render();
<section class="portlet"> <section class="portlet">
<div class="portlet-body"> <div class="portlet-body">
<img alt="<?= $this->printHtml($image->name); ?>" width="100%" loading="lazy" class="item-image" <img alt="<?= $this->printHtml($image->name); ?>" width="100%" loading="lazy" class="item-image"
src="<?= UriFactory::build('{/lang}/{/app}/' . $image->getPath()); ?>"> src="<?= UriFactory::build('{/base}/' . $image->getPath()); ?>">
</div> </div>
</section> </section>
<?php endif; ?> <?php endif; ?>
@ -171,7 +171,7 @@ echo $this->getData('nav')->render();
<td><?= $this->getHtml('CreatedAt'); ?> <td><?= $this->getHtml('CreatedAt'); ?>
<tbody> <tbody>
<?php foreach ($notes as $note) : <?php foreach ($notes as $note) :
$url = UriFactory::build('{/lang}/{/app}/editor/single?{?}&id=' . $note->getId()); $url = UriFactory::build('{/base}/editor/single?{?}&id=' . $note->getId());
?> ?>
<tr data-href="<?= $url; ?>"> <tr data-href="<?= $url; ?>">
<td><a href="<?= $url; ?>"><?= $this->printHtml($note->title); ?></a> <td><a href="<?= $url; ?>"><?= $this->printHtml($note->title); ?></a>
@ -194,7 +194,7 @@ echo $this->getData('nav')->render();
<td><?= $this->getHtml('CreatedAt'); ?> <td><?= $this->getHtml('CreatedAt'); ?>
<tbody> <tbody>
<?php foreach ($files as $file) : <?php foreach ($files as $file) :
$url = UriFactory::build('{/lang}/{/app}/media/single?{?}&id=' . $file->getId()); $url = UriFactory::build('{/base}/media/single?{?}&id=' . $file->getId());
?> ?>
<tr data-href="<?= $url; ?>"> <tr data-href="<?= $url; ?>">
<td><a href="<?= $url; ?>"><?= $this->printHtml($file->name); ?></a> <td><a href="<?= $url; ?>"><?= $this->printHtml($file->name); ?></a>
@ -224,12 +224,12 @@ echo $this->getData('nav')->render();
<?php <?php
/** @var \Modules\Billing\Models\Bill $invoice */ /** @var \Modules\Billing\Models\Bill $invoice */
foreach ($newestInvoices as $invoice) : foreach ($newestInvoices as $invoice) :
$url = UriFactory::build('{/lang}/{/app}/sales/bill?{?}&id=' . $invoice->getId()); $url = UriFactory::build('{/base}/sales/bill?{?}&id=' . $invoice->getId());
?> ?>
<tr data-href="<?= $url; ?>"> <tr data-href="<?= $url; ?>">
<td><a href="<?= $url; ?>"><?= $this->printHtml($invoice->getNumber()); ?></a> <td><a href="<?= $url; ?>"><?= $this->printHtml($invoice->getNumber()); ?></a>
<td><a href="<?= $url; ?>"><?= $this->printHtml($invoice->type->getL11n()); ?></a> <td><a href="<?= $url; ?>"><?= $this->printHtml($invoice->type->getL11n()); ?></a>
<td><a class="content" href="<?= UriFactory::build('{/lang}/{/app}/sales/client/profile?{?}&id=' . $invoice->client->getId()); ?>"><?= $this->printHtml($invoice->billTo); ?></a> <td><a class="content" href="<?= UriFactory::build('{/base}/sales/client/profile?{?}&id=' . $invoice->client->getId()); ?>"><?= $this->printHtml($invoice->billTo); ?></a>
<td><a href="<?= $url; ?>"><?= $this->printHtml($invoice->netSales->getCurrency()); ?></a> <td><a href="<?= $url; ?>"><?= $this->printHtml($invoice->netSales->getCurrency()); ?></a>
<td><a href="<?= $url; ?>"><?= $this->printHtml($invoice->createdAt->format('Y-m-d')); ?></a> <td><a href="<?= $url; ?>"><?= $this->printHtml($invoice->createdAt->format('Y-m-d')); ?></a>
<?php endforeach; ?> <?php endforeach; ?>
@ -252,7 +252,7 @@ echo $this->getData('nav')->render();
<td><?= $this->getHtml('Net'); ?> <td><?= $this->getHtml('Net'); ?>
<tbody> <tbody>
<?php $i = -1; foreach ($topCustomers as $client) : ++$i; <?php $i = -1; foreach ($topCustomers as $client) : ++$i;
$url = UriFactory::build('{/lang}/{/app}/sales/client/profile?id=' . $client->getId()); $url = UriFactory::build('{/base}/sales/client/profile?id=' . $client->getId());
?> ?>
<tr data-href="<?= $url; ?>"> <tr data-href="<?= $url; ?>">
<td><a href="<?= $url; ?>"><?= $this->printHtml($client->number); ?></a> <td><a href="<?= $url; ?>"><?= $this->printHtml($client->number); ?></a>
@ -470,7 +470,7 @@ echo $this->getData('nav')->render();
<tbody> <tbody>
<?php $c = 0; <?php $c = 0;
foreach ($itemL11n as $key => $value) : ++$c; foreach ($itemL11n as $key => $value) : ++$c;
$url = UriFactory::build('{/lang}/{/app}/admin/group/settings?{?}&id=' . $value->getId()); ?> $url = UriFactory::build('{/base}/admin/group/settings?{?}&id=' . $value->getId()); ?>
<tr data-href="<?= $url; ?>"> <tr data-href="<?= $url; ?>">
<td><a href="#"><i class="fa fa-times"></i></a> <td><a href="#"><i class="fa fa-times"></i></a>
<td><a href="<?= $url; ?>"><?= $value->getId(); ?></a> <td><a href="<?= $url; ?>"><?= $value->getId(); ?></a>
@ -548,7 +548,7 @@ echo $this->getData('nav')->render();
<tbody> <tbody>
<?php $c = 0; <?php $c = 0;
foreach ($itemAttribute as $key => $value) : ++$c; foreach ($itemAttribute as $key => $value) : ++$c;
$url = UriFactory::build('{/lang}/{/app}/admin/group/settings?{?}&id=' . $value->getId()); ?> $url = UriFactory::build('{/base}/admin/group/settings?{?}&id=' . $value->getId()); ?>
<tr data-href="<?= $url; ?>"> <tr data-href="<?= $url; ?>">
<td><a href="#"><i class="fa fa-times"></i></a> <td><a href="#"><i class="fa fa-times"></i></a>
<td><a href="<?= $url; ?>"><?= $value->getId(); ?></a> <td><a href="<?= $url; ?>"><?= $value->getId(); ?></a>
@ -630,7 +630,7 @@ echo $this->getData('nav')->render();
<?php $c = 0; <?php $c = 0;
$l11ns = []; $l11ns = [];
foreach ($l11ns as $key => $value) : ++$c; foreach ($l11ns as $key => $value) : ++$c;
$url = UriFactory::build('{/lang}/{/app}/admin/group/settings?{?}&id=' . $value->getId()); ?> $url = UriFactory::build('{/base}/admin/group/settings?{?}&id=' . $value->getId()); ?>
<tr data-href="<?= $url; ?>"> <tr data-href="<?= $url; ?>">
<td><a href="#"><i class="fa fa-times"></i></a> <td><a href="#"><i class="fa fa-times"></i></a>
<td><a href="<?= $url; ?>"><?= $value->getId(); ?></a> <td><a href="<?= $url; ?>"><?= $value->getId(); ?></a>
@ -761,7 +761,7 @@ echo $this->getData('nav')->render();
<?php $c = 0; <?php $c = 0;
$l11ns = []; $l11ns = [];
foreach ($l11ns as $key => $value) : ++$c; foreach ($l11ns as $key => $value) : ++$c;
$url = UriFactory::build('{/lang}/{/app}/admin/group/settings?{?}&id=' . $value->getId()); ?> $url = UriFactory::build('{/base}/admin/group/settings?{?}&id=' . $value->getId()); ?>
<tr data-href="<?= $url; ?>"> <tr data-href="<?= $url; ?>">
<td><a href="#"><i class="fa fa-times"></i></a> <td><a href="#"><i class="fa fa-times"></i></a>
<td><a href="<?= $url; ?>"><?= $value->getId(); ?></a> <td><a href="<?= $url; ?>"><?= $value->getId(); ?></a>
@ -932,7 +932,7 @@ echo $this->getData('nav')->render();
<?php <?php
/** @var \Modules\Billing\Models\Bill $invoice */ /** @var \Modules\Billing\Models\Bill $invoice */
foreach ($allInvoices as $invoice) : foreach ($allInvoices as $invoice) :
$url = UriFactory::build('{/lang}/{/app}/sales/bill?{?}&id=' . $invoice->getId()); $url = UriFactory::build('{/base}/sales/bill?{?}&id=' . $invoice->getId());
?> ?>
<tr data-href="<?= $url; ?>"> <tr data-href="<?= $url; ?>">
<td><a href="<?= $url; ?>"><?= $invoice->getNumber(); ?></a> <td><a href="<?= $url; ?>"><?= $invoice->getNumber(); ?></a>

View File

@ -6,7 +6,7 @@
* *
* @package Modules\ItemManagement * @package Modules\ItemManagement
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */
@ -117,7 +117,7 @@ echo $this->getData('nav')->render(); ?>
<tbody> <tbody>
<?php $count = 0; foreach ($items as $key => $value) : ++$count; <?php $count = 0; foreach ($items as $key => $value) : ++$count;
$url = UriFactory::build('{/lang}/{/app}/item/profile?{?}&id=' . $value->getId()); $url = UriFactory::build('{/base}/item/profile?{?}&id=' . $value->getId());
$image = $value->getFileByTypeName('item_profile_image'); $image = $value->getFileByTypeName('item_profile_image');
?> ?>
<tr data-href="<?= $url; ?>"> <tr data-href="<?= $url; ?>">

View File

@ -6,7 +6,7 @@
* *
* @package tests * @package tests
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package Modules/tests * @package Modules/tests
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */
@ -20,7 +20,7 @@ namespace tests;
* Autoloader class. * Autoloader class.
* *
* @package tests * @package tests
* @license OMS License 1.0 * @license OMS License 2.0
* @link https://jingga.app * @link https://jingga.app
* @since 1.0.0 * @since 1.0.0
*/ */

View File

@ -6,7 +6,7 @@
* *
* @package tests * @package tests
* @copyright Dennis Eichhorn * @copyright Dennis Eichhorn
* @license OMS License 1.0 * @license OMS License 2.0
* @version 1.0.0 * @version 1.0.0
* @link https://jingga.app * @link https://jingga.app
*/ */

Some files were not shown because too many files have changed in this diff Show More