getData('item'); $itemL11n = $item->getL11ns(); $itemAttribute = $item->getAttributes(); $notes = $item->getNotes(); $files = $item->getFiles(); $newestInvoices = $this->getData('newestInvoices') ?? []; $allInvoices = $this->getData('allInvoices') ?? []; $topCustomers = $this->getData('topCustomers') ?? []; $regionSales = $this->getData('regionSales') ?? []; $countrySales = $this->getData('countrySales') ?? []; $monthlySalesCosts = $this->getData('monthlySalesCosts') ?? []; $languages = ISO639Enum::getConstants(); /** @var \phpOMS\Localization\Localization $l11n */ $l11n = $this->getData('defaultlocalization') ?? new NullLocalization(); echo $this->getData('nav')->render(); ?>
request->uri->fragment === 'c-tab-1' ? ' checked' : ''; ?>>
getFileByType(0); if (!($image instanceof NullMedia)) : ?>
getHtml('YTDSales'); ?>: getData('ytd')->getCurrency(); ?>
getHtml('MTDSales'); ?>: getData('mtd')->getCurrency(); ?>
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'); ?>: salesPrice->getCurrency(); ?>
getHtml('PurchasePrice'); ?>: purchasePrice->getCurrency(); ?>
getHtml('Margin'); ?>: salesPrice->getInt() - $item->purchasePrice->getInt()) / $item->salesPrice->getInt() * 100, 2); ?> %
getHtml('AvgPrice'); ?>: getData('avg')->getCurrency(); ?>
getHtml('Notes'); ?>
getId()); ?>
getHtml('Title'); ?> getHtml('CreatedAt'); ?>
printHtml($note->title); ?> printHtml($note->createdAt->format('Y-m-d')); ?>
getHtml('Documents'); ?>
getId()); ?>
getHtml('Title'); ?> getHtml('CreatedAt'); ?>
printHtml($file->name); ?> printHtml($file->extension); ?> printHtml($file->createdAt->format('Y-m-d')); ?>
getHtml('RecentInvoices'); ?>
getId()); ?>
getHtml('Number'); ?> getHtml('Type'); ?> getHtml('Name'); ?> getHtml('Net'); ?> getHtml('Date'); ?>
printHtml($invoice->getNumber()); ?> printHtml($invoice->type->getL11n()); ?> printHtml($invoice->billTo); ?> printHtml($invoice->netSales->getCurrency()); ?> printHtml($invoice->createdAt->format('Y-m-d')); ?>
getHtml('Sales'); ?>
], "datasets": [ { "label": "getHtml('Margin'); ?>", "type": "line", "data": [ ], "yAxisID": "axis-2", "fill": false, "borderColor": "rgb(255, 99, 132)", "backgroundColor": "rgb(255, 99, 132)" }, { "label": "getHtml('Sales'); ?>", "type": "bar", "data": [ ], "yAxisID": "axis-1", "backgroundColor": "rgb(54, 162, 235)" } ] }, "options": { "scales": { "yAxes": [ { "id": "axis-1", "display": true, "position": "left" }, { "id": "axis-2", "display": true, "position": "right", "scaleLabel": { "display": true, "labelString": "getHtml('Margin'); ?> %" }, "gridLines": { "display": false }, "beginAtZero": true, "ticks": { "min": 0, "max": 100, "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": [ ], "backgroundColor": "rgb(54, 162, 235)" }] } }'>
getHtml('Description'); ?>
getHtml('Localizations'); ?>
$value) : ++$c; $url = UriFactory::build('{/prefix}admin/group/settings?{?}&id=' . $value->getId()); ?>
getHtml('ID', '0', '0'); ?> getHtml('Name'); ?> getHtml('Localization'); ?>
getId(); ?> printHtml($value->type->title); ?> printHtml($value->description); ?>
getHtml('Empty', '0', '0'); ?>
getHtml('Attribute'); ?>
getHtml('Groups'); ?>
$value) : ++$c; $url = UriFactory::build('{/prefix}admin/group/settings?{?}&id=' . $value->getId()); ?>
getHtml('ID', '0', '0'); ?> getHtml('Name'); ?> getHtml('Name'); ?>
getId(); ?> printHtml($value->type->getL11n()); ?> value->getValue() instanceof \DateTime ? $value->value->getValue()->format('Y-m-d') : $this->printHtml((string) $value->value->getValue()); ?>
getHtml('Empty', '0', '0'); ?>

getHtml('Pricing'); ?>

getHtml('Prices'); ?>
$value) : ++$c; $url = UriFactory::build('{/prefix}admin/group/settings?{?}&id=' . $value->getId()); ?>
getHtml('ID', '0', '0'); ?> getHtml('Name'); ?>
getId(); ?> printHtml($value->name); ?>
getHtml('Empty', '0', '0'); ?>

getHtml('Purchase'); ?>

getHtml('Supplier'); ?>

$value) : ++$c; $url = UriFactory::build('{/prefix}admin/group/settings?{?}&id=' . $value->getId()); ?>
getHtml('Prices'); ?>
getHtml('ID', '0', '0'); ?> getHtml('Name'); ?>
getId(); ?> printHtml($value->name); ?>
getHtml('Empty', '0', '0'); ?>

getHtml('General'); ?>

getHtml('General'); ?>

getHtml('RecentInvoices'); ?>
getId()); ?>
getHtml('Number'); ?> getHtml('Type'); ?> getHtml('Name'); ?> getHtml('Net'); ?> getHtml('Date'); ?>
getNumber(); ?> type->getL11n(); ?> billTo; ?> netSales->getCurrency(); ?> createdAt->format('Y-m-d'); ?>
getHtml('Logs'); ?>
IP getHtml('ID', '0', '0'); ?> getHtml('Name'); ?> getHtml('Log'); ?> getHtml('Date'); ?>
printHtml($this->request->getOrigin()); ?> printHtml((string) $this->request->header->account); ?> printHtml((string) $this->request->header->account); ?> Creating item printHtml((new \DateTime('now'))->format('Y-m-d H:i:s')); ?>