data['item']; $attribute = $item->attributes; $notes = $item->notes; $files = $item->files; $itemImage = $this->getData('itemImage') ?? new NullMedia(); $newestInvoices = $this->data['newestInvoices'] ?? []; $allInvoices = $this->data['allInvoices'] ?? []; $topCustomers = $this->getData('topCustomers') ?? [[], []]; $regionSales = $this->data['regionSales'] ?? []; $countrySales = $this->data['countrySales'] ?? []; $monthlySalesCosts = $this->data['monthlySalesCosts'] ?? []; $attributeView = $this->data['attributeView']; $l11nView = $this->data['l11nView']; $languages = ISO639Enum::getConstants(); /** @var \phpOMS\Localization\Localization $l11n */ $l11n = $this->getData('defaultlocalization') ?? new NullLocalization(); echo $this->data['nav']->render(); ?>
request->uri->fragment === 'c-tab-1' ? ' checked' : ''; ?>>
getEditorDocByTypeName('item_backend_warning'))->id !== 0) : ?>
printHtml($warning->plain); ?>
<?= $this->printHtml($itemImage->name); ?>
getHtml('YTDSales'); ?>: getCurrency($this->getData('ytd')); ?>
getHtml('MTDSales'); ?>: getCurrency($this->getData('mtd')); ?>
getHtml('ILV'); ?>:
getHtml('MRR'); ?>:
getHtml('LastOrder'); ?>: getData('lastOrder') !== null ? $this->getData('lastOrder')->format('Y-m-d H:i') : ''; ?>
getHtml('PriceChange'); ?>:
getHtml('Created'); ?>: createdAt->format('Y-m-d H:i'); ?>
getHtml('Modified'); ?>:
getHtml('SalesPrice'); ?>: getCurrency($item->salesPrice, format: 'medium'); ?>
getHtml('PurchasePrice'); ?>: getCurrency($item->purchasePrice); ?>
getHtml('Margin'); ?>: getNumeric( $item->salesPrice->getInt() === 0 ? 0 : ($item->salesPrice->getInt() - $item->purchasePrice->getInt()) / $item->salesPrice->getInt() * 100 , 'short'); ?> %
getHtml('AvgPrice'); ?>: getCurrency($this->getData('avg')); ?>
getHtml('Notes'); ?>
id); ?>
getHtml('Title'); ?> getHtml('CreatedAt'); ?>
printHtml($note->title); ?> printHtml($note->createdAt->format('Y-m-d')); ?>
getHtml('Files'); ?>
getHtml('RecentInvoices'); ?>
getHtml('TopCustomers'); ?>
id); ?>
getHtml('Number'); ?> getHtml('Name'); ?> getHtml('Country'); ?> getHtml('Net'); ?>
printHtml($client->number); ?> printHtml($client->account->name1); ?> printHtml($client->account->name2); ?> printHtml($client->mainAddress->getCountry()); ?> getCurrency(); ?>
getHtml('Sales'); ?>
], "datasets": [ { "label": "getHtml('Margin'); ?>", "type": "line", "data": [ ], "yAxisID": "axis2", "fill": false, "borderColor": "rgb(255, 99, 132)", "backgroundColor": "rgb(255, 99, 132)" }, { "label": "getHtml('Sales'); ?>", "type": "bar", "data": [ ], "yAxisID": "axis1", "backgroundColor": "rgb(54, 162, 235)" } ] }, "options": { "responsive": true, "scales": { "axis1": { "id": "axis1", "display": true, "position": "left", "suggestedMin": 0 }, "axis2": { "id": "axis2", "display": true, "position": "right", "suggestedMin": 0, "max": 100, "title": { "display": true, "text": "getHtml('Margin'); ?> %" }, "grid": { "display": false }, "beginAtZero": true, "ticks": { "stepSize": 10 } } } } }'>
Regions
, , , , , ], "backgroundColor": [ "rgb(255, 99, 132)", "rgb(255, 159, 64)", "rgb(255, 205, 86)", "rgb(75, 192, 192)", "rgb(54, 162, 235)", "rgb(153, 102, 255)" ] }] } }'>
getHtml('Countries'); ?>
], "datasets": [{ "label": "YTD", "type": "bar", "data": [ ], "yAxisID": "axis1", "backgroundColor": "rgb(54, 162, 235)" }] }, "options": { "responsive": true, "scales": { "axis1": { "id": "axis1", "display": true, "position": "left", "suggestedMin": 0 } } } }'>
render( $this->data['l11nValues'], $this->data['l11nTypes'] ?? [], '{/api}item/l11n' ); ?>
render( $item->attributes, $this->data['attributeTypes'] ?? [], $this->data['units'] ?? [], '{/api}item/attribute', $item->id ); ?>
getHtml('Pricing'); ?>
getHtml('Prices'); ?>
data['prices']; foreach ($prices as $key => $value) : ++$c; $url = UriFactory::build('{/base}/admin/group/settings?{?}&id=' . $value->id); ?>
getHtml('ID', '0', '0'); ?> getHtml('Name'); ?> getHtml('Price'); ?> getHtml('Quantity'); ?> getHtml('Discount'); ?> getHtml('DiscountP'); ?> getHtml('Bonus'); ?> getHtml('ItemGroup'); ?> getHtml('ItemSegment'); ?> getHtml('ItemSection'); ?> getHtml('ItemType'); ?> getHtml('ClientGroup'); ?> getHtml('ClientSegment'); ?> getHtml('ClientSection'); ?> getHtml('ClientType'); ?> getHtml('Country'); ?> getHtml('Start'); ?> getHtml('End'); ?>
id; ?> printHtml($value->name); ?> printHtml($value->price->getAmount()); ?> printHtml((string) $value->quantity); ?> printHtml((string) $value->discount); ?> printHtml((string) $value->discountPercentage); ?> printHtml((string) $value->bonus); ?> printHtml((string) $value->itemgroup->getL11n()); ?> printHtml((string) $value->itemsegment->getL11n()); ?> printHtml((string) $value->itemsection->getL11n()); ?> printHtml((string) $value->itemtype->getL11n()); ?> printHtml((string) $value->clientgroup->getL11n()); ?> printHtml((string) $value->clientsegment->getL11n()); ?> printHtml((string) $value->clientsection->getL11n()); ?> printHtml((string) $value->clienttype->getL11n()); ?> printHtml((string) $value->clientcountry); ?> printHtml((string) $value->start?->format('Y-m-d')); ?> printHtml((string) $value->end?->format('Y-m-d')); ?>
getHtml('Empty', '0', '0'); ?>
getHtml('Purchase'); ?>
getHtml('Pricing'); ?>
getHtml('Prices'); ?>
$value) : ++$c; $url = UriFactory::build('{/base}/admin/group/settings?{?}&id=' . $value->id); ?>
getHtml('ID', '0', '0'); ?> getHtml('Name'); ?>
id; ?> printHtml($value->name); ?>
getHtml('Empty', '0', '0'); ?>
getHtml('PartsList'); ?>
getHtml('UsedIn'); ?>
getHtml('ProductionSteps'); ?>
getHtml('Machines'); ?>
getHtml('Documents'); ?>
getHtml('Issues'); ?>
getHtml('UsedIn'); ?>
getHtml('General'); ?>

