Merge branch 'ticket-12643-ExportLoyalty' into develop
This commit is contained in:
commit
d606bae3c0
@ -186,7 +186,15 @@ class AdminAntConfigurations extends AdminTab
|
||||
LEFT JOIN `'._DB_PREFIX_.'orders` o ON (o.`id_address_invoice` = a.`id_address`)
|
||||
WHERE o.`id_order` = l.`id_order`
|
||||
) as `nationality`,
|
||||
IFNULL(l.`id_discount`,"Non transforme") as `discount`,
|
||||
CASE
|
||||
WHEN
|
||||
l.`id_discount` = 0 OR
|
||||
l.`id_discount` IS NULL
|
||||
THEN
|
||||
"Non transforme"
|
||||
ELSE
|
||||
l.id_discount
|
||||
END as `discount`,
|
||||
l.`discount_value` as `credit`,
|
||||
DATE_FORMAT(l.`date_add`,"%d/%m/%Y") as `date_generated`,
|
||||
IFNULL(
|
||||
@ -218,7 +226,7 @@ class AdminAntConfigurations extends AdminTab
|
||||
'nationality' => 'Nationalité',
|
||||
'discount' => 'Bon de réduction',
|
||||
'credit' => 'Valeur crédit',
|
||||
'date_generated' => 'Date de génération',
|
||||
'date_generated' => 'Date de génération crédit',
|
||||
'date_used_in_period' => 'Date utilisation (dans la période)',
|
||||
'date_used' => 'Date utilisation',
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user