// Update Accounting form
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10226 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -154,6 +154,9 @@ class AdminAccountingExportControllerCore extends AdminController
|
||||
|
||||
$this->context->smarty->assign(array(
|
||||
'clientPrefix' => Configuration::get('ACCOUNTING_CLIENT_PREFIX_EXPORT'),
|
||||
'journal' => Configuration::get('ACCOUNTING_JOURNAL_EXPORT'),
|
||||
'begin_date' => Tools::getValue('beginDate'),
|
||||
'end_date' => Tools::getValue('endDate'),
|
||||
'pathAccountExportTpl' => $this->pathAccountExportTpl,
|
||||
'urlDownload' => Tools::getShopDomain().'/download/'
|
||||
));
|
||||
@@ -201,6 +204,7 @@ class AdminAccountingExportControllerCore extends AdminController
|
||||
break;
|
||||
case 'global_export':
|
||||
$this->runGlobalExport();
|
||||
Configuration::updateValue('ACCOUNTING_JOURNAL_EXPORT', Tools::getValue('journal'));
|
||||
break;
|
||||
default:
|
||||
// If not defined, set export type to default
|
||||
|
||||
Reference in New Issue
Block a user