getHtml('General'); ?>

getData('medialist')->render($this->getData('files')); ?>
getHtml('RecentInvoices'); ?>
id); ?>
getHtml('Number'); ?> getHtml('Type'); ?> getHtml('Name'); ?> getHtml('Net'); ?> getHtml('Date'); ?>
getNumber(); ?> type->getL11n(); ?> billTo; ?> getCurrency($invoice->netSales); ?> createdAt->format('Y-m-d'); ?>
getHtml('Audits', 'Auditor'); ?>
data['audits'] ?? []; $previous = empty($audits) ? HttpHeader::getAllHeaders()['Referer'] ?? 'admin/module/settings?id={?id}#{\#}' : 'admin/module/settings?{?}&audit=' . \reset($audits)->id . '&ptype=p#{\#}'; $next = empty($audits) ? HttpHeader::getAllHeaders()['Referer'] ?? 'admin/module/settings?id={?id}#{\#}' : 'admin/module/settings?{?}&audit=' . \end($audits)->id . '&ptype=n#{\#}'; foreach ($audits as $key => $audit) : ++$count; $url = UriFactory::build('{/base}/admin/audit/single?{?}&id=' . $audit->id); ?>
getHtml('ID', '0', '0'); ?> getHtml('Module', 'Auditor'); ?> getHtml('Type', 'Auditor'); ?> getHtml('Trigger', 'Auditor'); ?> getHtml('Content', 'Auditor'); ?> getHtml('By', 'Auditor'); ?> getHtml('Ref', 'Auditor'); ?> getHtml('Date', 'Auditor'); ?>
id; ?> printHtml($audit->module); ?> type; ?> printHtml($audit->trigger); ?> printHtml((string) $audit->content); ?> printHtml($audit->createdBy->login); ?> printHtml((string) $audit->ref); ?> createdAt->format('Y-m-d H:i'); ?>
getHtml('Empty', '0', '0'); ?>