Merge pull request #13989 from atm-lena/11.0_FIX_RoundingTotalTVA_PDFCrabeModel

FIX Rounding Total TVA in "crabe" model pdf
This commit is contained in:
Laurent Destailleur 2020-05-28 17:38:52 +02:00 committed by GitHub
commit c3f75ba2ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1275,7 +1275,7 @@ class pdf_crabe extends ModelePDFFactures
$pdf->MultiCell($col2x - $col1x, $tab2_hl, $totalvat, 0, 'L', 1);
$pdf->SetXY($col2x, $tab2_top + $tab2_hl * $index);
$pdf->MultiCell($largcol2, $tab2_hl, price($tvaval, 0, $outputlangs), 0, 'R', 1);
$pdf->MultiCell($largcol2, $tab2_hl, price(price2num($tvaval, 'MT'), 0, $outputlangs), 0, 'R', 1);
}
}