Address color red to black Address neolys formatted Add privatesale id in the file name
This commit is contained in:
parent
62de897e8b
commit
21fb81f501
@ -45,7 +45,7 @@ class MakeFile {
|
||||
case self::TYPE_BDC :
|
||||
$show_product_ids = LOGISTIQUE_SHOW_DECIMAL_ID_PRODUCT;
|
||||
// $title = 'Bon de commande ' . $private_sale->name . ' du '.$date_from->getDate('STR').' au '.$date_to->getDate('STR');
|
||||
$title = 'BDC '.$private_sale->title;
|
||||
$title = 'BDC '.$private_sale->title.' - '.$private_sale->id_privatesales;
|
||||
|
||||
$letter_bdc_logo = 'B';
|
||||
$letter_bdc_logo_end = 'C';
|
||||
@ -222,8 +222,9 @@ class MakeFile {
|
||||
$activeSheet->getStyle($letter_address.$i)->getAlignment()->setWrapText(true);
|
||||
$activeSheet->getStyle($letter_address.$i)->getAlignment()->setVertical(PHPExcel_Style_Alignment::VERTICAL_TOP);
|
||||
$activeSheet->getStyle($letter_address.$i)->getFont()->setSize(10);
|
||||
$activeSheet->getStyle($letter_address.$i)->getFont()->getColor()->setRGB('FF0000');
|
||||
$activeSheet->getStyle($letter_address.$i)->getFont()->getColor()->setRGB('000000');
|
||||
$activeSheet->getStyle($letter_address.$i)->getFont()->setBold(true);
|
||||
$activeSheet->getRowDimension($i)->setRowHeight(110);
|
||||
$activeSheet->mergeCells($letter_address.$i.':'.$letter_address_end.$i );
|
||||
|
||||
$activeSheet->mergeCells($letter_address.$iOri.':'.$letter_address.$i );
|
||||
|
Loading…
Reference in New Issue
Block a user