Trad: Traduction du "Dj pay"
This commit is contained in:
parent
099f352003
commit
7f9d700447
@ -161,14 +161,14 @@ if ($_GET["action"] == 'create')
|
||||
|
||||
print "<tr class=\"liste_titre\"><td colspan=\"3\">Charge</td>";
|
||||
|
||||
print '<tr><td>Numéro :</td><td colspan="2">';
|
||||
print '<tr><td>'.$langs->trans("Ref").':</td><td colspan="2">';
|
||||
print '<a href="charges.php?id='.$chid.'">'.$chid.'</a></td></tr>';
|
||||
print "<tr><td>Type charge :</td><td colspan=\"2\">$charge->type_libelle</td></tr>\n";
|
||||
print '<tr><td>'.$langs->trans("Type").":</td><td colspan=\"2\">$charge->type_libelle</td></tr>\n";
|
||||
print "<tr><td>Période :</td><td colspan=\"2\">$charge->periode</td></tr>\n";
|
||||
print '<tr><td>'.$langs->trans("Label").' :</td><td colspan="2">'.$charge->lib."</td></tr>\n";
|
||||
print "<tr><td>Date échéance :</td><td colspan=\"2\">".dolibarr_print_date($charge->date_ech)."</td></tr>\n";
|
||||
|
||||
print "<tr><td>Montant TTC:</td><td colspan=\"2\">".price($charge->amount)." euros</td></tr>";
|
||||
print '<tr><td>'.$langs->trans("AmountTTC").":</td><td colspan=\"2\">".price($charge->amount)." euros</td></tr>";
|
||||
|
||||
$sql = "SELECT sum(p.amount) FROM ".MAIN_DB_PREFIX."paiementcharge as p WHERE p.fk_charge = $chid;";
|
||||
$result = $db->query($sql);
|
||||
@ -176,18 +176,18 @@ if ($_GET["action"] == 'create')
|
||||
$sumpayed = $db->result(0,0);
|
||||
$db->free();
|
||||
}
|
||||
print '<tr><td>Déjà payé TTC</td><td colspan="2"><b>'.price($sumpayed).'</b> euros</td></tr>';
|
||||
print '<tr><td>'.$langs->trans("AlreadyPayed").'</td><td colspan="2"><b>'.price($sumpayed).'</b> euros</td></tr>';
|
||||
|
||||
print "<tr class=\"liste_titre\"><td colspan=\"3\">Paiement</td>";
|
||||
print "<tr class=\"liste_titre\"><td colspan=\"3\">".$langs->trans("Payment").'</td>';
|
||||
|
||||
print "<input type=\"hidden\" name=\"chid\" value=\"$chid\">";
|
||||
|
||||
print "<tr><td>Date :</td><td>";
|
||||
print '<tr><td>'.$langs->trans("Date").' :</td><td>';
|
||||
print_date_select();
|
||||
print "</td>";
|
||||
print '<td>'.$langs->trans("Comments").'</td></tr>';
|
||||
|
||||
print "<tr><td>Type du paiement :</td><td><select name=\"paiementtype\">\n";
|
||||
print '<tr><td>'.$langs->trans("Type")." :</td><td><select name=\"paiementtype\">\n";
|
||||
|
||||
$sql = "SELECT id, libelle FROM ".MAIN_DB_PREFIX."c_paiement ORDER BY id";
|
||||
|
||||
|
||||
@ -315,7 +315,7 @@ class pdf_adytek extends ModelePDFFactures {
|
||||
// $pdf->line(132, $tab2_top + $tab2_height - 7, 200, $tab2_top + $tab2_height - 7 );
|
||||
|
||||
$pdf->SetXY (132, $tab2_top + 0);
|
||||
$pdf->MultiCell(42, $tab2_hl, "Total HT", 0, 'R', 0);
|
||||
$pdf->MultiCell(42, $tab2_hl, $langs->trans("TotalHT"), 0, 'R', 0);
|
||||
|
||||
$pdf->SetXY (174, $tab2_top + 0);
|
||||
$pdf->MultiCell(26, $tab2_hl, price($fac->total_ht + $fac->remise), 0, 'R', 0);
|
||||
@ -323,7 +323,7 @@ class pdf_adytek extends ModelePDFFactures {
|
||||
if ($fac->remise > 0)
|
||||
{
|
||||
$pdf->SetXY (132, $tab2_top + $tab2_hl);
|
||||
$pdf->MultiCell(42, $tab2_hl, "Remise", 0, 'R', 0);
|
||||
$pdf->MultiCell(42, $tab2_hl, $langs->trans("GlobalDiscount"), 0, 'R', 0);
|
||||
|
||||
$pdf->SetXY (174, $tab2_top + $tab2_hl);
|
||||
$pdf->MultiCell(26, $tab2_hl, price($fac->remise), 0, 'R', 0);
|
||||
@ -342,13 +342,13 @@ class pdf_adytek extends ModelePDFFactures {
|
||||
}
|
||||
|
||||
$pdf->SetXY (132, $tab2_top + $tab2_hl * $index);
|
||||
$pdf->MultiCell(42, $tab2_hl, "Total TVA", 0, 'R', 0);
|
||||
$pdf->MultiCell(42, $tab2_hl, $langs->trans("TotalVAT"), 0, 'R', 0);
|
||||
|
||||
$pdf->SetXY (174, $tab2_top + $tab2_hl * $index);
|
||||
$pdf->MultiCell(26, $tab2_hl, price($fac->total_tva), 0, 'R', 0);
|
||||
|
||||
$pdf->SetXY (132, $tab2_top + $tab2_hl * ($index+1));
|
||||
$pdf->MultiCell(42, $tab2_hl, "Total TTC", 0, 'R', 1);
|
||||
$pdf->MultiCell(42, $tab2_hl, $langs->trans("TotalTTC"), 0, 'R', 1);
|
||||
|
||||
$pdf->SetXY (174, $tab2_top + $tab2_hl * ($index+1));
|
||||
$pdf->MultiCell(26, $tab2_hl, price($fac->total_ttc), 0, 'R', 1);
|
||||
@ -358,7 +358,7 @@ class pdf_adytek extends ModelePDFFactures {
|
||||
if ($deja_regle > 0)
|
||||
{
|
||||
$pdf->SetXY (132, $tab2_top + $tab2_hl * ($index+2));
|
||||
$pdf->MultiCell(42, $tab2_hl, "Déjà réglé", 0, 'R', 0);
|
||||
$pdf->MultiCell(42, $tab2_hl, $langs->trans("AlreadyPayed"), 0, 'R', 0);
|
||||
|
||||
$pdf->SetXY (174, $tab2_top + $tab2_hl * ($index+2));
|
||||
$pdf->MultiCell(26, $tab2_hl, price($deja_regle), 0, 'R', 0);
|
||||
|
||||
@ -246,7 +246,7 @@ class pdf_bulot extends ModelePDFFactures {
|
||||
// $pdf->line(132, $tab2_top + $tab2_height - 7, 200, $tab2_top + $tab2_height - 7 );
|
||||
|
||||
$pdf->SetXY (132, $tab2_top + 0);
|
||||
$pdf->MultiCell(42, $tab2_hl, "Total HT", 0, 'R', 0);
|
||||
$pdf->MultiCell(42, $tab2_hl, $langs->trans("TotalHT"), 0, 'R', 0);
|
||||
|
||||
$pdf->SetXY (174, $tab2_top + 0);
|
||||
$pdf->MultiCell(26, $tab2_hl, price($fac->total_ht + $fac->remise), 0, 'R', 0);
|
||||
@ -254,7 +254,7 @@ class pdf_bulot extends ModelePDFFactures {
|
||||
if ($fac->remise > 0)
|
||||
{
|
||||
$pdf->SetXY (132, $tab2_top + $tab2_hl);
|
||||
$pdf->MultiCell(42, $tab2_hl, "Remise", 0, 'R', 0);
|
||||
$pdf->MultiCell(42, $tab2_hl, $langs->trans("GlobalDiscount"), 0, 'R', 0);
|
||||
|
||||
$pdf->SetXY (174, $tab2_top + $tab2_hl);
|
||||
$pdf->MultiCell(26, $tab2_hl, price($fac->remise), 0, 'R', 0);
|
||||
@ -273,13 +273,13 @@ class pdf_bulot extends ModelePDFFactures {
|
||||
}
|
||||
|
||||
$pdf->SetXY (132, $tab2_top + $tab2_hl * $index);
|
||||
$pdf->MultiCell(42, $tab2_hl, "Total TVA", 0, 'R', 0);
|
||||
$pdf->MultiCell(42, $tab2_hl, $langs->trans("TotalVAT"), 0, 'R', 0);
|
||||
|
||||
$pdf->SetXY (174, $tab2_top + $tab2_hl * $index);
|
||||
$pdf->MultiCell(26, $tab2_hl, price($fac->total_tva), 0, 'R', 0);
|
||||
|
||||
$pdf->SetXY (132, $tab2_top + $tab2_hl * ($index+1));
|
||||
$pdf->MultiCell(42, $tab2_hl, "Total TTC", 0, 'R', 1);
|
||||
$pdf->MultiCell(42, $tab2_hl, $langs->trans("TotalTTC"), 0, 'R', 1);
|
||||
|
||||
$pdf->SetXY (174, $tab2_top + $tab2_hl * ($index+1));
|
||||
$pdf->MultiCell(26, $tab2_hl, price($fac->total_ttc), 0, 'R', 1);
|
||||
@ -289,7 +289,7 @@ class pdf_bulot extends ModelePDFFactures {
|
||||
if ($deja_regle > 0)
|
||||
{
|
||||
$pdf->SetXY (132, $tab2_top + $tab2_hl * ($index+2));
|
||||
$pdf->MultiCell(42, $tab2_hl, "Déjà réglé", 0, 'R', 0);
|
||||
$pdf->MultiCell(42, $tab2_hl, $langs->trans("AlreadyPayed"), 0, 'R', 0);
|
||||
|
||||
$pdf->SetXY (174, $tab2_top + $tab2_hl * ($index+2));
|
||||
$pdf->MultiCell(26, $tab2_hl, price($deja_regle), 0, 'R', 0);
|
||||
|
||||
@ -445,7 +445,7 @@ class pdf_crabe extends ModelePDFFactures
|
||||
if ($fac->remise > 0)
|
||||
{
|
||||
$pdf->SetXY ($col1x, $tab2_top + $tab2_hl);
|
||||
$pdf->MultiCell($col2x-$col1x, $tab2_hl, "Remise globale", 0, 'L', 0);
|
||||
$pdf->MultiCell($col2x-$col1x, $tab2_hl, $langs->trans("GlobalDiscount"), 0, 'L', 0);
|
||||
|
||||
$pdf->SetXY ($col2x, $tab2_top + $tab2_hl);
|
||||
$pdf->MultiCell(26, $tab2_hl, "-".$fac->remise_percent."%", 0, 'R', 0);
|
||||
@ -482,7 +482,7 @@ class pdf_crabe extends ModelePDFFactures
|
||||
if ($deja_regle > 0)
|
||||
{
|
||||
$pdf->SetXY ($col1x, $tab2_top + $tab2_hl * ($index+2));
|
||||
$pdf->MultiCell($col2x-$col1x, $tab2_hl, "Déjà réglé", 0, 'L', 0);
|
||||
$pdf->MultiCell($col2x-$col1x, $tab2_hl, $langs->trans("AlreadyPayed"), 0, 'L', 0);
|
||||
|
||||
$pdf->SetXY ($col2x, $tab2_top + $tab2_hl * ($index+2));
|
||||
$pdf->MultiCell(26, $tab2_hl, price($deja_regle), 0, 'R', 0);
|
||||
|
||||
@ -488,7 +488,7 @@ class pdf_oursin extends ModelePDFFactures
|
||||
if ($deja_regle > 0)
|
||||
{
|
||||
$pdf->SetXY ($col1x, $tab2_top + $tab2_hl * ($index+2));
|
||||
$pdf->MultiCell($col2x-$col1x, $tab2_hl, "Déjà réglé", 0, 'L', 0);
|
||||
$pdf->MultiCell($col2x-$col1x, $tab2_hl, $langs->trans("AlreadyPayed"), 0, 'L', 0);
|
||||
|
||||
$pdf->SetXY ($col2x, $tab2_top + $tab2_hl * ($index+2));
|
||||
$pdf->MultiCell(26, $tab2_hl, price($deja_regle), 0, 'R', 0);
|
||||
|
||||
@ -165,13 +165,13 @@ class pdf_tourteau extends ModelePDFFactures {
|
||||
$pdf->line(174, $tab2_top, 174, $tab2_top + $tab2_height);
|
||||
|
||||
$pdf->SetXY (132, $tab2_top + 0);
|
||||
$pdf->MultiCell(42, 8, "Total HT", 0, 'R', 0);
|
||||
$pdf->MultiCell(42, 8, $langs->trans("TotalHT"), 0, 'R', 0);
|
||||
|
||||
$pdf->SetXY (132, $tab2_top + 8);
|
||||
$pdf->MultiCell(42, 8, "Total TVA", 0, 'R', 0);
|
||||
$pdf->MultiCell(42, 8, $langs->trans("TotalVAT"), 0, 'R', 0);
|
||||
|
||||
$pdf->SetXY (132, $tab2_top + 16);
|
||||
$pdf->MultiCell(42, 8, "Total TTC", 1, 'R', 1);
|
||||
$pdf->MultiCell(42, 8, $langs->trans("TotalTTC"), 1, 'R', 1);
|
||||
|
||||
$pdf->SetXY (174, $tab2_top + 0);
|
||||
$pdf->MultiCell(26, 8, price($fac->total_ht), 0, 'R', 0);
|
||||
@ -189,7 +189,7 @@ class pdf_tourteau extends ModelePDFFactures {
|
||||
$pdf->Rect(132, $tab2_top+$tab2_height, 68, 16);
|
||||
|
||||
$pdf->SetXY (132, $tab2_top + 24);
|
||||
$pdf->MultiCell(42, 8, "Déjà réglé", 0, 'R', 0);
|
||||
$pdf->MultiCell(42, 8, $langs->trans("AlreadyPayed"), 0, 'R', 0);
|
||||
|
||||
$pdf->SetXY (132, $tab2_top + 32);
|
||||
$pdf->MultiCell(42, 8, $langs->trans("RemainderToPay"), 1, 'R', 1);
|
||||
|
||||
@ -55,6 +55,6 @@ GlobalDiscount=Remise globale
|
||||
NumberOfBills=Nb de factures
|
||||
NumberOfBillsByMonth=Nb de factures par mois
|
||||
ShowBill=Afficher facture
|
||||
AlreadyPayed=Déjà payé
|
||||
AlreadyPayed=Déjà réglé
|
||||
RemainderToPay=Reste à payer
|
||||
RemainderToTake=Reste à encaisser
|
||||
Loading…
Reference in New Issue
Block a user