data['nav']->render(); ?>
request->uri->fragment === 'c-tab-1' ? ' checked' : ''; ?>>
getHtml('World'); ?>
$values) { $temp[] = '{"id": "' . ISO3166CharEnum::getBy2Code($lang) . '", "value": ' . ($values['net_sales'] / 10000) . '}'; }; ?> ] }] }, "options": { "responsive": true, "showOutline": true, "showGraticule": false, "plugins": { "legend": { "display": false } }, "scales": { "projection": { "axis": "x", "projection": "equirectangular" } } } }'>
getHtml('Country'); ?>
data['ytdAClientCountry'] as $type => $values) : ?>
getHtml('Country'); ?> getHtml('SalesPY'); ?> (getHtml('YTD'); ?>) getHtml('SalesA'); ?> (getHtml('YTD'); ?>) getHtml('DiffPY'); ?> (getHtml('YTD'); ?>) getHtml('SalesPY'); ?> (getHtml('MTD'); ?>) getHtml('SalesA'); ?> (getHtml('MTD'); ?>) getHtml('DiffPY'); ?> (getHtml('MTD'); ?>)
printHtml(ISO3166NameEnum::getBy2Code($type)); ?> getCurrency((int) ($this->data['ytdPYClientCountry'][$type]['net_sales'] ?? 0)); ?> getCurrency((int) ($this->data['ytdAClientCountry'][$type]['net_sales'] ?? 0)); ?> getCurrency( ((int) ($this->data['ytdAClientCountry'][$type]['net_sales'] ?? 0)) - ((int) ($this->data['ytdPYClientCountry'][$type]['net_sales'] ?? 0)) ); ?> getCurrency((int) ($this->data['mtdPYClientCountry'][$type]['net_sales'] ?? 0)); ?> getCurrency((int) ($this->data['mtdAClientCountry'][$type]['net_sales'] ?? 0)); ?> getCurrency( ((int) ($this->data['mtdAClientCountry'][$type]['net_sales'] ?? 0)) - ((int) ($this->data['mtdPYClientCountry'][$type]['net_sales'] ?? 0)) ); ?>
request->uri->fragment === 'c-tab-2' ? ' checked' : ''; ?>>
getHtml('SalesProfit'); ?> (getHtml('monthly'); ?>) - getHtml('Domestic'); ?>
$this->data['monthlyDomesticExportPY'], 2 => $this->data['monthlyDomesticExportCurrent']]; ?>
], "datasets": [ { "label": "getHtml('Profit'); ?> PY", "type": "line", "data": [ data['domestic']][$i]['net_sales']) || !isset($sales[1][$this->data['domestic']][$i]['net_profit'])) { $temp[] = 'null'; continue; } $temp[] = $sales[1][$this->data['domestic']][$i]['net_sales'] == 0 ? 0 : $sales[1][$this->data['domestic']][$i]['net_profit'] * 100 / $sales[1][$this->data['domestic']][$i]['net_sales']; } echo \implode(',', $temp); ?> ], "yAxisID": "y1", "fill": false, "tension": 0.0, "borderColor": "rgb(166, 193, 178)", "backgroundColor": "rgb(166, 193, 178)" }, { "label": "getHtml('Profit'); ?> A", "type": "line", "data": [ data['domestic']][$i]['net_sales']) || !isset($sales[2][$this->data['domestic']][$i]['net_profit'])) { $temp[] = 'null'; continue; } $temp[] = $sales[2][$this->data['domestic']][$i]['net_sales'] == 0 ? 0 : $sales[2][$this->data['domestic']][$i]['net_profit'] * 100 / $sales[2][$this->data['domestic']][$i]['net_sales']; } echo \implode(',', $temp); ?> ], "yAxisID": "y1", "fill": false, "tension": 0.0, "borderColor": "rgb(46, 204, 113)", "backgroundColor": "rgb(46, 204, 113)" }, { "label": "getHtml('Sales'); ?> PY", "type": "bar", "data": [ data['domestic']][$i]['net_sales'] ?? 0) / 10000; } echo \implode(',', $temp); ?> ], "yAxisID": "y", "fill": false, "tension": 0.0, "backgroundColor": "rgb(177, 195, 206)" }, { "label": "getHtml('Sales'); ?> A", "type": "bar", "data": [ data['domestic']][$i]['net_sales'] ?? 0) / 10000; } echo \implode(',', $temp); ?> ], "yAxisID": "y", "fill": false, "tension": 0.0, "backgroundColor": "rgb(54, 162, 235)" } ] }, "options": { "responsive": true, "scales": { "x": { "title": { "display": true, "text": "getHtml('Months'); ?>" } }, "y": { "title": { "display": true, "text": "getHtml('Sales'); ?>" }, "display": true, "position": "left" }, "y1": { "title": { "display": true, "text": "getHtml('Profit'); ?> %" }, "display": true, "position": "right", "scaleLabel": { "display": true, "labelString": "getHtml('Profit'); ?>" }, "grid": { "drawOnChartArea": false } } } } }'>
data['domestic']][$i]['net_sales'] ?? 0); $sum2 += (int) ($sales[2][$this->data['domestic']][$i]['net_sales'] ?? 0); $sum3 += (int) ($sales[1][$this->data['domestic']][$i]['net_profit'] ?? 0); $sum4 += (int) ($sales[2][$this->data['domestic']][$i]['net_profit'] ?? 0); ?>
getHtml('Month'); ?> getHtml('SalesPY'); ?> getHtml('SalesA'); ?> getHtml('ProfitPY'); ?> getHtml('ProfitA'); ?>
getCurrency((int) ($sales[1][$this->data['domestic']][$i]['net_sales'] ?? 0)); ?> getCurrency((int) ($sales[2][$this->data['domestic']][$i]['net_sales'] ?? 0)); ?> data['domestic']][$i]['net_sales'] ?? 0) == 0 ? 0 : $sales[1][$this->data['domestic']][$i]['net_profit'] * 100 / $sales[1][$this->data['domestic']][$i]['net_sales']); ?> % data['domestic']][$i]['net_sales'] ?? 0) == 0 ? 0 : $sales[2][$this->data['domestic']][$i]['net_profit'] * 100 / $sales[2][$this->data['domestic']][$i]['net_sales']); ?> %
getHtml('Total'); ?> getCurrency($sum1); ?> getCurrency($sum2); ?> % %
getHtml('SalesProfit'); ?> (getHtml('monthly'); ?>) - getHtml('Export'); ?>
$this->data['monthlyDomesticExportPY'], 2 => $this->data['monthlyDomesticExportCurrent']]; ?>
], "datasets": [ { "label": "getHtml('Profit'); ?> PY", "type": "line", "data": [ ], "yAxisID": "y1", "fill": false, "tension": 0.0, "borderColor": "rgb(166, 193, 178)", "backgroundColor": "rgb(166, 193, 178)" }, { "label": "getHtml('Profit'); ?> A", "type": "line", "data": [ ], "yAxisID": "y1", "fill": false, "tension": 0.0, "borderColor": "rgb(46, 204, 113)", "backgroundColor": "rgb(46, 204, 113)" }, { "label": "getHtml('Sales'); ?> PY", "type": "bar", "data": [ ], "yAxisID": "y", "fill": false, "tension": 0.0, "backgroundColor": "rgb(177, 195, 206)" }, { "label": "getHtml('Sales'); ?> A", "type": "bar", "data": [ ], "yAxisID": "y", "fill": false, "tension": 0.0, "backgroundColor": "rgb(54, 162, 235)" } ] }, "options": { "responsive": true, "scales": { "x": { "title": { "display": true, "text": "getHtml('Months'); ?>" } }, "y": { "title": { "display": true, "text": "getHtml('Sales'); ?>" }, "display": true, "position": "left" }, "y1": { "title": { "display": true, "text": "getHtml('Profit'); ?> %" }, "display": true, "position": "right", "scaleLabel": { "display": true, "labelString": "getHtml('Profit'); ?>" }, "grid": { "drawOnChartArea": false } } } } }'>
getHtml('Month'); ?> getHtml('SalesPY'); ?> getHtml('SalesA'); ?> getHtml('ProfitPY'); ?> getHtml('ProfitA'); ?>
getCurrency((int) ($sales[1]['Other'][$i]['net_sales'] ?? 0)); ?> getCurrency((int) ($sales[2]['Other'][$i]['net_sales'] ?? 0)); ?> % %
getHtml('Total'); ?> getCurrency($sum1); ?> getCurrency($sum2); ?> % %
getHtml('Sales') ?> (getHtml('YTD'); ?>) - getHtml('DomesticExport') ?>
data['ytdADomesticExport'])); ?>" ], "datasets": [{ "data": [ data['ytdADomesticExport'] as $values) { $temp[] = $values['net_sales'] / 10000; } echo \implode(',', $temp); ?> ] }] }, "options": { "responsive": true } }'>
data['ytdADomesticExport'] as $region => $values) : $sum += $values['net_sales']; ?>
getHtml('Region'); ?> getHtml('Sales'); ?>
getCurrency($values['net_sales']); ?>
getHtml('Total'); ?> getCurrency($sum); ?>
getHtml('Sales'); ?> (getHtml('annually'); ?>) - getHtml('DomesticExport'); ?>
format('Y')) + $i; } echo \implode(',', $temp); ?> ], "datasets": [ data['annualDomesticExport'] as $region => $values) : echo ($first ? '' : ','); $first = false; ?>{ "label": "printHtml($region); ?>", "type": "line", "data": [ ], "fill": false, "tension": 0.0 } ] }, "options": { "responsive": true } }'>
data['annualDomesticExport'] as $region => $values) : ?>
getHtml('Region'); ?> data['historyStart']->format('Y')) + $i; ?>
printHtml($region); ?> $annual) : $sum[$idx] = ($sum[$idx] ?? 0) + ($annual['net_sales'] ?? 0); ?> getCurrency($annual['net_sales'] ?? 0, symbol: '', format: 'short', divide: 1000); ?>
getHtml('Total'); ?> getCurrency($value, symbol: '', format: 'short', divide: 1000); ?>
getHtml('Profit') ?> (getHtml('YTD'); ?>) - getHtml('DomesticExport') ?>
data['ytdADomesticExport'])); ?>" ], "datasets": [{ "data": [ data['ytdADomesticExport'] as $values) { $temp[] =$values['net_profit'] / 10000; } echo \implode(',', $temp); ?> ] }] }, "options": { "responsive": true } }'>
data['ytdADomesticExport'] as $region => $values) : $sum += $values['net_profit']; ?>
getHtml('Region'); ?> getHtml('Profit'); ?>
getCurrency($values['net_profit']); ?>
getHtml('Total'); ?> getCurrency($sum); ?>
getHtml('Profit'); ?> (getHtml('annually'); ?>) - getHtml('DomesticExport'); ?>
format('Y')) + $i; } echo \implode(',', $temp); ?> ], "datasets": [ data['annualDomesticExport'] as $region => $values) : echo ($first ? '' : ','); $first = false; ?>{ "label": "printHtml($region); ?>", "type": "line", "data": [ ], "fill": false, "tension": 0.0 } ] }, "options": { "responsive": true, "scales": { "y": { "title": { "display": true, "text": "getHtml('Profit'); ?> %" }, "display": true, "position": "left" } } } }'>
data['annualDomesticExport'] as $region => $values) : ?>
getHtml('Region'); ?> data['historyStart']->format('Y')) + $i; ?>
printHtml($region); ?> $annual) : $sum[$idx] = ($sum[$idx] ?? 0) + ($annual['net_profit'] ?? 0); ?> getCurrency($annual['net_profit'] ?? 0, symbol: '', format: 'short', divide: 1000); ?>
getHtml('Total'); ?> getCurrency($value, symbol: '', format: 'short', divide: 1000); ?>
getHtml('Clients') ?> (getHtml('YTD'); ?>) - getHtml('DomesticExport') ?>
data['ytdADomesticExportCount'])); ?>" ], "datasets": [{ "data": [ data['ytdADomesticExportCount'] as $values) { $temp[] = $values['client_count']; } echo \implode(',', $temp); ?> ] }] }, "options": { "responsive": true } }'>
data['ytdADomesticExportCount'] as $region => $values) : $sum += $values['client_count']; ?>
getHtml('Region'); ?> getHtml('Clients'); ?>
getNumeric($values['client_count'], format: 'very_short'); ?>
getHtml('Total'); ?> getNumeric($sum, format: 'very_short'); ?>
getHtml('Clients'); ?> (getHtml('annually'); ?>) - getHtml('DomesticExport'); ?>
format('Y')) + $i; } echo \implode(',', $temp); ?> ], "datasets": [ data['annualDomesticExportCount'] as $region => $values) : echo ($first ? '' : ','); $first = false; ?>{ "label": "printHtml($region); ?>", "type": "line", "data": [ ], "fill": false, "tension": 0.0 } ] }, "options": { "responsive": true } }'>
data['annualDomesticExportCount'] as $region => $values) : ?>
getHtml('Region'); ?> data['historyStart']->format('Y')) + $i; ?>
printHtml($region); ?> $annual) : $sum[$idx] = ($sum[$idx] ?? 0) + ($annual['client_count'] ?? 0); ?> getNumeric($annual['client_count'] ?? 0, format: 'very_short'); ?>
getHtml('Total'); ?> getNumeric($value, format: 'very_short'); ?>
request->uri->fragment === 'c-tab-2' ? ' checked' : ''; ?>>
getHtml('Sales') ?> (getHtml('YTD'); ?>) - getHtml('Continent') ?>
data['ytdAContinent'])); ?>" ], "datasets": [{ "data": [ data['ytdAContinent'] as $values) { $temp[] = $values['net_sales'] / 10000; } echo \implode(',', $temp); ?> ] }] }, "options": { "responsive": true } }'>
data['ytdAContinent'] as $region => $values) : $sum += $values['net_sales']; ?>
getHtml('Region'); ?> getHtml('Sales'); ?>
getCurrency($values['net_sales']); ?>
getHtml('Total'); ?> getCurrency($sum); ?>
getHtml('Sales'); ?> (getHtml('annually'); ?>) - getHtml('Continent'); ?>
format('Y')) + $i; } echo \implode(',', $temp); ?> ], "datasets": [ data['annualContinent'] as $region => $values) : echo ($first ? '' : ','); $first = false; ?>{ "label": "getHtml($region); ?>", "type": "line", "data": [ ], "fill": false, "tension": 0.0 } ] }, "options": { "responsive": true } }'>
data['annualContinent'] as $region => $values) : ?>
getHtml('Region'); ?> data['historyStart']->format('Y')) + $i; ?>
getHtml($region); ?> $annual) : $sum[$idx] = ($sum[$idx] ?? 0) + ($annual['net_sales'] ?? 0); ?> getCurrency($annual['net_sales'] ?? 0, symbol: '', format: 'short', divide: 1000); ?>
getHtml('Total'); ?> getCurrency($value, symbol: '', format: 'short', divide: 1000); ?>
getHtml('Profit') ?> (getHtml('YTD'); ?>) - getHtml('Continent') ?>
data['ytdAContinent'])); ?>" ], "datasets": [{ "data": [ data['ytdAContinent'] as $values) { $temp[] =$values['net_profit'] / 10000; } echo \implode(',', $temp); ?> ] }] }, "options": { "responsive": true } }'>
data['ytdAContinent'] as $region => $values) : $sum += $values['net_profit']; ?>
getHtml('Region'); ?> getHtml('Profit'); ?>
getCurrency($values['net_profit']); ?>
getHtml('Total'); ?> getCurrency($sum); ?>
getHtml('Profit'); ?> (getHtml('annually'); ?>) - getHtml('Continent'); ?>
format('Y')) + $i; } echo \implode(',', $temp); ?> ], "datasets": [ data['annualContinent'] as $region => $values) : echo ($first ? '' : ','); $first = false; ?>{ "label": "getHtml($region); ?>", "type": "line", "data": [ ], "fill": false, "tension": 0.0 } ] }, "options": { "responsive": true, "scales": { "y": { "title": { "display": true, "text": "getHtml('Profit'); ?> %" }, "display": true, "position": "left" } } } }'>
data['annualContinent'] as $region => $values) : ?>
getHtml('Region'); ?> data['historyStart']->format('Y')) + $i; ?>
getHtml($region); ?> $annual) : $sum[$idx] = ($sum[$idx] ?? 0) + ($annual['net_profit'] ?? 0); ?> getCurrency($annual['net_profit'] ?? 0, symbol: '', format: 'short', divide: 1000); ?>
getHtml('Total'); ?> getCurrency($value, symbol: '', format: 'short', divide: 1000); ?>
getHtml('Clients') ?> (getHtml('YTD'); ?>) - getHtml('Continent') ?>
data['ytdAContinentCount'])); ?>" ], "datasets": [{ "data": [ data['ytdAContinentCount'] as $values) { $temp[] = $values['client_count']; } echo \implode(',', $temp); ?> ] }] }, "options": { "responsive": true } }'>
data['ytdAContinentCount'] as $region => $values) : $sum += $values['client_count']; ?>
getHtml('Region'); ?> getHtml('Clients'); ?>
getNumeric($values['client_count'], format: 'very_short'); ?>
getHtml('Total'); ?> getNumeric($sum, format: 'very_short'); ?>
getHtml('Clients'); ?> (getHtml('annually'); ?>) - getHtml('Continent'); ?>
format('Y')) + $i; } echo \implode(',', $temp); ?> ], "datasets": [ data['annualContinentCount'] as $region => $values) : echo ($first ? '' : ','); $first = false; ?>{ "label": "printHtml($region); ?>", "type": "line", "data": [ ], "fill": false, "tension": 0.0 } ] }, "options": { "responsive": true } }'>
data['annualContinentCount'] as $region => $values) : ?>
getHtml('Region'); ?> data['historyStart']->format('Y')) + $i; ?>
printHtml($region); ?> $annual) : $sum[$idx] = ($sum[$idx] ?? 0) + ($annual['client_count'] ?? 0); ?> getNumeric($annual['client_count'] ?? 0, format: 'very_short'); ?>
getHtml('Total'); ?> getNumeric($value, format: 'very_short'); ?>
request->uri->fragment === 'c-tab-2' ? ' checked' : ''; ?>>
getHtml('Sales'); ?>
data['ytdARegions'] as $type => $values) : ?>
getHtml('Region'); ?> getHtml('SalesPY'); ?> (getHtml('YTD'); ?>) getHtml('SalesA'); ?> (getHtml('YTD'); ?>) getHtml('DiffPY'); ?> (getHtml('YTD'); ?>) getHtml('SalesPY'); ?> (getHtml('MTD'); ?>) getHtml('SalesA'); ?> (getHtml('MTD'); ?>) getHtml('DiffPY'); ?> (getHtml('MTD'); ?>)
printHtml($type); ?> getCurrency((int) ($this->data['ytdPYRegions'][$type]['net_sales'] ?? 0)); ?> getCurrency((int) ($this->data['ytdARegions'][$type]['net_sales'] ?? 0)); ?> getCurrency( ((int) ($this->data['ytdARegions'][$type]['net_sales'] ?? 0)) - ((int) ($this->data['ytdPYRegions'][$type]['net_sales'] ?? 0)) ); ?> getCurrency((int) ($this->data['mtdPYRegions'][$type]['net_sales'] ?? 0)); ?> getCurrency((int) ($this->data['mtdARegions'][$type]['net_sales'] ?? 0)); ?> getCurrency( ((int) ($this->data['mtdARegions'][$type]['net_sales'] ?? 0)) - ((int) ($this->data['mtdPYRegions'][$type]['net_sales'] ?? 0)) ); ?>
request->uri->fragment === 'c-tab-3' ? ' checked' : ''; ?>>
getHtml('Filter'); ?>