2
0
forked from Wavyzz/dolibarr

Trad: Traduction suppression categorie

This commit is contained in:
Laurent Destailleur
2007-02-22 21:13:21 +00:00
parent 580b8b0353
commit 64a26798ec

View File

@@ -294,6 +294,7 @@ class pdf_einstein extends ModelePDFCommandes
$pdf->MultiCell(23, 4, $total, 0, 'R', 0);
// Collecte des totaux par valeur de tva dans $this->tva["taux"]=total_tva
$tvaligne=$com->lignes[$i]->total_tva;
if ($com->remise_percent) $tvaligne-=($tvaligne*$com->remise_percent)/100;
$this->tva[(string) $com->lignes[$i]->tva_tx] += $tvaligne;
@@ -597,6 +598,7 @@ class pdf_einstein extends ModelePDFCommandes
// Affichage des totaux de TVA par taux (conform<72>ment <20> r<>glementation)
$pdf->SetFillColor(248,248,248);
foreach( $this->tva as $tvakey => $tvaval )
{
if ($tvakey) // On affiche pas taux 0