Trad: Traduction de toutes les chaines "Total" dans toutes les pages.

This commit is contained in:
Laurent Destailleur 2004-07-31 13:34:32 +00:00
parent 13274f7251
commit bac25fd037
30 changed files with 105 additions and 78 deletions

View File

@ -1,6 +1,7 @@
<?PHP
/* Copyright (C) 2001-2002 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2003 Jean-Louis Bergamo <jlb@j1b.org>
* Copyright (C) 2003 Jean-Louis Bergamo <jlb@j1b.org>
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -227,17 +228,16 @@ if ($result)
$i++;
}
$var=!$var;
print "<TR $bc[$var]>";
print "<TD>Total</TD>\n";
print "<TD align=\"right\">".price($total)."</TD>\n";
// print "<TD>&nbsp;</TD>\n";
print "<TD align=\"right\" colspan=\"2\">";
print "<tr $bc[$var]>";
print "<td>".$langs->trans("Total")."</td>\n";
print "<td align=\"right\">".price($total)."</td>\n";
print "<td align=\"right\" colspan=\"2\">";
print_fleche_navigation($page,"cotisations.php","&statut=$statut&sortorder=$sortorder&sortfield=$sortfield",1);
print "</TD>\n";
print "</td>\n";
print "</TR>\n";
print "</tr>\n";
print "</table>";
print "<BR>\n";
print "<br>\n";
}

View File

@ -23,6 +23,8 @@
*/
require("./pre.inc.php");
$langs->load("companies");
require(DOL_DOCUMENT_ROOT."/adherents/adherent.class.php");
require(DOL_DOCUMENT_ROOT."/adherents/adherent_type.class.php");
require(DOL_DOCUMENT_ROOT."/adherents/adherent_options.class.php");
@ -365,16 +367,16 @@ if ($action == 'create') {
print '<td valign="top" rowspan="13"><textarea name="comment" wrap="soft" cols="40" rows="25"></textarea></td></tr>';
print '<tr><td>Prénom</td><td><input type="text" name="prenom" size="40"></td></tr>';
print '<tr><td>Nom</td><td><input type="text" name="nom" size="40"></td></tr>';
print '<tr><td>'.$langs->trans("FirstName").'</td><td><input type="text" name="prenom" size="40"></td></tr>';
print '<tr><td>'.$langs->trans("LastName").'</td><td><input type="text" name="nom" size="40"></td></tr>';
print '<tr><td>Societe</td><td><input type="text" name="societe" size="40"></td></tr>';
print '<tr><td>Adresse</td><td>';
print '<textarea name="adresse" wrap="soft" cols="40" rows="3"></textarea></td></tr>';
print '<tr><td>CP Ville</td><td><input type="text" name="cp" size="8"> <input type="text" name="ville" size="40"></td></tr>';
print '<tr><td>Pays</td><td><input type="text" name="pays" size="40"></td></tr>';
print '<tr><td>Email</td><td><input type="text" name="email" size="40"></td></tr>';
print '<tr><td>Login</td><td><input type="text" name="login" size="40"></td></tr>';
print '<tr><td>Password</td><td><input type="password" name="pass" size="40"></td></tr>';
print '<tr><td>'.$langs->trans("EMail").'</td><td><input type="text" name="email" size="40"></td></tr>';
print '<tr><td>'.$langs->trans("Login").'</td><td><input type="text" name="login" size="40"></td></tr>';
print '<tr><td>'.$langs->trans("Password").'</td><td><input type="password" name="pass" size="40"></td></tr>';
print '<tr><td>Date de Naissance<BR>Format AAAA-MM-JJ</td><td><input type="text" name="naiss" size="10"></td></tr>';
print '<tr><td>Url photo</td><td><input type="text" name="photo" size="40"></td></tr>';
foreach($adho->attribute_label as $key=>$value){
@ -409,7 +411,7 @@ if ($action == 'create') {
if (defined("ADHERENT_BANK_USE") && ADHERENT_BANK_USE !=0 && defined("ADHERENT_BANK_USE_AUTO") && ADHERENT_BANK_USE_AUTO !=0){
print '<tr><td>Libelle</td><td><input name="label" type="text" size=20 value="Cotisation " ></td></tr>';
}
print '<tr><td colspan="2" align="center"><input type="submit" value="Enregistrer"></td></tr>';
print '<tr><td colspan="2" align="center"><input type="submit" value="'.$langs->trans("Add").'"></td></tr>';
print "</form>\n";
print "</table>\n";

View File

@ -23,6 +23,9 @@
*/
require("./pre.inc.php");
$langs->load("companies");
llxHeader();
@ -110,7 +113,7 @@ foreach ($AdherentsAll as $key=>$value){
}
$var=!$var;
print "<tr $bc[$var]>";
print '<td> <b>Total</b> </td>';
print '<td> <b>'.$langs->trans("Total").'</b> </td>';
print '<td align="right"><b>'.$SommeA.'</b></td>';
print '<td align="right"><b>'.$SommeB.'</b></td>';
print '<td align="right"><b>'.$SommeC.'</b></td>';
@ -132,7 +135,7 @@ print "</tr>\n";
print "<tr $bc[$var]>";
print '<td>';
print 'Nom/Prénom <input type="text" name="search" class="flat" size="20">';
print $langs->trans("LastName").'/'.$langs->trans("FirstName").' <input type="text" name="search" class="flat" size="20">';
print '&nbsp; <input class="flat" type="submit" value="'.$langs->trans("Search").'">';
print '</td></tr>';

View File

@ -1,5 +1,6 @@
<?PHP
/* Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -39,9 +40,9 @@ $offset = $limit * $page ;
print_barre_liste("Liste des commandes", $page, "ca.php");
print '<p><TABLE border="0" cellspacing="0" cellpadding="4">';
print '<p><table border="0" cellspacing="0" cellpadding="4">';
print '<tr class="liste_titre"><td>Description</td>';
print '<td align="right">Total</td></tr>';
print '<td align="right">'.$langs->trans("LastName").'</td></tr>';
$sql = "SELECT sum(t.value) as value";
$sql .= " FROM ".DB_NAME_OSC.".orders_total as t";

View File

@ -1,6 +1,7 @@
<?PHP
/* Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2003 Éric Seigne <erics@rycks.com>
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -109,7 +110,7 @@ if ($id)
print '<table border="1" width="100%" cellspacing="0" cellpadding="4">';
print "<tr>";
print '<td width="20%">Frais d\'expéditions</td><td width="80%">'.price($commande->total_ot_shipping).' EUR</td></tr>';
print '<td width="20%">Total</td><td width="80%">'.price($commande->total_ot_total).' EUR</td></tr>';
print '<td width="20%">'.$langs->trans("LastName").'</td><td width="80%">'.price($commande->total_ot_total).' EUR</td></tr>';
print "</table>";

View File

@ -1,5 +1,6 @@
<?PHP
/* Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -50,10 +51,10 @@ if ( $db->query($sql) )
{
$num = $db->num_rows();
$i = 0;
print "<p><TABLE border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"4\">";
print "<TR class=\"liste_titre\"><td>Numéro</td><td>Date</td><td>";
print "<table class=\"noborder\" width=\"100%\" cellspacing=\"0\" cellpadding=\"3\">";
print "<tr class=\"liste_titre\"><td>Numéro</td><td>".$langs->trans("Date")."</td><td>";
print_liste_field_titre("Client","commande.php", "customers_name");
print '</td><td align="right">Total</td>';
print '</td><td align="right">'.$langs->trans("Total").'</td>';
// print '<td align="center">Statut</td>';
// print '<td></td>';
print "</TR>\n";

View File

@ -354,8 +354,8 @@ if ($_GET["propalid"])
/*
*
*/
print '<tr><td>Total HT</td><td align="right"><b>'.price($obj->price).'</b> euros</td>';
print '<td align="right">Total TTC</td><td align="right"><b>'.price($propal->total_ttc).'</b> euros</td></tr>';
print '<tr><td>'.$langs->trans("TotalHT").'</td><td align="right"><b>'.price($obj->price).'</b> euros</td>';
print '<td align="right">'.$langs->trans("TotalTTC").'</td><td align="right"><b>'.price($propal->total_ttc).'</b> euros</td></tr>';
/*
*
*/

View File

@ -264,11 +264,11 @@ if ($_GET["action"] == 'create')
print '<tr><td>Proposition</td><td colspan="2">'.$obj->ref.'</td></tr>';
print '<tr><td>Montant HT</td><td colspan="2">'.price($amount).'</td></tr>';
print '<tr><td>TVA</td><td colspan="2">'.price($obj->tva)."</td></tr>";
print '<tr><td>Total TTC</td><td colspan="2">'.price($obj->total)."</td></tr>";
print '<tr><td>'.$langs->trans("TotalTTC").'</td><td colspan="2">'.price($obj->total)."</td></tr>";
}
else
{
print '<tr><td colspan="3">Services/Produits</td></tr>';
print '<tr><td colspan="3">'.$langs->trans("Services").'/'.$langs->trans("Products").'</td></tr>';
print '<tr><td colspan="3">';
/*
*
@ -504,8 +504,8 @@ else
print '<tr><td>TVA</td><td align="right">'.price($commande->total_tva).'</td>';
print '<td>'.MAIN_MONNAIE.'</td></tr>';
print '<tr><td>Total</td><td align="right">'.price($commande->total_ttc).'</td>';
print '<td>'.MAIN_MONNAIE.' TTC</td></tr>';
print '<tr><td>'.$langs->trans("TotalTTC").'</td><td align="right">'.price($commande->total_ttc).'</td>';
print '<td>'.MAIN_MONNAIE.'</td></tr>';
if ($commande->note)
{
print '<tr><td colspan="5">Note : '.nl2br($commande->note)."</td></tr>";

View File

@ -42,7 +42,7 @@ if ($_GET["bid"] == 0)
print '<table class="noborder" width="100%" cellspacing="0" cellpadding="2">';
print "<tr class=\"liste_titre\">";
echo '<td>Description</TD><td align="center">Nb</td><td align="right">Total</td><td align="right">Moyenne</td>';
echo '<td>Description</TD><td align="center">Nb</td><td align="right">'.$langs->trans("Total").'</td><td align="right">Moyenne</td>';
print "</tr>\n";
$sql = "SELECT sum(d.amount) as somme, count(*) as nombre, c.label, c.rowid ";
@ -71,7 +71,7 @@ if ($_GET["bid"] == 0)
}
$db->free();
print "<tr $bc[1]>".'<td colspan="2" align="right">Total</td>';
print "<tr $bc[1]>".'<td colspan="2" align="right">'.$langs->trans("Total").'</td>';
print '<td align="right"><b>'.price($total).'</b></td><td colspan="2">&nbsp;</td></tr>';
}
else
@ -128,7 +128,7 @@ else
$total = $total + (0 - $objp->amount);
}
$db->free();
print "<tr><td colspan=\"2\" align=\"right\">Total</td><td align=\"right\"><b>".price(abs($total))."</b></td><td>".MAIN_MONNAIE."</td></tr>";
print "<tr><td colspan=\"2\" align=\"right\">".$langs->trans("Total")."</td><td align=\"right\"><b>".price(abs($total))."</b></td><td>".MAIN_MONNAIE."</td></tr>";
}
else
{

View File

@ -84,7 +84,7 @@ for ($i = 0 ; $i < sizeof($accounts) ; $i++)
}
$var = !$var;
print "<tr>".'<td colspan="3" align="right"><b>Total</b></td><td align="right"><b>'.price($total).'</b></td><td>&nbsp;</td></tr>';
print "<tr>".'<td colspan="3" align="right"><b>'.$langs->trans("Total").'</b></td><td align="right"><b>'.price($total).'</b></td><td>&nbsp;</td></tr>';
print '<tr class="liste_titre"><td colspan="5">Dettes</td></tr>';
@ -120,7 +120,7 @@ print "<tr ".$bc[$var].">".'<td colspan="3">URSSAF</td><td align="right">'.price
/*
* Total
*/
print "<tr>".'<td colspan="3" align="right"><b>Total</b></td><td align="right"><b>'.price($total).'</b></td><td>&nbsp;</td></tr>';
print "<tr>".'<td colspan="3" align="right"><b>'.$langs->trans("Total").'</b></td><td align="right"><b>'.price($total).'</b></td><td>&nbsp;</td></tr>';
/*

View File

@ -1,5 +1,6 @@
<?PHP
/* Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -129,8 +130,8 @@ if ($_GET["id"] > 0)
print '<tr><td>TVA</td><td align="right">'.price($commande->total_tva).'</td>';
print '<td>'.MAIN_MONNAIE.'</td></tr>';
print '<tr><td>Total</td><td align="right">'.price($commande->total_ttc).'</td>';
print '<td>'.MAIN_MONNAIE.' TTC</td></tr>';
print '<tr><td>'.$langs->trans("TotalTTC").'</td><td align="right">'.price($commande->total_ttc).'</td>';
print '<td>'.MAIN_MONNAIE.'</td></tr>';
if ($commande->note)
{
print '<tr><td colspan="5">Note : '.nl2br($commande->note)."</td></tr>";
@ -287,7 +288,7 @@ if ($_GET["id"] > 0)
$total = $total + $objp->total;
$i++;
}
print "<tr><td align=\"right\" colspan=\"4\">Total : <b>$total</b> Euros HT</td></tr>\n";
print "<tr><td align=\"right\" colspan=\"4\">".$langs->trans("TotalHT").": <b>$total</b> ".MAIN_MONNAIE."</td></tr>\n";
print "</table>";
}
$db->free();

View File

@ -1,5 +1,6 @@
<?PHP
/* Copyright (C) 2001-2002 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -43,24 +44,24 @@ if ($result)
print_titre("Dons");
print '<TABLE border="0" cellspacing="0" cellpadding="4">';
print '<TR class="liste_titre">';
print '<table class="noboerder" cellspacing="0" cellpadding="3">';
print '<tr class="liste_titre">';
print "<td>&nbsp;</td>";
print "<td>Somme</td>";
print "</TR>\n";
print "</tr>\n";
$var=True;
for ($i = 0 ; $i < 4 ; $i++)
{
$var=!$var;
print "<TR $bc[$var]>";
print '<TD><a href="liste.php?statut='.$i.'">'.$libelle[$i].'</a></TD>';
print '<TD align="right">'.price($somme[$i]).'</TD>';
print "<tr $bc[$var]>";
print '<td><a href="liste.php?statut='.$i.'">'.$libelle[$i].'</a></td>';
print '<td align="right">'.price($somme[$i]).'</td>';
$total += $somme[$i];
print "</tr>";
}
print "<tr $bc[0]>".'<td>Total</td><td align="right">'.price($total).'</TD></tr>';
print "<tr $bc[0]>".'<td>'.$langs->trans("Total").'</td><td align="right">'.price($total).'</td></tr>';
print "</table>";

View File

@ -1,5 +1,6 @@
<?PHP
/* Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -45,7 +46,7 @@ if ($result)
print "<tr $bc[1]>";
print '<td>Nombre de dons</td><td align="right">'.$i.'</td></tr>';
print "<tr $bc[0]>".'<td>Total</td><td align="right">'.price($total).'</td>';
print "<tr $bc[0]>".'<td>'.$langs->trans("Total").'</td><td align="right">'.price($total).'</td>';
print "<tr $bc[1]>".'<td>Moyenne</td><td align="right">'.price($total / $i).'</td>';
print "</tr>";

View File

@ -504,7 +504,7 @@ if ($_GET["action"] == 'create')
print '<tr><td>Proposition</td><td colspan="2">'.$obj->ref.'</td></tr>';
print '<tr><td>Montant HT</td><td colspan="2">'.price($amount).'</td></tr>';
print '<tr><td>TVA</td><td colspan="2">'.price($obj->tva)."</td></tr>";
print '<tr><td>Total TTC</td><td colspan="2">'.price($obj->total)."</td></tr>";
print '<tr><td>'.$langs->trans("TotalTTC").'</td><td colspan="2">'.price($obj->total)."</td></tr>";
}
elseif ($_GET["commandeid"] > 0)
{
@ -512,7 +512,7 @@ if ($_GET["action"] == 'create')
print '<tr><td>Commande</td><td colspan="2">'.$commande->ref.'</td></tr>';
print '<tr><td>Montant HT</td><td colspan="2">'.price($commande->total_ht).'</td></tr>';
print '<tr><td>TVA</td><td colspan="2">'.price($commande->total_tva)."</td></tr>";
print '<tr><td>Total TTC</td><td colspan="2">'.price($commande->total_ttc)."</td></tr>";
print '<tr><td>'.$langs->trans("TotalTTC").'</td><td colspan="2">'.price($commande->total_ttc)."</td></tr>";
}
else
{
@ -1531,12 +1531,12 @@ else
}
if ($num <= $limit) {
// Print total
// Print total
print "<tr ".$bc[!$var].">";
print "<td colspan=3 align=\"left\">Total : </TD>";
print "<td align=\"right\"><b>".price($total)."</b></TD>";
print "<td align=\"right\"><b>".price($total_ttc)."</b></TD>";
print "<td align=\"right\"><b>".price($totalrecu)."</b></TD>";
print "<td colspan=3 align=\"left\">".$langs->trans("Total").": </td>";
print "<td align=\"right\"><b>".price($total)."</b></td>";
print "<td align=\"right\"><b>".price($total_ttc)."</b></td>";
print "<td align=\"right\"><b>".price($totalrecu)."</b></td>";
print '<td align="center">&nbsp;</td>';
print "</tr>\n";
}

View File

@ -1,5 +1,6 @@
<?PHP
/* Copyright (C) 2002-2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -289,8 +290,8 @@ else
print '<tr><td>TVA</td><td align="right" colspan="2">'.price($fac->total_tva).'</td>';
print '<td>'.MAIN_MONNAIE.'</td></tr>';
print '<tr><td>Total</td><td align="right" colspan="2">'.price($fac->total_ttc).'</td>';
print '<td>'.MAIN_MONNAIE.' TTC</td></tr>';
print '<tr><td>'.$langs->trans("TotalTTC").'</td><td align="right" colspan="2">'.price($fac->total_ttc).'</td>';
print '<td>'.MAIN_MONNAIE.'</td></tr>';
if ($fac->note)
{
print '<tr><td colspan="5">Note : '.nl2br($fac->note)."</td></tr>";
@ -303,7 +304,7 @@ else
*/
print_titre("Produits");
print '<TABLE border="0" width="100%" cellspacing="0" cellpadding="3">';
print '<table border="0" width="100%" cellspacing="0" cellpadding="3">';
print '<tr class="liste_titre"><td>Réf</td><td>Produit</td>';
print '<td align="right">Prix</td><td align="center">Remise</td><td align="center">Qté.</td></tr>';

View File

@ -295,7 +295,7 @@ if ($_GET["action"] == 'create')
{
// Print total
print "<tr ".$bc[!$var].">";
print '<td colspan="2" align="left">Total :</td>';
print '<td colspan="2" align="left">'.$langs->trans("TotalTTC").':</td>';
print "<td align=\"right\"><b>".price($total_ttc)."</b></td>";
print "<td align=\"right\"><b>".price($totalrecu)."</b></td>";
print "<td align=\"right\"><b>".price($total_ttc - $totalrecu)."</b></td>";

View File

@ -1,5 +1,5 @@
<?PHP
/* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
/* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -315,7 +315,7 @@ if ($_GET["action"] == 'create')
{
// Print total
print "<tr ".$bc[!$var].">";
print '<td colspan="2" align="left">Total :</td>';
print '<td colspan="2" align="left">'.$langs->trans("TotalTTC").':</td>';
print "<td align=\"right\"><b>".price($total_ttc)."</b></td>";
print "<td align=\"right\"><b>".price($totalrecu)."</b></td>";
print "<td align=\"right\"><b>".price($total_ttc - $totalrecu)."</b></td>";

View File

@ -258,7 +258,7 @@ if ($_GET["propalid"])
$total = $total + $objp->total;
$i++;
}
print "<tr><td align=\"right\" colspan=\"4\">Total : <b>$total</b> Euros HT</td></tr>\n";
print "<tr><td align=\"right\" colspan=\"4\">".$langs->trans("TotalHT").": <b>$total</b> ".MAIN_MONNAIE."</td></tr>\n";
print "</table>";
$db->free();
}

View File

@ -1,5 +1,6 @@
<?PHP
/* Copyright (C) 2001-2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -58,7 +59,7 @@ function pt ($db, $sql, $title) {
$total = $total + $obj->amount;
$i++;
}
print "<tr class=\"total\"><td colspan=\"2\" align=\"right\"><b>Total : ".price($total)."</b> ".MAIN_MONNAIE." HT</td></tr>";
print "<tr class=\"total\"><td colspan=\"2\" align=\"right\"><b>".$langs->trans("TotalHT").": ".price($total)."</b> ".MAIN_MONNAIE."</td></tr>";
$db->free();
}

View File

@ -1,5 +1,6 @@
<?PHP
/* Copyright (C) 2001-2002 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
*
* $Id$
* $Source$
@ -53,7 +54,7 @@ function pt ($db, $sql, $date) {
$i++;
}
print "<tr><td align=\"right\">Total :</td><td align=\"right\"><b>".price($total)."</b></td><td>euros&nbsp;HT</td></tr>";
print "<tr><td align=\"right\">".$langs->trans("TotalHT").":</td><td align=\"right\"><b>".price($total)."</b></td><td>".MAIN_MONNAIE."</td></tr>";
print "</TABLE>";
$db->free();

View File

@ -171,7 +171,7 @@ for ($y = $year_current ; $y >= $year_start ; $y=$y-1 ) {
$subtotal = 0;
}
}
print '<tr class="total"><td align="right" colspan="3">Total :</td><td nowrap align="right"><b>'.price($total).'</b></td>';
print '<tr class="total"><td align="right" colspan="3">'.$langs->trans("Total").':</td><td nowrap align="right"><b>'.price($total).'</b></td>';
print "<td>&nbsp;</td>\n";
print "</table>";

View File

@ -46,8 +46,8 @@ if ($result)
print '<br>';
print '<table class="noborder" width="100%" cellspacing="0" cellpadding="3">';
print '<tr class="liste_titre">';
print "<td width=\"60%\">Date</td>";
print "<td align=\"right\">Montant</td>";
print "<td width=\"60%\">".$langs->trans("Date")."</td>";
print "<td align=\"right\">".$langs->trans("Amount")."</td>";
print "<td>&nbsp;</td>\n";
print "</tr>\n";
$var=1;
@ -64,8 +64,8 @@ if ($result)
$i++;
}
print "<tr class=\"total\"><td align=\"right\">Total :</td>";
print "<td align=\"right\"><b>".price($total)."</b></td><td>euros&nbsp;HT</td></tr>";
print "<tr class=\"total\"><td align=\"right\">".$langs->trans("TotalHT").":</td>";
print "<td align=\"right\"><b>".price($total)."</b></td><td>".MAIN_MONNAIE."</td></tr>";
print "</table>";
$db->free();

View File

@ -1,5 +1,6 @@
<?PHP
/* Copyright (C) 2001-2002 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -62,7 +63,7 @@ if ($result) {
$db->free();
}
print "<tr><td align=\"right\" colspan=\"2\">Total :</td>";
print "<tr><td align=\"right\" colspan=\"2\">".$langs->trans("TotalHT").":</td>";
print "<td align=\"right\"><b>".price($total)."</b></td></tr>\n";

View File

@ -337,7 +337,7 @@ else
print '<tr class="liste_titre"><td>Libellé</td><td align="center">P.U. HT</td><td align="center">Quantité</td><td align="center">Total HT</td>';
print '<td align="center">Taux TVA</td>';
print '<td align="center">TVA</td>';
print '<td align="right">Total TTC</td><td>&nbsp;</td></tr>';
print '<td align="right">'.$langs->trans("TotalTTC").'</td><td>&nbsp;</td></tr>';
for ($i = 0 ; $i < sizeof($fac->lignes) ; $i++)
{
print "<tr $bc[1]>".'<td>'.$fac->lignes[$i][0]."</td>";
@ -410,9 +410,9 @@ else
print "<tr><td>Auteur</td><td colspan=\"4\">$authorfullname</td>";
print "<tr><td>Statut</td><td colspan=\"4\">".$fac->LibStatut($fac->paye,$fac->statut)."</td></tr>";
print "<tr>".'<td>&nbsp</td><td>Total HT</td><td align="right"><b>'.price($fac->total_ht)."</b></td>";
print "<tr>".'<td>&nbsp</td><td>'.$langs->trans("TotalHT").'</td><td align="right"><b>'.price($fac->total_ht)."</b></td>";
print '<td align="right">TVA</td><td align="right">'.price($fac->total_tva)."</td></tr>";
print "<tr>".'<td>&nbsp</td><td>Total TTC</td><td colspan="3" align="center">'.price($fac->total_ttc)."</td></tr>";
print "<tr>".'<td>&nbsp</td><td>'.$langs->trans("TotalTTC").'</td><td colspan="3" align="center">'.price($fac->total_ttc)."</td></tr>";
if (strlen($fac->note))
{
print "<tr>".'<td>Commentaires</td><td colspan="4">';
@ -500,7 +500,7 @@ else
print '<tr class="liste_titre"><td>Libellé</td><td align="center">P.U. HT</td><td align="center">Qantité</td><td align="center">Total HT</td>';
print '<td align="center">Taux TVA</td>';
print '<td align="center">TVA</td>';
print '<td align="right">Total TTC</td></tr>';
print '<td align="right">'.$langs->trans("TotalTTC").'</td></tr>';
$var=1;
for ($i = 0 ; $i < sizeof($fac->lignes) ; $i++)
{

View File

@ -4,7 +4,7 @@ Company=Company
Companies=Companies
Name=Name
LastName=Lastname
Firstname=Firstname
FirstName=Firstname
Surname=Surname/Pseudo
Address=Addrese
State=State

View File

@ -54,3 +54,8 @@ Cut=Cut
Copy=Copy
Paste=Paste
Default=Default
Amount=Montant
Total=Total
TotalHT=Total HT
TotalTTC=Total TTC
Delta=Delta

View File

@ -53,4 +53,9 @@ Second=Seconde
Cut=Couper
Copy=Copier
Paste=Coller
Default=Defaut
Default=Defaut
Amount=Amount
Total=Total
TotalHT=Total HT
TotalTTC=Total TTC
Delta=Ecart

View File

@ -153,7 +153,7 @@ if ($_GET["id"])
$i++;
}
}
print '<tr><td align="right">Total : </td><td>'.$total."</td></tr></table>";
print '<tr><td align="right">'.$langs->trans("Total").':</td><td>'.$total."</td></tr></table>";

View File

@ -1,5 +1,6 @@
<?PHP
/* Copyright (C) 2001-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -85,8 +86,8 @@ if (sizeof($commandes)>0 && is_array($commandes))
}
print '<tr><td>'.$i.' commandes</td><td>&nbsp;</td>';
print '<td align="right">Total : '.price($total).'</td>';
print '<td align="right">'.MAIN_MONNAIE.' HT</td></tr>';
print '<td align="right">'.$langs->trans("TotalHT").': '.price($total).'</td>';
print '<td align="right">'.MAIN_MONNAIE.'</td></tr>';
print "</table>";
}

View File

@ -1,6 +1,7 @@
<?PHP
/* Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
/* Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2003 Association FSF France <contact@fsffrance.org>
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -90,7 +91,7 @@ if ( $db->query( $sql) )
$var=!$var;
print "<TR $bc[$var]>";
print '<TD colspan="3" align="right">Total : '.number_format($total,2,'.',' ').' euros</TD></tr>';
print '<TD colspan="3" align="right">'.$langs->trans("Total").': '.number_format($total,2,'.',' ').' euros</TD></tr>';
print "</table>";