Fixed: Booking KPIs data in backoffice order list page
This commit is contained in:
@@ -2496,7 +2496,8 @@ class AdminOrdersControllerCore extends AdminController
|
||||
$helper->icon = 'icon-money';
|
||||
$helper->color = 'color2';
|
||||
$helper->title = $this->l('Total Due Amount', null, null, false);
|
||||
$helper->href = $this->context->link->getAdminLink('AdminOrders').'&submitResetorder=1&due_amount_orders=1';
|
||||
$minValue = (float)('0.' . str_repeat('0', (Configuration::get('PS_PRICE_DISPLAY_PRECISION') - 1)) . '1');
|
||||
$helper->href = $this->context->link->getAdminLink('AdminOrders').'&submitFilterorder=1&orderFilter_amount_due%5B0%5D='.$minValue;
|
||||
$helper->source = $this->context->link->getAdminLink('AdminStats').'&ajax=1&action=getKpi&kpi=total_due_amount';
|
||||
$helper->tooltip = $this->l('Total due amount of all the orders created.', null, null, false);
|
||||
$this->kpis[] = $helper;
|
||||
|
||||
Reference in New Issue
Block a user