getData('item'); $itemL11n = $this->getData('itemL11n'); $itemAttribute = $this->getData('itemAttribute'); $newestInvoices = $this->getData('newestInvoices') ?? []; $topCustomers = $this->getData('topCustomers') ?? []; $regionSales = $this->getData('regionSales') ?? []; $countrySales = $this->getData('countrySales') ?? []; $monthlySalesCosts = $this->getData('monthlySalesCosts') ?? []; $languages = ISO639Enum::getConstants(); $l11n = $this->getData('defaultlocalization') ?? new NullLocalization(); echo $this->getData('nav')->render(); ?>
| YTD Sales: | = $this->getData('ytd')->getCurrency(); ?> |
| MTD Sales: | = $this->getData('mtd')->getCurrency(); ?> |
| ILV: | |
| MRR: |
| Last Order: | = $this->getData('lastOrder') !== null ? $this->getData('lastOrder')->format('Y-m-d H:i') : ''; ?> |
| Price Change: | |
| Created: | = $item->createdAt->format('Y-m-d H:i'); ?> |
| Modified: |
| Sales Price: | = $item->salesPrice->getCurrency(); ?> |
| Purchase Price: | = $item->purchasePrice->getCurrency(); ?> |
| Margin: | = \round(($item->salesPrice->getInt() - $item->purchasePrice->getInt()) / $item->salesPrice->getInt() * 100, 2); ?> % |
| Avg. Price: | = $this->getData('avg')->getCurrency(); ?> |
| Number | Name | Net | Date |
| = $invoice->getNumber(); ?> | = $invoice->billTo; ?> | = $invoice->net->getCurrency(); ?> | = $invoice->createdAt->format('Y-m-d'); ?> |
| = $this->getHtml('ID', '0', '0'); ?> | = $this->getHtml('Name'); ?> | = $this->getHtml('Localization'); ?> | ||
| = $value->getId(); ?> | = $this->printHtml($value->type->title); ?> | = $this->printHtml($value->description); ?> | ||
| = $this->getHtml('Empty', '0', '0'); ?> | ||||
| = $this->getHtml('ID', '0', '0'); ?> | = $this->getHtml('Name'); ?> | = $this->getHtml('Name'); ?> | ||
| = $value->getId(); ?> | = $this->printHtml($value->type->getL11n()); ?> | = $value->value->getValue() instanceof \DateTime ? $value->value->getValue()->format('Y-m-d') : $this->printHtml((string) $value->value->getValue()); ?> | ||
| = $this->getHtml('Empty', '0', '0'); ?> | ||||
| = $this->getHtml('ID', '0', '0'); ?> | = $this->getHtml('Name'); ?> | |||
| = $value->getId(); ?> | = $this->printHtml($value->name); ?> | |||
| = $this->getHtml('Empty', '0', '0'); ?> | ||||
| = $this->getHtml('ID', '0', '0'); ?> | = $this->getHtml('Name'); ?> | |||
| = $value->getId(); ?> | = $this->printHtml($value->name); ?> | |||
| = $this->getHtml('Empty', '0', '0'); ?> | ||||
| IP | = $this->getHtml('ID', '0', '0'); ?> | = $this->getHtml('Name'); ?> | = $this->getHtml('Log'); ?> | = $this->getHtml('Date'); ?> | |
| = $this->printHtml($this->request->getOrigin()); ?> | = $this->printHtml((string) $this->request->header->account); ?> | = $this->printHtml((string) $this->request->header->account); ?> | Creating item | = $this->printHtml((new \DateTime('now'))->format('Y-m-d H:i:s')); ?> | |