Merge branch 'ticket-12236-UpdateBDCLog' into develop

This commit is contained in:
Marion Muszynski 2017-01-17 15:13:40 +01:00
commit a84f9e6633

View File

@ -1157,19 +1157,25 @@ if(Tools::getValue('action') == 'getOrderForm' && ( ( $id_category = Tools::getV
$activeSheet->getStyle($letter_product_M1.$i)->getFont()->setBold(true);
$activeSheet->getStyle($letter_product_M1.$i)->applyFromArray($borders_style);
$activeSheet->SetCellValue($letter_product_colisage.$i, '=SUM('.$letter_product_colisage.($iOri).':'.$letter_product_colisage.($i-1).')');
$activeSheet->getStyle($letter_product_colisage.$i)->getFont()->setBold(true);
$activeSheet->getStyle($letter_product_colisage.$i)->applyFromArray($borders_style);
$activeSheet->SetCellValue($letter_product_stock3btk.$i, '=SUM('.$letter_product_stock3btk.($iOri).':'.$letter_product_stock3btk.($i-1).')');
$activeSheet->getStyle($letter_product_stock3btk.$i)->getFont()->setBold(true);
$activeSheet->getStyle($letter_product_stock3btk.$i)->applyFromArray($borders_style);
$activeSheet->SetCellValue($letter_product_missing.$i, '=SUM('.$letter_product_missing.($iOri).':'.$letter_product_missing.($i-1).')');
$activeSheet->getStyle($letter_product_missing.$i)->getFont()->setBold(true);
$activeSheet->getStyle($letter_product_missing.$i)->applyFromArray($borders_style);
$activeSheet->SetCellValue($letter_product_total_qty.$i, '=SUM('.$letter_product_total_qty.($iOri).':'.$letter_product_total_qty.($i-1).')');
$activeSheet->getStyle($letter_product_total_qty.$i)->getFont()->setBold(true);
$activeSheet->getStyle($letter_product_total_qty.$i)->applyFromArray($borders_style);
$activeSheet->SetCellValue($letter_product_to_sent.$i, '=SUM('.$letter_product_to_sent.($iOri).':'.$letter_product_to_sent.($i-1).')');
$activeSheet->getStyle($letter_product_to_sent.$i)->getFont()->setBold(true);
$activeSheet->getStyle($letter_product_to_sent.$i)->applyFromArray($borders_style);
$activeSheet->SetCellValue($letter_product_to_stock.$i, '=SUM('.$letter_product_to_stock.($iOri).':'.$letter_product_to_stock.($i-1).')');
$activeSheet->getStyle($letter_product_to_stock.$i)->getFont()->setBold(true);
$activeSheet->getStyle($letter_product_to_stock.$i)->applyFromArray($borders_style);
$activeSheet->SetCellValue($letter_product_shipped.$i, '=SUM('.$letter_product_shipped.($iOri).':'.$letter_product_shipped.($i-1).')');
$activeSheet->getStyle($letter_product_shipped.$i)->getFont()->setBold(true);
$activeSheet->getStyle($letter_product_shipped.$i)->applyFromArray($borders_style);
$activeSheet->getColumnDimension($firstColumn)->setWidth(25);
$activeSheet->getColumnDimension($letter_product_ref_interne)->setWidth(25);
@ -1180,10 +1186,11 @@ if(Tools::getValue('action') == 'getOrderForm' && ( ( $id_category = Tools::getV
$activeSheet->getColumnDimension($letter_product_ht)->setWidth(13);
$activeSheet->getColumnDimension($letter_product_multi)->setWidth(13);
$activeSheet->getColumnDimension($letter_product_M1)->setWidth(13);
$activeSheet->getColumnDimension($letter_product_colisage)->setWidth(13);
$activeSheet->getColumnDimension($letter_product_stock3btk)->setWidth(13);
$activeSheet->getColumnDimension($letter_product_missing)->setWidth(13);
$activeSheet->getColumnDimension($letter_product_total_qty)->setWidth(13);
$activeSheet->getColumnDimension($letter_product_to_sent)->setWidth(13);
$activeSheet->getColumnDimension($letter_product_to_stock)->setWidth(13);
$activeSheet->getColumnDimension($letter_product_shipped)->setWidth(13);
$i++;