request->uri->fragment === 'c-tab-1' ? ' checked' : ''; ?>>
= $this->getHtml('Contact'); ?>
mail
= $this->getHtml('Address'); ?>
notes) && ($warning = $account->getEditorDocByTypeName('account_backend_warning'))->id !== 0) : ?>
= $this->printHtml($warning->plain); ?>
data['hasBilling']) : ?>
| = $this->getHtml('YTDSales'); ?>:
| = $this->getCurrency(SalesBillMapper::getClientNetSales($account->id, SmartDateTime::startOfYear($this->data['business_start']), new \DateTime('now')), format: 'medium'); ?>
|
| = $this->getHtml('MTDSales'); ?>:
| = $this->getCurrency(SalesBillMapper::getClientNetSales($account->id, SmartDateTime::startOfMonth(), new \DateTime('now')), format: 'medium'); ?>
|
| = $this->getHtml('CLV'); ?>:
| = $this->getCurrency(SalesBillMapper::getCLVHistoric($account->id), format: 'medium'); ?>
|
| = $this->getHtml('LastContact'); ?>:
| = SalesBillMapper::getClientLastOrder($account->id)?->format('Y-m-d'); ?>
|
| = $this->getHtml('LastOrder'); ?>:
| = SalesBillMapper::getClientLastOrder($account->id)?->format('Y-m-d'); ?>
|
| = $this->getHtml('Created'); ?>:
| = $account->createdAt->format('Y-m-d H:i'); ?>
|
| = $this->getHtml('DSO'); ?>:
| TBD
|
| = $this->getHtml('Due'); ?>:
| TBD
|
| = $this->getHtml('Balance'); ?>:
| TBD
|
= $this->getHtml('Notes'); ?>
= $this->getHtml('Documents'); ?>
data['hasBilling']) : ?>
= $this->getHtml('RecentInvoices'); ?>
request->uri->fragment === 'c-tab-2' ? ' checked' : ''; ?>>
= $this->getHtml('Account'); ?>
= $this->getHtml('Accounts'); ?>
request->uri->fragment === 'c-tab-7' ? ' checked' : ''; ?>>
request->uri->fragment === 'c-tab-3' ? ' checked' : ''; ?>>
= $this->getHtml('QuickAction'); ?>
= $this->getHtml('Open'); ?>
|
| = $this->getHtml('Info'); ?>
| = $this->getHtml('Date'); ?>
| = $this->getHtml('Credit'); ?>
| = $this->getHtml('Debit'); ?>
| = $this->getHtml('Number'); ?>
| = $this->getHtml('Text'); ?>
| = $this->getHtml('Due'); ?>
| = $this->getHtml('Payment'); ?>
|
| = $this->getHtml('Empty', '0', '0'); ?>
|
= $this->getHtml('Total'); ?>
| = $this->getHtml('Info'); ?>
| = $this->getHtml('Date'); ?>
| = $this->getHtml('Credit'); ?>
| = $this->getHtml('Debit'); ?>
| = $this->getHtml('Number'); ?>
| = $this->getHtml('Text'); ?>
| = $this->getHtml('Due'); ?>
| = $this->getHtml('Payment'); ?>
| = $this->getHtml('Balanced'); ?>
| = $this->getHtml('Balance'); ?>
|
| = $this->getHtml('Empty', '0', '0'); ?>
|
request->uri->fragment === 'c-tab-4' ? ' checked' : ''; ?>>
= $this->data['contact-component']->render('account-contact', 'contacts', $account->account->contacts); ?>
= $this->data['address-component']->render('account-address', 'addresses', $account->account->addresses); ?>
request->uri->fragment === 'c-tab-5' ? ' checked' : ''; ?>>
= $this->data['media-upload']->render('account-file', 'files', '', $account->files); ?>
request->uri->fragment === 'c-tab-6' ? ' checked' : ''; ?>>
= $this->data['note']->render('account-note', 'notes', $account->notes); ?>