Skip to content

Commit

Permalink
add missing translation
Browse files Browse the repository at this point in the history
  • Loading branch information
grandoc committed Oct 14, 2019
1 parent 5056d72 commit e326c23
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions htdocs/core/modules/commande/doc/pdf_einstein.modules.php
Expand Up @@ -307,7 +307,7 @@ public function write_file($object, $outputlangs, $srctemplatepath = '', $hidede

$pdf->SetMargins($this->marge_gauche, $this->marge_haute, $this->marge_droite); // Left, Top, Right

// Positionne $this->atleastonediscount si on a au moins une remise
// Set $this->atleastonediscount if you have at least one discount
for ($i = 0 ; $i < $nblines ; $i++)
{
if ($object->lines[$i]->remise_percent)
Expand Down Expand Up @@ -361,7 +361,7 @@ public function write_file($object, $outputlangs, $srctemplatepath = '', $hidede
}
}

// Affiche notes
// Displays notes
$notetoshow=empty($object->note_public)?'':$object->note_public;
if (! empty($conf->global->MAIN_ADD_SALE_REP_SIGNATURE_IN_NOTE))
{
Expand Down Expand Up @@ -461,7 +461,7 @@ public function write_file($object, $outputlangs, $srctemplatepath = '', $hidede
$pdf->setPage($pageposafter); $curY = $tab_top_newpage;
}

$pdf->SetFont('', '', $default_font_size - 1); // On repositionne la police par defaut
$pdf->SetFont('', '', $default_font_size - 1); // We reposition the default font

// VAT Rate
if (empty($conf->global->MAIN_GENERATE_DOCUMENTS_WITHOUT_VAT) && empty($conf->global->MAIN_GENERATE_DOCUMENTS_WITHOUT_VAT_COLUMN))
Expand Down Expand Up @@ -503,7 +503,7 @@ public function write_file($object, $outputlangs, $srctemplatepath = '', $hidede
$pdf->SetXY($this->postotalht, $curY);
$pdf->MultiCell($this->page_largeur-$this->marge_droite-$this->postotalht, 3, $total_excl_tax, 0, 'R', 0);

// Collecte des totaux par valeur de tva dans $this->tva["taux"]=total_tva
// Collection of totals by value of vat in $this->vat["rate"] = total_tva
if ($conf->multicurrency->enabled && $object->multicurrency_tx != 1) $tvaligne=$object->lines[$i]->multicurrency_total_tva;
else $tvaligne=$object->lines[$i]->total_tva;

Expand Down

0 comments on commit e326c23

Please sign in to comment.