Merge pull request #6057 from atm-alexis/5.0_FIX_typhon_model

FIX column too small, header on 2 lines
This commit is contained in:
Laurent Destailleur 2016-11-29 23:23:19 +01:00 committed by GitHub
commit ef029dc602

View File

@ -315,9 +315,9 @@ class pdf_typhon extends ModelePDFDeliveryOrder
$height_note=0; $height_note=0;
} }
$iniY = $tab_top + 7; $iniY = $tab_top + 11;
$curY = $tab_top + 7; $curY = $tab_top + 11;
$nexY = $tab_top + 7; $nexY = $tab_top + 11;
// Loop on each lines // Loop on each lines
for ($i = 0 ; $i < $nblines ; $i++) for ($i = 0 ; $i < $nblines ; $i++)
@ -637,7 +637,7 @@ class pdf_typhon extends ModelePDFDeliveryOrder
if (empty($hidetop)) if (empty($hidetop))
{ {
$pdf->line($this->marge_gauche, $tab_top+6, $this->page_largeur-$this->marge_droite, $tab_top+6); $pdf->line($this->marge_gauche, $tab_top+10, $this->page_largeur-$this->marge_droite, $tab_top+10);
} }
$pdf->SetDrawColor(128,128,128); $pdf->SetDrawColor(128,128,128);