// revert to revision 14160

This commit is contained in:
lLefevre
2012-03-14 15:05:13 +00:00
parent e9c3b1f7d4
commit 9f4e2698ee
37 changed files with 101 additions and 101 deletions
+2 -2
View File
@@ -112,9 +112,9 @@ class AdminSlipControllerCore extends AdminController
if (Tools::getValue('submitAddorder_slip'))
{
if (!Validate::isDate(Tools::getValue('date_from')))
$this->errors[] = $this->l('Invalid "From" date');
$this->errors[] = $this->l('Invalid \\"From\\" date');
if (!Validate::isDate(Tools::getValue('date_to')))
$this->errors[] = $this->l('Invalid "To" date');
$this->errors[] = $this->l('Invalid \\"To\\" date');
if (!count($this->errors))
{
$order_slips = OrderSlip::getSlipsIdByDate(Tools::getValue('date_from'), Tools::getValue('date_to'));