moving ean column to the right place
This commit is contained in:
parent
dc7775ca89
commit
89759dfc68
@ -314,8 +314,8 @@ if(Tools::getValue('action') == 'getOrderForm' && ( ( $id_category = Tools::getV
|
||||
if ($type == 4) {
|
||||
$lastColumn = 'M';
|
||||
|
||||
$letter_product_ref_interne = 'B';
|
||||
$letter_product_ean = 'C';
|
||||
$letter_product_ean = 'B';
|
||||
$letter_product_ref_interne = 'C';
|
||||
$letter_product_name = 'D';
|
||||
$letter_product_attribute_name = 'E';
|
||||
$letter_product_ht = 'F';
|
||||
@ -369,8 +369,8 @@ if(Tools::getValue('action') == 'getOrderForm' && ( ( $id_category = Tools::getV
|
||||
if ($type == 4) {
|
||||
$lastColumn = 'L';
|
||||
|
||||
$letter_product_ref_interne = 'B';
|
||||
$letter_product_ean = 'C';
|
||||
$letter_product_ean = 'B';
|
||||
$letter_product_ref_interne = 'C';
|
||||
$letter_product_name = 'D';
|
||||
//$letter_product_attribute_name = 'E';
|
||||
$letter_product_ht = 'E';
|
||||
@ -710,13 +710,14 @@ if(Tools::getValue('action') == 'getOrderForm' && ( ( $id_category = Tools::getV
|
||||
$activeSheet->getStyle($firstColumn.$i)->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_CENTER);
|
||||
$activeSheet->getStyle($firstColumn.$i)->applyFromArray($borders_style);
|
||||
|
||||
$activeSheet->SetCellValue($letter_product_ean.$i, $lang['EAN']);
|
||||
$activeSheet->getStyle($letter_product_ean.$i)->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_CENTER);
|
||||
$activeSheet->getStyle($letter_product_ean.$i)->applyFromArray($borders_style);
|
||||
|
||||
$activeSheet->SetCellValue($letter_product_ref_interne.$i, $lang['Reference BB']);
|
||||
$activeSheet->getStyle($letter_product_ref_interne.$i)->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_CENTER);
|
||||
$activeSheet->getStyle($letter_product_ref_interne.$i)->applyFromArray($borders_style);
|
||||
|
||||
$activeSheet->SetCellValue($letter_product_ean.$i, $lang['EAN']);
|
||||
$activeSheet->getStyle($letter_product_ean.$i)->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_CENTER);
|
||||
$activeSheet->getStyle($letter_product_ean.$i)->applyFromArray($borders_style);
|
||||
|
||||
$activeSheet->SetCellValue($letter_product_name.$i, $lang['Product Name']);
|
||||
$activeSheet->getStyle($letter_product_name.$i)->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_CENTER);
|
||||
@ -902,11 +903,12 @@ if(Tools::getValue('action') == 'getOrderForm' && ( ( $id_category = Tools::getV
|
||||
$activeSheet->getStyle($firstColumn.$i)->getNumberFormat()->setFormatCode( PHPExcel_Style_NumberFormat::FORMAT_TEXT );
|
||||
$activeSheet->getStyle($firstColumn.$i)->applyFromArray($borders_style);
|
||||
|
||||
$activeSheet->SetCellValue($letter_product_ean.$i, $values['line']['product_ean13']);
|
||||
$activeSheet->getStyle($letter_product_ean.$i)->applyFromArray($borders_style);
|
||||
|
||||
$activeSheet->SetCellValue($letter_product_ref_interne.$i, $values['line']['product_reference']);
|
||||
$activeSheet->getStyle($letter_product_ref_interne.$i)->applyFromArray($borders_style);
|
||||
|
||||
$activeSheet->SetCellValue($letter_product_ean.$i, $values['line']['product_ean13']);
|
||||
$activeSheet->getStyle($letter_product_ean.$i)->applyFromArray($borders_style);
|
||||
|
||||
$activeSheet->SetCellValue($letter_product_name.$i, $values['line']['product_name_base']);
|
||||
$activeSheet->getStyle($letter_product_name.$i)->applyFromArray($borders_style);
|
||||
|
Loading…
Reference in New Issue
Block a user