Added new cols in address for export, fixed some issues in the order refund request controller, formatted the bool values to yes/no in the export files

This commit is contained in:
vishalsingh.qlo325
2025-04-29 18:52:47 +05:30
parent 4bb105ea52
commit 1e490686c1
5 changed files with 93 additions and 16 deletions

View File

@@ -380,6 +380,29 @@ class AdminAddressesControllerCore extends AdminController
return parent::renderForm();
}
public function processExport($text_delimiter = '"')
{
$this->fields_list = array_merge($this->fields_list, array(
'email' => array(
'title' => $this->l('Customer Email')
),
'phone' => array(
'title' => $this->l('Phone')
),
'phone_mobile' => array(
'title' => $this->l('Mobile phone')
),
'dni' => array(
'title' => $this->l('Identification Number')
),
'vat_number' => array(
'title' => $this->l('VAT number')
),
));
return parent::processExport($text_delimiter);
}
// public function postProcess()
// {