This commit is contained in:
Dennis Eichhorn 2023-10-09 22:06:38 +00:00
parent 794bcac6a6
commit 8782ce2805
34 changed files with 159 additions and 382 deletions

View File

@ -371,21 +371,6 @@
}
]
},
{
"id": 1004809001,
"pid": "/sales/analysis",
"type": 3,
"subtype": 1,
"name": "Item",
"uri": "{/base}/sales/analysis/item",
"target": "self",
"icon": null,
"order": 10,
"from": "ItemManagement",
"permission": { "permission": 2, "category": null, "element": null },
"parent": 1001602001,
"children": []
},
{
"id": 1004809002,
"pid": "/purchase/analysis",

View File

@ -136,7 +136,7 @@ final class Installer extends InstallerAbstract
$module->apiItemCreate($request, $response);
$responseData = $response->get('');
$responseData = $response->getData('');
if (!\is_array($responseData)) {
continue;
}
@ -174,10 +174,10 @@ final class Installer extends InstallerAbstract
$request->setData('ref', $itemId);
$request->setData('type', $attrType->id);
if ($attribute['custom'] ?? true) {
$request->setData('custom', $attribute['value']);
if ($attribute['value'] ?? true) {
$request->setData('value', $attribute['value']);
} else {
$request->setData('value', self::findAttributeIdByValue($attrType->getDefaults(), $attribute['value']));
$request->setData('value_id', self::findAttributeIdByValue($attrType->getDefaults(), $attribute['value']));
}
$module2->apiItemAttributeCreate($request, $response);
@ -239,7 +239,7 @@ final class Installer extends InstallerAbstract
$module->apiItemL11nTypeCreate($request, $response);
$responseData = $response->get('');
$responseData = $response->getData('');
if (!\is_array($responseData)) {
continue;
}
@ -279,7 +279,7 @@ final class Installer extends InstallerAbstract
$module->apiItemRelationTypeCreate($request, $response);
$responseData = $response->get('');
$responseData = $response->getData('');
if (!\is_array($responseData)) {
continue;
}
@ -326,7 +326,7 @@ final class Installer extends InstallerAbstract
$module->apiItemAttributeTypeCreate($request, $response);
$responseData = $response->get('');
$responseData = $response->getData('');
if (!\is_array($responseData)) {
continue;
}
@ -397,7 +397,7 @@ final class Installer extends InstallerAbstract
$module->apiItemAttributeValueCreate($request, $response);
$responseData = $response->get('');
$responseData = $response->getData('');
if (!\is_array($responseData)) {
continue;
}

View File

@ -186,17 +186,6 @@ return [
],
],
],
'^.*/sales/analysis/item(\?.*|$)$' => [
[
'dest' => '\Modules\ItemManagement\Controller\BackendController:viewItemSalesAnalysis',
'verb' => RouteVerb::GET,
'permission' => [
'module' => BackendController::NAME,
'type' => PermissionType::READ,
'state' => PermissionCategory::SALES_ITEM,
],
],
],
'^.*/purchase/analysis/item(\?.*|$)$' => [
[
'dest' => '\Modules\ItemManagement\Controller\BackendController:viewItemPurchaseAnalysis',

View File

@ -1,8 +1,9 @@
import { jsOMS } from '../../jsOMS/Utils/oLib.js';
import { Autoloader } from '../../jsOMS/Autoloader.js';
Autoloader.defineNamespace('jsOMS.Modules');
Autoloader.defineNamespace('omsApp.Modules');
jsOMS.Modules.ItemManagement = class {
omsApp.Modules.ItemManagement = class {
/**
* @constructor
*

View File

@ -61,7 +61,8 @@ final class ApiAttributeController extends Controller
return;
}
$attribute = $this->createAttributeFromRequest($request);
$type = ItemAttributeTypeMapper::get()->where('id', (int) $request->getData('type'))->execute();
$attribute = $this->createAttributeFromRequest($request, $type);
$this->createModel($request->header->account, $attribute, ItemAttributeMapper::class, 'attribute', $request->getOrigin());
$this->createStandardCreateResponse($request, $response, $attribute);
}

View File

@ -769,7 +769,7 @@ final class ApiController extends Controller
return;
}
$responseData = $response->get($request->uri->__toString());
$responseData = $response->getDataArray($request->uri->__toString());
if (!\is_array($responseData)) {
return;
}

View File

@ -360,8 +360,8 @@ final class BackendController extends Controller
$head = $response->data['Content']->head;
$nonce = $this->app->appSettings->getOption('script-nonce');
$head->addAsset(AssetType::CSS, 'Resources/chartjs/Chartjs/chart.css');
$head->addAsset(AssetType::JSLATE, 'Resources/chartjs/Chartjs/chart.js', ['nonce' => $nonce]);
$head->addAsset(AssetType::CSS, 'Resources/chartjs/chart.css');
$head->addAsset(AssetType::JSLATE, 'Resources/chartjs/chart.js', ['nonce' => $nonce]);
$head->addAsset(AssetType::JSLATE, 'Modules/ItemManagement/Controller.js', ['nonce' => $nonce, 'type' => 'module']);
$view = new View($this->app->l11nManager, $request, $response);
@ -587,182 +587,6 @@ final class BackendController extends Controller
return $this->viewItemManagementItem($request, $response, $data);
}
/**
* Routing end-point for application behaviour.
*
* @param RequestAbstract $request Request
* @param ResponseAbstract $response Response
* @param array $data Generic data
*
* @return RenderableInterface
*
* @since 1.0.0
* @codeCoverageIgnore
*/
public function viewItemSalesAnalysis(RequestAbstract $request, ResponseAbstract $response, array $data = []) : RenderableInterface
{
$head = $response->data['Content']->head;
$nonce = $this->app->appSettings->getOption('script-nonce');
$head->addAsset(AssetType::CSS, 'Resources/chartjs/Chartjs/chart.css');
$head->addAsset(AssetType::JSLATE, 'Resources/chartjs/Chartjs/chart.js', ['nonce' => $nonce]);
$head->addAsset(AssetType::JSLATE, 'Modules/ClientManagement/Controller.js', ['nonce' => $nonce, 'type' => 'module']);
$view = new View($this->app->l11nManager, $request, $response);
$view->setTemplate('/Modules/ItemManagement/Theme/Backend/item-analysis');
$view->data['nav'] = $this->app->moduleManager->get('Navigation')->createNavigationMid(1001602001, $request, $response);
$monthlySalesCosts = [];
for ($i = 1; $i < 13; ++$i) {
$monthlySalesCosts[] = [
'net_sales' => $sales = \mt_rand(1200000000, 2000000000),
'net_costs' => (int) ($sales * \mt_rand(25, 55) / 100),
'year' => 2020,
'month' => $i,
];
}
$view->data['monthlySalesCosts'] = $monthlySalesCosts;
/////
$monthlySalesCustomer = [];
for ($i = 1; $i < 13; ++$i) {
$monthlySalesCustomer[] = [
'net_sales' => $sales = \mt_rand(1200000000, 2000000000),
'customers' => \mt_rand(200, 400),
'year' => 2020,
'month' => $i,
];
}
$view->data['monthlySalesCustomer'] = $monthlySalesCustomer;
$annualSalesCustomer = [];
for ($i = 1; $i < 11; ++$i) {
$annualSalesCustomer[] = [
'net_sales' => $sales = \mt_rand(1200000000, 2000000000) * 12,
'customers' => \mt_rand(200, 400) * 6,
'year' => 2020 - 10 + $i,
];
}
$view->data['annualSalesCustomer'] = $annualSalesCustomer;
/////
$monthlyCustomerRetention = [];
for ($i = 1; $i < 10; ++$i) {
$monthlyCustomerRetention[] = [
'customers' => \mt_rand(200, 400),
'year' => \date('y') - 9 + $i,
];
}
$view->data['monthlyCustomerRetention'] = $monthlyCustomerRetention;
/////
$currentCustomerRegion = [
'Europe' => (int) (\mt_rand(200, 400) / 4),
'America' => (int) (\mt_rand(200, 400) / 4),
'Asia' => (int) (\mt_rand(200, 400) / 4),
'Africa' => (int) (\mt_rand(200, 400) / 4),
'CIS' => (int) (\mt_rand(200, 400) / 4),
'Other' => (int) (\mt_rand(200, 400) / 4),
];
$view->data['currentCustomerRegion'] = $currentCustomerRegion;
$annualCustomerRegion = [];
for ($i = 1; $i < 11; ++$i) {
$annualCustomerRegion[] = [
'year' => 2020 - 10 + $i,
'Europe' => $a = (int) (\mt_rand(200, 400) / 4),
'America' => $b = (int) (\mt_rand(200, 400) / 4),
'Asia' => $c = (int) (\mt_rand(200, 400) / 4),
'Africa' => $d = (int) (\mt_rand(200, 400) / 4),
'CIS' => $e = (int) (\mt_rand(200, 400) / 4),
'Other' => $f = (int) (\mt_rand(200, 400) / 4),
'Total' => $a + $b + $c + $d + $e + $f,
];
}
$view->data['annualCustomerRegion'] = $annualCustomerRegion;
/////
$currentCustomersRep = [];
for ($i = 1; $i < 13; ++$i) {
$currentCustomersRep['Rep ' . $i] = [
'customers' => (int) (\mt_rand(200, 400) / 12),
];
}
\uasort($currentCustomersRep, function($a, $b) {
return $b['customers'] <=> $a['customers'];
});
$view->data['currentCustomersRep'] = $currentCustomersRep;
$annualCustomersRep = [];
for ($i = 1; $i < 13; ++$i) {
$annualCustomersRep['Rep ' . $i] = [];
for ($j = 1; $j < 11; ++$j) {
$annualCustomersRep['Rep ' . $i][] = [
'customers' => (int) (\mt_rand(200, 400) / 12),
'year' => 2020 - 10 + $j,
];
}
}
$view->data['annualCustomersRep'] = $annualCustomersRep;
/////
$currentCustomersCountry = [];
for ($i = 1; $i < 51; ++$i) {
/** @var string $country */
$country = ISO3166NameEnum::getRandom();
$currentCustomersCountry[\substr($country, 0, 20)] = [
'customers' => (int) (\mt_rand(200, 400) / 12),
];
}
\uasort($currentCustomersCountry, function($a, $b) {
return $b['customers'] <=> $a['customers'];
});
$view->data['currentCustomersCountry'] = $currentCustomersCountry;
$annualCustomersCountry = [];
for ($i = 1; $i < 51; ++$i) {
/** @var string $countryCode */
$countryCode = ISO3166CharEnum::getRandom();
$countryName = (string) ISO3166NameEnum::getByName('_' . $countryCode);
$annualCustomersCountry[\substr($countryName, 0, 20)] = [];
for ($j = 1; $j < 11; ++$j) {
$annualCustomersCountry[\substr($countryName, 0, 20)][] = [
'customers' => (int) (\mt_rand(200, 400) / 12),
'year' => 2020 - 10 + $j,
'name' => $countryName,
'code' => $countryCode,
];
}
}
$view->data['annualCustomersCountry'] = $annualCustomersCountry;
/////
$customerGroups = [];
for ($i = 1; $i < 7; ++$i) {
$customerGroups['Group ' . $i] = [
'customers' => (int) (\mt_rand(200, 400) / 12),
];
}
$view->data['customerGroups'] = $customerGroups;
return $view;
}
/**
* Routing end-point for application behaviour.
*
@ -780,9 +604,9 @@ final class BackendController extends Controller
$head = $response->data['Content']->head;
$nonce = $this->app->appSettings->getOption('script-nonce');
$head->addAsset(AssetType::CSS, 'Resources/chartjs/Chartjs/chart.css');
$head->addAsset(AssetType::JSLATE, 'Resources/chartjs/Chartjs/chart.js', ['nonce' => $nonce]);
$head->addAsset(AssetType::JSLATE, 'Modules/ClientManagement/Controller.js', ['nonce' => $nonce, 'type' => 'module']);
$head->addAsset(AssetType::CSS, 'Resources/chartjs/chart.css');
$head->addAsset(AssetType::JSLATE, 'Resources/chartjs/chart.js', ['nonce' => $nonce]);
$head->addAsset(AssetType::JSLATE, 'Modules/Sales/Controller/Controller.js', ['nonce' => $nonce, 'type' => 'module']);
$view = new View($this->app->l11nManager, $request, $response);
$view->setTemplate('/Modules/ItemManagement/Theme/Backend/item-analysis');

View File

@ -19,6 +19,7 @@ return ['Navigation' => [
'Create' => 'Create',
'ItemManagement' => 'Item Management',
'Items' => 'Items',
'Item' => 'Item',
'List' => 'List',
'Types' => 'Types',
'Values' => 'Values',

View File

@ -14,16 +14,16 @@ declare(strict_types=1);
return ['ItemManagement' => [
'Accounting' => 'محاسبة',
'Address' => '#VALUE!',
'Address' => '',
'All' => 'الجميع',
'Article' => 'مقالة - سلعة',
'Articlegroup' => 'articlegroup.',
'Attribute' => 'يصف',
'AttributeTypes' => '#VALUE!',
'AttributeTypes' => '',
'Attributes' => 'صفات',
'Available' => 'متوفرة',
'AvgPrice' => 'avg. السعر',
'Bills' => '#VALUE!',
'Bills' => '',
'Bonus' => 'علاوة',
'ClientGroup' => 'العميل / المجموعة',
'ClientSection' => '',
@ -53,7 +53,7 @@ return ['ItemManagement' => [
'General' => 'عام',
'GrossWeight' => 'الوزن الإجمالي',
'Group' => 'مجموعة',
'Groups' => '#VALUE!',
'Groups' => '',
'Height' => 'ارتفاع',
'ID' => 'بطاقة تعريف',
'ILV' => 'ilv.',
@ -104,7 +104,7 @@ return ['ItemManagement' => [
'PriceChange' => 'تغيير الأسعار',
'PriceUnit' => 'وحدة السعر',
'Prices' => 'الأسعار.',
'Pricing' => '#VALUE!',
'Pricing' => '',
'Procurement' => '',
'Productgroup' => 'productgroup.',
'Production' => 'إنتاج',
@ -119,7 +119,7 @@ return ['ItemManagement' => [
'QM' => 'QM.',
'Quantity' => 'كمية',
'QuantityUnit' => 'وحدة الكمية',
'RecentInvoices' => '#VALUE!',
'RecentInvoices' => '',
'ReorderLevel' => 'مستوى إعادة ترتيب',
'Reserved' => 'محجوز',
'SN' => 'SN.',

View File

@ -14,16 +14,16 @@ declare(strict_types=1);
return ['ItemManagement' => [
'Accounting' => 'Účetnictví',
'Address' => '#VALUE!',
'Address' => '',
'All' => 'Všechno',
'Article' => 'Článek',
'Articlegroup' => 'Článek',
'Attribute' => 'Atribut',
'AttributeTypes' => '#VALUE!',
'AttributeTypes' => '',
'Attributes' => 'Atributy',
'Available' => 'Dostupný',
'AvgPrice' => 'AVG. Cena',
'Bills' => '#VALUE!',
'Bills' => '',
'Bonus' => 'Bonus',
'ClientGroup' => 'Klient / skupina',
'ClientSection' => '',
@ -53,7 +53,7 @@ return ['ItemManagement' => [
'General' => 'Všeobecné',
'GrossWeight' => 'Celková hmotnost',
'Group' => 'Skupina',
'Groups' => '#VALUE!',
'Groups' => '',
'Height' => 'Výška',
'ID' => 'ID.',
'ILV' => 'Ilv.',
@ -104,7 +104,7 @@ return ['ItemManagement' => [
'PriceChange' => 'Změna ceny',
'PriceUnit' => 'Jednotka ceny',
'Prices' => 'Ceny',
'Pricing' => '#VALUE!',
'Pricing' => '',
'Procurement' => '',
'Productgroup' => 'ProductSgroup.',
'Production' => 'Výroba',
@ -119,7 +119,7 @@ return ['ItemManagement' => [
'QM' => 'Qm.',
'Quantity' => 'Množství',
'QuantityUnit' => 'Jednotka množství',
'RecentInvoices' => '#VALUE!',
'RecentInvoices' => '',
'ReorderLevel' => 'Registrovat úroveň',
'Reserved' => 'Rezervováno',
'SN' => 'Sn.',

View File

@ -14,16 +14,16 @@ declare(strict_types=1);
return ['ItemManagement' => [
'Accounting' => 'Regnskab',
'Address' => '#VALUE!',
'Address' => '',
'All' => 'Alle',
'Article' => 'Artikel',
'Articlegroup' => 'ArticleGroup.',
'Attribute' => 'Attribut.',
'AttributeTypes' => '#VALUE!',
'AttributeTypes' => '',
'Attributes' => 'Egenskaber',
'Available' => 'Ledig',
'AvgPrice' => 'Avg. Pris',
'Bills' => '#VALUE!',
'Bills' => '',
'Bonus' => 'Bonus',
'ClientGroup' => 'Klient / Gruppe.',
'ClientSection' => '',
@ -53,7 +53,7 @@ return ['ItemManagement' => [
'General' => 'Generel',
'GrossWeight' => 'Bruttovægt',
'Group' => 'Gruppe',
'Groups' => '#VALUE!',
'Groups' => '',
'Height' => 'Højde',
'ID' => 'ID.',
'ILV' => 'ILV.',
@ -104,7 +104,7 @@ return ['ItemManagement' => [
'PriceChange' => 'Pris forandring',
'PriceUnit' => 'Enhed af pris.',
'Prices' => 'Priser.',
'Pricing' => '#VALUE!',
'Pricing' => '',
'Procurement' => '',
'Productgroup' => 'Produktgruppe',
'Production' => 'Produktion',
@ -119,7 +119,7 @@ return ['ItemManagement' => [
'QM' => 'Qm.',
'Quantity' => 'Antal',
'QuantityUnit' => "Mængden af \u{200b}\u{200b}mængde",
'RecentInvoices' => '#VALUE!',
'RecentInvoices' => '',
'ReorderLevel' => 'Ombestillingsniveau',
'Reserved' => 'Reserveret',
'SN' => 'Sn.',

View File

@ -104,7 +104,7 @@ return ['ItemManagement' => [
'PriceChange' => 'Preisänderung',
'PriceUnit' => 'Preiseinheit.',
'Prices' => 'Preise',
'Pricing' => '#VALUE!',
'Pricing' => '',
'Procurement' => 'Beschaffung',
'Productgroup' => 'Produktgruppe',
'Production' => 'Produktion',
@ -119,7 +119,7 @@ return ['ItemManagement' => [
'QM' => 'Qm',
'Quantity' => 'Menge',
'QuantityUnit' => 'Einheit der Menge.',
'RecentInvoices' => '#VALUE!',
'RecentInvoices' => '',
'ReorderLevel' => 'Neuordnungspegel',
'Reserved' => 'Reserviert',
'SN' => 'Sn',

View File

@ -14,16 +14,16 @@ declare(strict_types=1);
return ['ItemManagement' => [
'Accounting' => 'Λογιστική',
'Address' => '#VALUE!',
'Address' => '',
'All' => 'Ολα',
'Article' => 'Αρθρο',
'Articlegroup' => 'Ομιλία',
'Attribute' => 'Χαρακτηριστικό',
'AttributeTypes' => '#VALUE!',
'AttributeTypes' => '',
'Attributes' => 'Γνωρίσματα',
'Available' => 'Διαθέσιμος',
'AvgPrice' => 'Avg. Τιμή',
'Bills' => '#VALUE!',
'Bills' => '',
'Bonus' => 'Δώρο',
'ClientGroup' => 'Πελάτης / ομάδα',
'ClientSection' => '',
@ -53,7 +53,7 @@ return ['ItemManagement' => [
'General' => 'Γενικός',
'GrossWeight' => 'Μεικτό βάρος',
'Group' => 'Ομάδα',
'Groups' => '#VALUE!',
'Groups' => '',
'Height' => 'Υψος',
'ID' => 'ταυτότητα',
'ILV' => 'Ιλ',
@ -104,7 +104,7 @@ return ['ItemManagement' => [
'PriceChange' => 'Αλλαγή τιμών',
'PriceUnit' => 'Μονάδα τιμής',
'Prices' => 'Τιμές',
'Pricing' => '#VALUE!',
'Pricing' => '',
'Procurement' => '',
'Productgroup' => 'Ομοιόμορφη ομάδα',
'Production' => 'Παραγωγή',
@ -119,7 +119,7 @@ return ['ItemManagement' => [
'QM' => 'Qm',
'Quantity' => 'Ποσότητα',
'QuantityUnit' => 'Μονάδα ποσότητας',
'RecentInvoices' => '#VALUE!',
'RecentInvoices' => '',
'ReorderLevel' => 'Επίπεδο αναδιάταξης',
'Reserved' => 'Κατοχυρωμένα',
'SN' => 'Α',

View File

@ -14,16 +14,16 @@ declare(strict_types=1);
return ['ItemManagement' => [
'Accounting' => 'Contabilidad',
'Address' => '#VALUE!',
'Address' => '',
'All' => 'Todo',
'Article' => 'Artículo',
'Articlegroup' => 'Grupo articulo',
'Attribute' => 'Atributo',
'AttributeTypes' => '#VALUE!',
'AttributeTypes' => '',
'Attributes' => 'Atributos',
'Available' => 'Disponible',
'AvgPrice' => 'AVG. Precio',
'Bills' => '#VALUE!',
'Bills' => '',
'Bonus' => 'Prima',
'ClientGroup' => 'Cliente / Grupo',
'ClientSection' => '',
@ -53,7 +53,7 @@ return ['ItemManagement' => [
'General' => 'General',
'GrossWeight' => 'Peso bruto',
'Group' => 'Grupo',
'Groups' => '#VALUE!',
'Groups' => '',
'Height' => 'Altura',
'ID' => 'IDENTIFICACIÓN',
'ILV' => 'I LV',
@ -104,7 +104,7 @@ return ['ItemManagement' => [
'PriceChange' => 'Cambio de precio',
'PriceUnit' => 'Unidad de precio',
'Prices' => 'Precios',
'Pricing' => '#VALUE!',
'Pricing' => '',
'Procurement' => '',
'Productgroup' => 'Grupo de productos',
'Production' => 'Producción',
@ -119,7 +119,7 @@ return ['ItemManagement' => [
'QM' => 'QM',
'Quantity' => 'Cantidad',
'QuantityUnit' => 'Unidad de cantidad',
'RecentInvoices' => '#VALUE!',
'RecentInvoices' => '',
'ReorderLevel' => 'Reordenar nivel',
'Reserved' => 'Reservado',
'SN' => 'Sn',

View File

@ -14,16 +14,16 @@ declare(strict_types=1);
return ['ItemManagement' => [
'Accounting' => 'Kirjanpito',
'Address' => '#VALUE!',
'Address' => '',
'All' => 'Kaikki',
'Article' => 'Artikla',
'Articlegroup' => 'ArticleGroup',
'Attribute' => 'Attribuutti',
'AttributeTypes' => '#VALUE!',
'AttributeTypes' => '',
'Attributes' => 'Attribuutit',
'Available' => 'Saatavilla',
'AvgPrice' => 'Avg. Hinta',
'Bills' => '#VALUE!',
'Bills' => '',
'Bonus' => 'Bonus',
'ClientGroup' => 'Asiakas / ryhmä',
'ClientSection' => '',
@ -53,7 +53,7 @@ return ['ItemManagement' => [
'General' => 'Yleinen',
'GrossWeight' => 'Bruttopaino',
'Group' => 'Ryhmä',
'Groups' => '#VALUE!',
'Groups' => '',
'Height' => 'Korkeus',
'ID' => 'Id',
'ILV' => 'Ilv',
@ -104,7 +104,7 @@ return ['ItemManagement' => [
'PriceChange' => 'Hintamuutos',
'PriceUnit' => 'Hintayksikkö',
'Prices' => 'Hinnat',
'Pricing' => '#VALUE!',
'Pricing' => '',
'Procurement' => '',
'Productgroup' => 'Tuoteryhmä',
'Production' => 'Tuotanto',
@ -119,7 +119,7 @@ return ['ItemManagement' => [
'QM' => 'Qm',
'Quantity' => 'Määrä',
'QuantityUnit' => 'Määräyksikkö',
'RecentInvoices' => '#VALUE!',
'RecentInvoices' => '',
'ReorderLevel' => 'Järjestyksen taso',
'Reserved' => 'Varattu',
'SN' => 'Sn',

View File

@ -14,16 +14,16 @@ declare(strict_types=1);
return ['ItemManagement' => [
'Accounting' => 'Comptabilité',
'Address' => '#VALUE!',
'Address' => '',
'All' => 'Tout',
'Article' => 'Article',
'Articlegroup' => 'Articlegroup',
'Attribute' => 'Attribut',
'AttributeTypes' => '#VALUE!',
'AttributeTypes' => '',
'Attributes' => 'Les attributs',
'Available' => 'Disponible',
'AvgPrice' => 'Avg. Prix',
'Bills' => '#VALUE!',
'Bills' => '',
'Bonus' => 'Prime',
'ClientGroup' => 'Client / Groupe',
'ClientSection' => '',
@ -53,7 +53,7 @@ return ['ItemManagement' => [
'General' => 'Général',
'GrossWeight' => 'Poids brut',
'Group' => 'Grouper',
'Groups' => '#VALUE!',
'Groups' => '',
'Height' => 'Hauteur',
'ID' => 'identifiant',
'ILV' => 'Ilv',
@ -104,7 +104,7 @@ return ['ItemManagement' => [
'PriceChange' => 'Changement de prix',
'PriceUnit' => 'Unité de prix',
'Prices' => 'Des prix',
'Pricing' => '#VALUE!',
'Pricing' => '',
'Procurement' => '',
'Productgroup' => 'Groupe de produits',
'Production' => 'Production',
@ -119,7 +119,7 @@ return ['ItemManagement' => [
'QM' => 'Qm',
'Quantity' => 'Quantité',
'QuantityUnit' => 'Unité de quantité',
'RecentInvoices' => '#VALUE!',
'RecentInvoices' => '',
'ReorderLevel' => 'Niveau de réapprovisionnement',
'Reserved' => 'Réservé',
'SN' => 'Sn',

View File

@ -14,16 +14,16 @@ declare(strict_types=1);
return ['ItemManagement' => [
'Accounting' => 'Könyvelés',
'Address' => '#VALUE!',
'Address' => '',
'All' => 'Minden',
'Article' => 'Cikk',
'Articlegroup' => 'Gyerekcsoport',
'Attribute' => 'Tulajdonság',
'AttributeTypes' => '#VALUE!',
'AttributeTypes' => '',
'Attributes' => 'Tulajdonságok',
'Available' => 'Elérhető',
'AvgPrice' => 'AVG. Ár',
'Bills' => '#VALUE!',
'Bills' => '',
'Bonus' => 'Bónusz',
'ClientGroup' => 'Ügyfél / csoport',
'ClientSection' => '',
@ -53,7 +53,7 @@ return ['ItemManagement' => [
'General' => 'Tábornok',
'GrossWeight' => 'Bruttó súly',
'Group' => 'Csoport',
'Groups' => '#VALUE!',
'Groups' => '',
'Height' => 'Magasság',
'ID' => 'Idézés',
'ILV' => 'ILV',
@ -104,7 +104,7 @@ return ['ItemManagement' => [
'PriceChange' => 'Árváltozás',
'PriceUnit' => 'Áregység',
'Prices' => 'Árak',
'Pricing' => '#VALUE!',
'Pricing' => '',
'Procurement' => '',
'Productgroup' => 'Termékcsoport',
'Production' => 'Termelés',
@ -119,7 +119,7 @@ return ['ItemManagement' => [
'QM' => 'Qm',
'Quantity' => 'Mennyiség',
'QuantityUnit' => 'Mennyiségegység',
'RecentInvoices' => '#VALUE!',
'RecentInvoices' => '',
'ReorderLevel' => 'Átrendezési szint',
'Reserved' => 'Fenntartott',
'SN' => 'Sn',

View File

@ -14,16 +14,16 @@ declare(strict_types=1);
return ['ItemManagement' => [
'Accounting' => 'Contabilità',
'Address' => '#VALUE!',
'Address' => '',
'All' => 'Tutto',
'Article' => 'Articolo',
'Articlegroup' => 'Art.group.',
'Attribute' => 'Attributo',
'AttributeTypes' => '#VALUE!',
'AttributeTypes' => '',
'Attributes' => 'Attributi',
'Available' => 'A disposizione',
'AvgPrice' => 'Avg. Prezzo',
'Bills' => '#VALUE!',
'Bills' => '',
'Bonus' => 'Bonus.',
'ClientGroup' => 'Client / Group.',
'ClientSection' => '',
@ -53,7 +53,7 @@ return ['ItemManagement' => [
'General' => 'Generale',
'GrossWeight' => 'Peso lordo',
'Group' => 'Gruppo',
'Groups' => '#VALUE!',
'Groups' => '',
'Height' => 'Altezza',
'ID' => 'ID',
'ILV' => 'Ilv.',
@ -104,7 +104,7 @@ return ['ItemManagement' => [
'PriceChange' => 'Cambio di prezzo',
'PriceUnit' => 'Unità di prezzo.',
'Prices' => 'Prezzi',
'Pricing' => '#VALUE!',
'Pricing' => '',
'Procurement' => '',
'Productgroup' => 'Gruppo di prodotti',
'Production' => 'Produzione',
@ -119,7 +119,7 @@ return ['ItemManagement' => [
'QM' => 'Qm.',
'Quantity' => 'Quantità',
'QuantityUnit' => 'Unità di quantità',
'RecentInvoices' => '#VALUE!',
'RecentInvoices' => '',
'ReorderLevel' => 'Livello di riordino',
'Reserved' => 'Riservato',
'SN' => 'Sn.',

View File

@ -14,16 +14,16 @@ declare(strict_types=1);
return ['ItemManagement' => [
'Accounting' => '会計',
'Address' => '#VALUE!',
'Address' => '',
'All' => '全て',
'Article' => '記事',
'Articlegroup' => '記事グループ',
'Attribute' => '属性',
'AttributeTypes' => '#VALUE!',
'AttributeTypes' => '',
'Attributes' => '属性',
'Available' => '利用可能',
'AvgPrice' => '平均。価格',
'Bills' => '#VALUE!',
'Bills' => '',
'Bonus' => 'ボーナス',
'ClientGroup' => 'クライアント/グループ',
'ClientSection' => '',
@ -53,7 +53,7 @@ return ['ItemManagement' => [
'General' => '全般的',
'GrossWeight' => '総重量',
'Group' => 'グループ',
'Groups' => '#VALUE!',
'Groups' => '',
'Height' => '高さ',
'ID' => 'id',
'ILV' => 'il',
@ -104,7 +104,7 @@ return ['ItemManagement' => [
'PriceChange' => '価格変更',
'PriceUnit' => '価格の単位',
'Prices' => '価格',
'Pricing' => '#VALUE!',
'Pricing' => '',
'Procurement' => '',
'Productgroup' => '製品グループ',
'Production' => '製造',
@ -119,7 +119,7 @@ return ['ItemManagement' => [
'QM' => 'QM.',
'Quantity' => '量',
'QuantityUnit' => '数量単位',
'RecentInvoices' => '#VALUE!',
'RecentInvoices' => '',
'ReorderLevel' => '並べ替えレベル',
'Reserved' => '予約済み',
'SN' => 'sn',

View File

@ -14,16 +14,16 @@ declare(strict_types=1);
return ['ItemManagement' => [
'Accounting' => '회계',
'Address' => '#VALUE!',
'Address' => '',
'All' => '모두',
'Article' => '기사',
'Articlegroup' => '기사 그룹',
'Attribute' => '기인하다',
'AttributeTypes' => '#VALUE!',
'AttributeTypes' => '',
'Attributes' => '속성',
'Available' => '사용 가능',
'AvgPrice' => '평균 가격',
'Bills' => '#VALUE!',
'Bills' => '',
'Bonus' => '보너스',
'ClientGroup' => '클라이언트 / 그룹',
'ClientSection' => '',
@ -53,7 +53,7 @@ return ['ItemManagement' => [
'General' => '일반적인',
'GrossWeight' => '총 중량',
'Group' => '그룹',
'Groups' => '#VALUE!',
'Groups' => '',
'Height' => '키',
'ID' => 'ID',
'ILV' => 'ilv.',
@ -104,7 +104,7 @@ return ['ItemManagement' => [
'PriceChange' => '가격 변경',
'PriceUnit' => '가격 단위',
'Prices' => '물가',
'Pricing' => '#VALUE!',
'Pricing' => '',
'Procurement' => '',
'Productgroup' => '제품 그룹',
'Production' => '생산',
@ -119,7 +119,7 @@ return ['ItemManagement' => [
'QM' => 'qm.',
'Quantity' => '수량',
'QuantityUnit' => '수량 단위',
'RecentInvoices' => '#VALUE!',
'RecentInvoices' => '',
'ReorderLevel' => '재정렬 수준',
'Reserved' => '예약 된',
'SN' => 'Sn.',

View File

@ -14,16 +14,16 @@ declare(strict_types=1);
return ['ItemManagement' => [
'Accounting' => 'Regnskap',
'Address' => '#VALUE!',
'Address' => '',
'All' => 'Alle',
'Article' => 'Artikkel',
'Articlegroup' => 'Articregroup.',
'Attribute' => 'Egenskap',
'AttributeTypes' => '#VALUE!',
'AttributeTypes' => '',
'Attributes' => 'Egenskaper',
'Available' => 'Tilgjengelig',
'AvgPrice' => 'Nr. Pris',
'Bills' => '#VALUE!',
'Bills' => '',
'Bonus' => 'Bonus',
'ClientGroup' => 'Klient / gruppe',
'ClientSection' => '',
@ -53,7 +53,7 @@ return ['ItemManagement' => [
'General' => 'Generell',
'GrossWeight' => 'Bruttovekt',
'Group' => 'Gruppe',
'Groups' => '#VALUE!',
'Groups' => '',
'Height' => 'Høyde',
'ID' => 'Id.',
'ILV' => 'ILV.',
@ -104,7 +104,7 @@ return ['ItemManagement' => [
'PriceChange' => 'Prisendring',
'PriceUnit' => 'Enheten av pris',
'Prices' => 'Prisene',
'Pricing' => '#VALUE!',
'Pricing' => '',
'Procurement' => '',
'Productgroup' => 'Produktgruppe',
'Production' => 'Produksjon',
@ -119,7 +119,7 @@ return ['ItemManagement' => [
'QM' => 'QM.',
'Quantity' => 'Mengde',
'QuantityUnit' => 'Enhet av kvantitet',
'RecentInvoices' => '#VALUE!',
'RecentInvoices' => '',
'ReorderLevel' => 'Ombestillingsnivå',
'Reserved' => 'Reservert',
'SN' => 'SN.',

View File

@ -14,16 +14,16 @@ declare(strict_types=1);
return ['ItemManagement' => [
'Accounting' => 'Rachunkowość',
'Address' => '#VALUE!',
'Address' => '',
'All' => 'Wszystkie',
'Article' => 'Artykuł',
'Articlegroup' => 'Artykuł',
'Attribute' => 'Atrybut',
'AttributeTypes' => '#VALUE!',
'AttributeTypes' => '',
'Attributes' => 'Atrybuty',
'Available' => 'Dostępny',
'AvgPrice' => 'AVG. Cena £',
'Bills' => '#VALUE!',
'Bills' => '',
'Bonus' => 'Premia',
'ClientGroup' => 'Klient / Group.',
'ClientSection' => '',
@ -53,7 +53,7 @@ return ['ItemManagement' => [
'General' => 'Ogólny',
'GrossWeight' => 'Waga brutto',
'Group' => 'Grupa',
'Groups' => '#VALUE!',
'Groups' => '',
'Height' => 'Wzrost',
'ID' => 'ID',
'ILV' => 'ILV.',
@ -104,7 +104,7 @@ return ['ItemManagement' => [
'PriceChange' => 'Zmiana ceny',
'PriceUnit' => 'Jednostka ceny',
'Prices' => 'Ceny',
'Pricing' => '#VALUE!',
'Pricing' => '',
'Procurement' => '',
'Productgroup' => 'Grupa produktów',
'Production' => 'Produkcja',
@ -119,7 +119,7 @@ return ['ItemManagement' => [
'QM' => 'Qm.',
'Quantity' => 'Ilość',
'QuantityUnit' => 'Jednostka ilości',
'RecentInvoices' => '#VALUE!',
'RecentInvoices' => '',
'ReorderLevel' => 'Zmień kolejność poziomu',
'Reserved' => 'Skryty',
'SN' => 'Sn.',

View File

@ -14,16 +14,16 @@ declare(strict_types=1);
return ['ItemManagement' => [
'Accounting' => 'Contabilidade',
'Address' => '#VALUE!',
'Address' => '',
'All' => 'Tudo',
'Article' => 'Artigo',
'Articlegroup' => 'ArticleGroup',
'Attribute' => 'Atributo',
'AttributeTypes' => '#VALUE!',
'AttributeTypes' => '',
'Attributes' => 'Atributos',
'Available' => 'Disponível',
'AvgPrice' => 'Avg. Preço',
'Bills' => '#VALUE!',
'Bills' => '',
'Bonus' => 'Bônus',
'ClientGroup' => 'Cliente / grupo',
'ClientSection' => '',
@ -53,7 +53,7 @@ return ['ItemManagement' => [
'General' => 'Em geral',
'GrossWeight' => 'Peso bruto',
'Group' => 'Grupo',
'Groups' => '#VALUE!',
'Groups' => '',
'Height' => 'Altura',
'ID' => 'identificação',
'ILV' => 'Ilv.',
@ -104,7 +104,7 @@ return ['ItemManagement' => [
'PriceChange' => 'Mudança de preço',
'PriceUnit' => 'Unidade de preço',
'Prices' => 'Preços',
'Pricing' => '#VALUE!',
'Pricing' => '',
'Procurement' => '',
'Productgroup' => 'Grupo de produtos',
'Production' => 'Produção',
@ -119,7 +119,7 @@ return ['ItemManagement' => [
'QM' => 'Qm.',
'Quantity' => 'Quantidade',
'QuantityUnit' => 'Unidade de quantidade',
'RecentInvoices' => '#VALUE!',
'RecentInvoices' => '',
'ReorderLevel' => 'Nível de reabastecimento',
'Reserved' => 'Reservado',
'SN' => 'Sn.',

View File

@ -14,16 +14,16 @@ declare(strict_types=1);
return ['ItemManagement' => [
'Accounting' => 'Учет',
'Address' => '#VALUE!',
'Address' => '',
'All' => 'Все',
'Article' => 'Статья',
'Articlegroup' => 'Staregroup.',
'Attribute' => 'Атрибут',
'AttributeTypes' => '#VALUE!',
'AttributeTypes' => '',
'Attributes' => 'Атрибуты',
'Available' => 'Доступный',
'AvgPrice' => 'Авг. Цена',
'Bills' => '#VALUE!',
'Bills' => '',
'Bonus' => 'Бонус',
'ClientGroup' => 'Клиент / группа',
'ClientSection' => '',
@ -53,7 +53,7 @@ return ['ItemManagement' => [
'General' => 'Общий',
'GrossWeight' => 'Общий вес',
'Group' => 'Группа',
'Groups' => '#VALUE!',
'Groups' => '',
'Height' => 'Высота',
'ID' => 'Я БЫ',
'ILV' => 'Ilv.',
@ -104,7 +104,7 @@ return ['ItemManagement' => [
'PriceChange' => 'Смена цены',
'PriceUnit' => 'Единица цены',
'Prices' => 'Цены',
'Pricing' => '#VALUE!',
'Pricing' => '',
'Procurement' => '',
'Productgroup' => 'Группа товаров',
'Production' => 'Производство',
@ -119,7 +119,7 @@ return ['ItemManagement' => [
'QM' => 'QM.',
'Quantity' => 'Количество',
'QuantityUnit' => 'Единица величины',
'RecentInvoices' => '#VALUE!',
'RecentInvoices' => '',
'ReorderLevel' => 'Уровень расписания',
'Reserved' => 'Сдержанный',
'SN' => 'Сноги',

View File

@ -14,16 +14,16 @@ declare(strict_types=1);
return ['ItemManagement' => [
'Accounting' => 'Bokföring',
'Address' => '#VALUE!',
'Address' => '',
'All' => 'Allt',
'Article' => 'Artikel',
'Articlegroup' => 'Artikelgrupp',
'Attribute' => 'Attribut',
'AttributeTypes' => '#VALUE!',
'AttributeTypes' => '',
'Attributes' => 'Attribut',
'Available' => 'Tillgängligt',
'AvgPrice' => 'Avg. Pris',
'Bills' => '#VALUE!',
'Bills' => '',
'Bonus' => 'Bonus',
'ClientGroup' => 'Klient / grupp',
'ClientSection' => '',
@ -53,7 +53,7 @@ return ['ItemManagement' => [
'General' => 'Allmän',
'GrossWeight' => 'Bruttovikt',
'Group' => 'Grupp',
'Groups' => '#VALUE!',
'Groups' => '',
'Height' => 'Höjd',
'ID' => 'Id',
'ILV' => 'Ilv',
@ -104,7 +104,7 @@ return ['ItemManagement' => [
'PriceChange' => 'Prisförändring',
'PriceUnit' => 'Prisenhet',
'Prices' => 'Priser',
'Pricing' => '#VALUE!',
'Pricing' => '',
'Procurement' => '',
'Productgroup' => 'Produktgrupp',
'Production' => 'Produktion',
@ -119,7 +119,7 @@ return ['ItemManagement' => [
'QM' => 'Qm',
'Quantity' => 'Kvantitet',
'QuantityUnit' => 'Kvantitetsenhet',
'RecentInvoices' => '#VALUE!',
'RecentInvoices' => '',
'ReorderLevel' => 'Ombeställningsnivå',
'Reserved' => 'Reserverad',
'SN' => 'Sn',

View File

@ -14,16 +14,16 @@ declare(strict_types=1);
return ['ItemManagement' => [
'Accounting' => 'การบัญชี',
'Address' => '#VALUE!',
'Address' => '',
'All' => 'ทั้งหมด',
'Article' => 'บทความ',
'Articlegroup' => 'ArticleGroup',
'Attribute' => 'คุณลักษณะ',
'AttributeTypes' => '#VALUE!',
'AttributeTypes' => '',
'Attributes' => 'คุณลักษณะ',
'Available' => 'มีอยู่',
'AvgPrice' => 'avg ราคา',
'Bills' => '#VALUE!',
'Bills' => '',
'Bonus' => 'โบนัส',
'ClientGroup' => 'ลูกค้า / กลุ่ม',
'ClientSection' => '',
@ -53,7 +53,7 @@ return ['ItemManagement' => [
'General' => 'ทั่วไป',
'GrossWeight' => 'น้ำหนักรวม',
'Group' => 'กลุ่ม',
'Groups' => '#VALUE!',
'Groups' => '',
'Height' => 'ส่วนสูง',
'ID' => 'id',
'ILV' => 'ilv',
@ -104,7 +104,7 @@ return ['ItemManagement' => [
'PriceChange' => 'การเปลี่ยนแปลงราคา',
'PriceUnit' => 'หน่วยของราคา',
'Prices' => 'ราคา',
'Pricing' => '#VALUE!',
'Pricing' => '',
'Procurement' => '',
'Productgroup' => 'กลุ่มผลิตภัณฑ์',
'Production' => 'การผลิต',
@ -119,7 +119,7 @@ return ['ItemManagement' => [
'QM' => 'qm',
'Quantity' => 'ปริมาณ',
'QuantityUnit' => 'หน่วยของปริมาณ',
'RecentInvoices' => '#VALUE!',
'RecentInvoices' => '',
'ReorderLevel' => 'เรียงลำดับระดับใหม่',
'Reserved' => 'ที่สงวนไว้',
'SN' => 'sn',

View File

@ -14,16 +14,16 @@ declare(strict_types=1);
return ['ItemManagement' => [
'Accounting' => 'Muhasebe',
'Address' => '#VALUE!',
'Address' => '',
'All' => 'Herşey',
'Article' => 'Madde',
'Articlegroup' => 'Makale grubu',
'Attribute' => 'Bağlanmak',
'AttributeTypes' => '#VALUE!',
'AttributeTypes' => '',
'Attributes' => 'Öznitellikler',
'Available' => 'Mevcut',
'AvgPrice' => 'Avg. Fiyat',
'Bills' => '#VALUE!',
'Bills' => '',
'Bonus' => 'Bonus',
'ClientGroup' => 'Müşteri / Grup',
'ClientSection' => '',
@ -53,7 +53,7 @@ return ['ItemManagement' => [
'General' => 'Genel',
'GrossWeight' => 'Brüt ağırlık',
'Group' => 'Grup',
'Groups' => '#VALUE!',
'Groups' => '',
'Height' => 'Yükseklik',
'ID' => 'İD',
'ILV' => 'İlve',
@ -104,7 +104,7 @@ return ['ItemManagement' => [
'PriceChange' => 'Fiyat değişikliği',
'PriceUnit' => 'Fiyat birimi',
'Prices' => 'Fiyat:% s',
'Pricing' => '#VALUE!',
'Pricing' => '',
'Procurement' => '',
'Productgroup' => 'Ürün grubu',
'Production' => 'Üretme',
@ -119,7 +119,7 @@ return ['ItemManagement' => [
'QM' => 'Qm',
'Quantity' => 'Miktar',
'QuantityUnit' => 'Miktar birimi',
'RecentInvoices' => '#VALUE!',
'RecentInvoices' => '',
'ReorderLevel' => 'Yeniden sipariş seviyesi',
'Reserved' => 'Ayrılmış',
'SN' => 'Sn',

View File

@ -14,16 +14,16 @@ declare(strict_types=1);
return ['ItemManagement' => [
'Accounting' => 'Бухгалтерський облік',
'Address' => '#VALUE!',
'Address' => '',
'All' => 'Все',
'Article' => 'Стаття',
'Articlegroup' => 'Статтюгрупи',
'Attribute' => 'Атрибут',
'AttributeTypes' => '#VALUE!',
'AttributeTypes' => '',
'Attributes' => 'Атрибути',
'Available' => 'Доступний',
'AvgPrice' => 'AVG. Ціна',
'Bills' => '#VALUE!',
'Bills' => '',
'Bonus' => 'Бонус',
'ClientGroup' => 'Клієнт / група',
'ClientSection' => '',
@ -53,7 +53,7 @@ return ['ItemManagement' => [
'General' => 'Загальний',
'GrossWeight' => 'Вага брутто',
'Group' => 'Група',
'Groups' => '#VALUE!',
'Groups' => '',
'Height' => 'Висота',
'ID' => 'Ідентифікатор',
'ILV' => 'Ільв',
@ -104,7 +104,7 @@ return ['ItemManagement' => [
'PriceChange' => 'Зміна ціни',
'PriceUnit' => 'Одиниця ціни',
'Prices' => 'Ціни',
'Pricing' => '#VALUE!',
'Pricing' => '',
'Procurement' => '',
'Productgroup' => 'Група продуктів',
'Production' => 'Виробництво',
@ -119,7 +119,7 @@ return ['ItemManagement' => [
'QM' => 'Qm',
'Quantity' => 'Кількість',
'QuantityUnit' => 'Одиниця кількості',
'RecentInvoices' => '#VALUE!',
'RecentInvoices' => '',
'ReorderLevel' => 'Рівень повторного порядження',
'Reserved' => 'Зарезервований',
'SN' => 'Сно',

View File

@ -14,16 +14,16 @@ declare(strict_types=1);
return ['ItemManagement' => [
'Accounting' => '会计',
'Address' => '#VALUE!',
'Address' => '',
'All' => '全部',
'Article' => '文章',
'Articlegroup' => '商品组',
'Attribute' => '属性',
'AttributeTypes' => '#VALUE!',
'AttributeTypes' => '',
'Attributes' => '属性',
'Available' => '可用的',
'AvgPrice' => 'Avg。价格',
'Bills' => '#VALUE!',
'Bills' => '',
'Bonus' => '奖金',
'ClientGroup' => '客户/集团',
'ClientSection' => '',
@ -53,7 +53,7 @@ return ['ItemManagement' => [
'General' => '一般的',
'GrossWeight' => '总重量',
'Group' => '团体',
'Groups' => '#VALUE!',
'Groups' => '',
'Height' => '高度',
'ID' => 'ID',
'ILV' => 'ilv.',
@ -104,7 +104,7 @@ return ['ItemManagement' => [
'PriceChange' => '价格变动',
'PriceUnit' => '价格单位',
'Prices' => '价格',
'Pricing' => '#VALUE!',
'Pricing' => '',
'Procurement' => '',
'Productgroup' => '产品组',
'Production' => '生产',
@ -119,7 +119,7 @@ return ['ItemManagement' => [
'QM' => 'QM.',
'Quantity' => '数量',
'QuantityUnit' => '数量单位',
'RecentInvoices' => '#VALUE!',
'RecentInvoices' => '',
'ReorderLevel' => '重新排序级别',
'Reserved' => '预订的',
'SN' => '一个人',

View File

@ -1,19 +0,0 @@
<?php
/**
* Jingga
*
* PHP Version 8.1
*
* @package Modules\ItemManagement
* @copyright Dennis Eichhorn
* @license OMS License 2.0
* @version 1.0.0
* @link https://jingga.app
*/
declare(strict_types=1);
/**
* @var \phpOMS\Views\View $this
*/
echo $this->data['nav']->render();

View File

@ -347,10 +347,7 @@ echo $this->data['nav']->render();
"id": "axis1",
"display": true,
"position": "left",
"suggestedMin": 0,
"ticks": {
"stepSize": 1000
}
"suggestedMin": 0
},
"axis2": {
"id": "axis2",
@ -450,10 +447,7 @@ echo $this->data['nav']->render();
"id": "axis1",
"display": true,
"position": "left",
"suggestedMin": 0,
"ticks": {
"stepSize": 1000
}
"suggestedMin": 0
}
}
}
@ -485,7 +479,8 @@ echo $this->data['nav']->render();
$item->attributes,
$this->data['attributeTypes'] ?? [],
$this->data['units'] ?? [],
'{/api}item/attribute'
'{/api}item/attribute',
$item->id
);
?>
</div>

