Merge branch 'ticket-simplemulti_invoice' into develop
This commit is contained in:
commit
9fb4d1786c
@ -468,6 +468,11 @@ class AdminInvoices extends AdminTab
|
||||
include_once(dirname(__FILE__).'/../../modules/privatesales/Sale.php');
|
||||
$id_sales = Tools::getValue('multi2');
|
||||
|
||||
foreach ($_COOKIE as $name => $value) {
|
||||
if (preg_match('/^checked_sale_/', $name)) {
|
||||
setcookie($name, "", time() - 3600);
|
||||
}
|
||||
}
|
||||
// Save Sales as checked
|
||||
foreach ($id_sales as $id) {
|
||||
setcookie('checked_sale_'.(int)$id, (int)$id, time()+(60*60*24*360));
|
||||
|
Loading…
Reference in New Issue
Block a user