data['nav']->render(); echo $this->data['nav-sub']->render(); ?>
| = $this->getHtml('SalesRep', 'Sales', 'Backend'); ?> | = $this->getHtml('SalesPY'); ?> (= $this->getHtml('MTD'); ?>) | = $this->getHtml('SalesA'); ?> (= $this->getHtml('MTD'); ?>) | = $this->getHtml('DiffPY'); ?> (= $this->getHtml('MTD'); ?>) |
| = $this->printHtml($this->data['salesRep'][$type]->code); ?> - = $this->printHtml($this->data['salesRep'][$type]->main->name1); ?> = $this->printHtml($this->data['salesRep'][$type]->main->name2); ?> | = $this->getCurrency((int) ($this->data['mtdPYClientRep'][$type]['net_sales'] ?? 0), symbol: ''); ?> | = $this->getCurrency((int) ($this->data['mtdAClientRep'][$type]['net_sales'] ?? 0), symbol: ''); ?> | = $this->getCurrency( ((int) ($this->data['mtdAClientRep'][$type]['net_sales'] ?? 0)) - ((int) ($this->data['mtdPYClientRep'][$type]['net_sales'] ?? 0)), symbol: '' ); ?> |
| = $this->getHtml('Total', '0', '0'); ?> | = $this->getCurrency((int) $total['py'], symbol: ''); ?> | = $this->getCurrency((int) $total['a'], symbol: ''); ?> | = $this->getCurrency( $total['a'] - $total['py'], symbol: '' ); ?> |
| = $this->getHtml('SalesRep', 'Sales', 'Backend'); ?> | = $this->getHtml('ProfitPY'); ?> (= $this->getHtml('MTD'); ?>) | = $this->getHtml('ProfitA'); ?> (= $this->getHtml('MTD'); ?>) | = $this->getHtml('DiffPY'); ?> (= $this->getHtml('MTD'); ?>) |
| = $this->printHtml($this->data['salesRep'][$type]->code); ?> - = $this->printHtml($this->data['salesRep'][$type]->main->name1); ?> = $this->printHtml($this->data['salesRep'][$type]->main->name2); ?> | = $this->getCurrency((int) ($this->data['mtdPYClientRep'][$type]['net_profit'] ?? 0), symbol: ''); ?> | = $this->getCurrency((int) ($this->data['mtdAClientRep'][$type]['net_profit'] ?? 0), symbol: ''); ?> | = $this->getCurrency( ((int) ($this->data['mtdAClientRep'][$type]['net_profit'] ?? 0)) - ((int) ($this->data['mtdPYClientRep'][$type]['net_profit'] ?? 0)), symbol: '' ); ?> |
| = $this->getHtml('Total', '0', '0'); ?> | = $this->getCurrency((int) $total['py'], symbol: ''); ?> | = $this->getCurrency((int) $total['a'], symbol: ''); ?> | = $this->getCurrency( $total['a'] - $total['py'], symbol: '' ); ?> |