View File

@ -38,7 +38,7 @@ trait ApiControllerAttributeTrait
$request->setData('language', ISO639x1Enum::_EN);
$this->attrModule->apiItemAttributeTypeCreate($request, $response);
self::assertGreaterThan(0, $response->get('')['response']->id);
self::assertGreaterThan(0, $response->getDataArray('')['response']->id);
}
/**
@ -56,7 +56,7 @@ trait ApiControllerAttributeTrait
$request->setData('language', ISO639x1Enum::_DE);
$this->attrModule->apiItemAttributeTypeL11nCreate($request, $response);
self::assertGreaterThan(0, $response->get('')['response']->id);
self::assertGreaterThan(0, $response->getDataArray('')['response']->id);
}
/**
@ -76,7 +76,7 @@ trait ApiControllerAttributeTrait
$request->setData('country', ISO3166TwoEnum::_DEU);
$this->attrModule->apiItemAttributeValueCreate($request, $response);
self::assertGreaterThan(0, $response->get('')['response']->id);
self::assertGreaterThan(0, $response->getDataArray('')['response']->id);
}
/**
@ -95,7 +95,7 @@ trait ApiControllerAttributeTrait
$request->setData('country', ISO3166TwoEnum::_DEU);
$this->attrModule->apiItemAttributeValueCreate($request, $response);
self::assertGreaterThan(0, $response->get('')['response']->id);
self::assertGreaterThan(0, $response->getDataArray('')['response']->id);
}
/**
@ -114,7 +114,7 @@ trait ApiControllerAttributeTrait
$request->setData('country', ISO3166TwoEnum::_DEU);
$this->attrModule->apiItemAttributeValueCreate($request, $response);
self::assertGreaterThan(0, $response->get('')['response']->id);
self::assertGreaterThan(0, $response->getDataArray('')['response']->id);
}
/**
@ -133,7 +133,7 @@ trait ApiControllerAttributeTrait
$request->setData('country', ISO3166TwoEnum::_DEU);
$this->attrModule->apiItemAttributeValueCreate($request, $response);
self::assertGreaterThan(0, $response->get('')['response']->id);
self::assertGreaterThan(0, $response->getDataArray('')['response']->id);
}
/**
@ -151,7 +151,7 @@ trait ApiControllerAttributeTrait
$request->setData('type', '1');
$this->attrModule->apiItemAttributeCreate($request, $response);
self::assertGreaterThan(0, $response->get('')['response']->id);
self::assertGreaterThan(0, $response->getDataArray('')['response']->id);
}
/**

View File

@ -48,7 +48,7 @@ trait ApiControllerItemTrait
$request->setData('info', 'Info text');
$this->module->apiItemCreate($request, $response);
self::assertGreaterThan(0, $response->get('')['response']->id);
self::assertGreaterThan(0, $response->getDataArray('')['response']->id);
}
/**
@ -94,7 +94,7 @@ trait ApiControllerItemTrait
]);
$this->module->apiFileCreate($request, $response);
$file = $response->get('')['response'];
$file = $response->getDataArray('')['response'];
self::assertGreaterThan(0, \reset($file)->id);
}
@ -124,7 +124,7 @@ trait ApiControllerItemTrait
]);
$this->module->apiFileCreate($request, $response);
$file = $response->get('')['response'];
$file = $response->getDataArray('')['response'];
self::assertGreaterThan(0, \reset($file)->id);
}
@ -146,7 +146,7 @@ trait ApiControllerItemTrait
$request->setData('plain', \preg_replace('/^.+\n/', '', $MARKDOWN));
$this->module->apiNoteCreate($request, $response);
self::assertGreaterThan(0, $response->get('')['response']->id);
self::assertGreaterThan(0, $response->getDataArray('')['response']->id);
}
/**

View File

@ -37,7 +37,7 @@ trait ApiControllerL11nTrait
$request->setData('language', ISO639x1Enum::_EN);
$this->module->apiItemL11nTypeCreate($request, $response);
self::assertGreaterThan(0, $response->get('')['response']->id);
self::assertGreaterThan(0, $response->getDataArray('')['response']->id);
}
/**
@ -55,7 +55,7 @@ trait ApiControllerL11nTrait
$request->setData('content', 'Description');
$this->module->apiItemL11nCreate($request, $response);
self::assertGreaterThan(0, $response->get('')['response']->id);
self::assertGreaterThan(0, $response->getDataArray('')['response']->id);
}
/**