Merge branch 'bootstrap' of https://github.com/PrestaShop/PrestaShop into bootstrap
# By Jérôme Nadaud # Via Jérôme Nadaud * 'bootstrap' of https://github.com/PrestaShop/PrestaShop: [-] BO : Order template misplaced empty form [+] BO : Handler invoice date generation button
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -213,7 +213,7 @@ class AdminInvoicesControllerCore extends AdminController
|
|||||||
|
|
||||||
public function postProcess()
|
public function postProcess()
|
||||||
{
|
{
|
||||||
if (Tools::getValue('submitAddinvoice_date'))
|
if (Tools::isSubmit('submitAddinvoice_date'))
|
||||||
{
|
{
|
||||||
if (!Validate::isDate(Tools::getValue('date_from')))
|
if (!Validate::isDate(Tools::getValue('date_from')))
|
||||||
$this->errors[] = $this->l('Invalid "From" date');
|
$this->errors[] = $this->l('Invalid "From" date');
|
||||||
|
|||||||
Reference in New Issue
Block a user