Merge pull request #14061 from atm-gauthier/10.0_fix_progress_pdf

FIX : percent must be displayed on one line
This commit is contained in:
Laurent Destailleur 2020-06-12 14:50:49 +02:00 committed by GitHub
commit 72130dacb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -593,7 +593,7 @@ class pdf_crabe extends ModelePDFFactures
{
$progress = pdf_getlineprogress($object, $i, $outputlangs, $hidedetails);
$pdf->SetXY($this->posxprogress, $curY);
$pdf->MultiCell($this->postotalht-$this->posxprogress-1, 3, $progress, 0, 'R');
$pdf->MultiCell($this->postotalht-$this->posxprogress+1, 3, $progress, 0, 'R');
}
// Total HT line