From d2652c6bfd1970366006c390ddbc3dfd4646a43c Mon Sep 17 00:00:00 2001 From: vAugagneur Date: Wed, 9 May 2012 14:20:13 +0000 Subject: [PATCH] [-] BO : fixed bug #PSCFV-2259 - "Contact options" section is missing from Customers > Contacts page --- .../admin/AdminCustomerThreadsController.php | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/controllers/admin/AdminCustomerThreadsController.php b/controllers/admin/AdminCustomerThreadsController.php index f17e143a6..6e354cc57 100644 --- a/controllers/admin/AdminCustomerThreadsController.php +++ b/controllers/admin/AdminCustomerThreadsController.php @@ -130,6 +130,24 @@ class AdminCustomerThreadsControllerCore extends AdminController $this->shopLinkType = 'shop'; $this->fields_options = array( + 'contact' => array( + 'title' => $this->l('Contact options'), + 'fields' => array( + 'PS_CUSTOMER_SERVICE_FILE_UPLOAD' => array( + 'title' => $this->l('Allow file upload'), + 'desc' => $this->l('Allow customers to upload file using contact page'), + 'type' => 'bool' + ), + 'PS_CUSTOMER_SERVICE_SIGNATURE' => array( + 'title' => $this->l('Allow file upload'), + 'desc' => $this->l('Please fill the message that appears by default when you answer a thread on the customer service page'), + 'type' => 'textareaLang', + 'lang' => true, + 'rows' => 10, + 'cols' => 40 + ) + ), + ), 'general' => array( 'title' => $this->l('Customer service options'), 'fields' => array(