[-] MO : Not correct display of "date_add" for the discounts
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@6148 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
1499e8bf94
commit
fbe279894a
1 file changed
+1
-2
@@ -131,7 +131,6 @@ if ($ids_discount = LoyaltyModule::getDiscountByIdCustomer((int)($cookie->id_cus
|
|||||||
foreach ($ids_discount AS $key => $discount)
|
foreach ($ids_discount AS $key => $discount)
|
||||||
{
|
{
|
||||||
$discounts[$key] = new Discount((int)$discount['id_discount'], (int)($cookie->id_lang));
|
$discounts[$key] = new Discount((int)$discount['id_discount'], (int)($cookie->id_lang));
|
||||||
$discounts[$key]->date_add = $discount['date_add'];
|
|
||||||
$discounts[$key]->orders = LoyaltyModule::getOrdersByIdDiscount((int)$discount['id_discount']);
|
$discounts[$key]->orders = LoyaltyModule::getOrdersByIdDiscount((int)$discount['id_discount']);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -166,4 +165,4 @@ $smarty->assign(array(
|
|||||||
|
|
||||||
echo Module::display(dirname(__FILE__).'/loyalty.php', 'loyalty.tpl');
|
echo Module::display(dirname(__FILE__).'/loyalty.php', 'loyalty.tpl');
|
||||||
|
|
||||||
include(dirname(__FILE__).'/../../footer.php');
|
include(dirname(__FILE__).'/../../footer.php');
|
||||||
Reference in new issue
Block a user