// Remove AdminPdf controller and move its configuration in AdminInvoices controller

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13735 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie
2012-02-29 12:41:05 +00:00
parent 2da79de4b7
commit bf6084e8b5
9 changed files with 21 additions and 103 deletions
+10 -3
View File
@@ -31,6 +31,8 @@ class AdminInvoicesControllerCore extends AdminController
{
$this->table = 'invoice';
parent::__construct();
$this->options = array(
'general' => array(
'title' => $this->l('Invoice options'),
@@ -68,13 +70,18 @@ class AdminInvoicesControllerCore extends AdminController
'type' => 'select',
'identifier' => 'value',
'list' => $this->getInvoicesModels()
),
'PS_PDF_USE_CACHE' => array(
'title' => $this->l('Use disk as cache for PDF invoices'),
'desc' => $this->l('Save memory but slow down the rendering process.'),
'validation' => 'isBool',
'cast' => 'intval',
'type' => 'bool'
)
),
'submit' => array()
),
)
);
parent::__construct();
}
public function initFormByDate()