13453 - remove column "ID attribut" in private sales BDC export

This commit is contained in:
Rodney Figaro 2017-06-12 17:34:47 +02:00
parent 052ec16055
commit fd851e7649

View File

@ -65,16 +65,18 @@ class MakeFile {
if($show_product_ids)
{
$letter_product = 'C';
$letter_product_attribute = 'D';
$letter_product_quantite = 'E';
$letter_product_name = 'F';
$letter_prix_unitaire = 'G';
$letter_prix_total = 'H';
//antadis 13453
//$letter_product_attribute = 'D';
$letter_product_quantite = 'D';
$letter_product_name = 'E';
$letter_prix_unitaire = 'F';
$letter_prix_total = 'G';
$letter_total_title = 'G';
$letter_total_resultat = 'H';
$letter_total_title = 'F';
$letter_total_resultat = 'G';
$lastColumn = 'H';
$lastColumn = 'G';
//antadis 13453
}
else
{
@ -248,9 +250,11 @@ class MakeFile {
$activeSheet->SetCellValue($letter_product.$i, 'ID Produit');
$activeSheet->getStyle($letter_product.$i)->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER);
$activeSheet->getStyle($letter_product.$i)->getFont()->setBold(true);
$activeSheet->SetCellValue($letter_product_attribute.$i, 'ID Attribut');
$activeSheet->getStyle($letter_product_attribute.$i)->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER);
$activeSheet->getStyle($letter_product_attribute.$i)->getFont()->setBold(true);
// antadis 13453
// $activeSheet->SetCellValue($letter_product_attribute.$i, 'ID Attribut');
// $activeSheet->getStyle($letter_product_attribute.$i)->getAlignment()->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER);
// $activeSheet->getStyle($letter_product_attribute.$i)->getFont()->setBold(true);
// end antadis 13453
}
$activeSheet->SetCellValue($letter_product_quantite.$i, 'Quantité');
@ -316,7 +320,9 @@ class MakeFile {
if($show_product_ids)
{
$activeSheet->SetCellValue($letter_product.$i, $values['line']['product_id']);
$activeSheet->SetCellValue($letter_product_attribute.$i, $values['line']['product_attribute_id']);
// antadis 13453
// $activeSheet->SetCellValue($letter_product_attribute.$i, $values['line']['product_attribute_id']);
// end antadis
}
$activeSheet->SetCellValue($letter_product_quantite.$i, $values['total']);