| Remise globale | ';
if ($commande->brouillon == 1 && $user->rights->commande->creer)
{
print '%';
- print ' | ';
+ print ' | ';
}
else
{
@@ -533,7 +531,7 @@ else
* Lignes de commandes
*
*/
- echo '
';
+ echo '
';
$sql = "SELECT l.fk_product, l.description, l.price, l.qty, l.rowid, l.tva_tx, l.remise_percent, l.subprice";
$sql .= " FROM ".MAIN_DB_PREFIX."commandedet as l WHERE l.fk_commande = $id ORDER BY l.rowid";
@@ -548,9 +546,9 @@ else
{
print '';
print '| '.$langs->trans("Description").' | ';
- print 'Tva | ';
- print 'Quantité | ';
- print 'Remise | ';
+ print ''.$langs->trans("VAT").' | ';
+ print ''.$langs->trans("Qty").' | ';
+ print ''.$langs->trans("Discount").' | ';
print 'P.U. | ';
print ' | | ';
print " \n";
@@ -559,7 +557,7 @@ else
while ($i < $num)
{
$objp = $db->fetch_object();
- print "";
+ print " ";
if ($objp->fk_product > 0)
{
print '| ';
@@ -601,7 +599,7 @@ else
print '';
print '';
print " | ";
- print ' | ';
+ print ' | ';
print ' | ';
print ' % | ';
print ' | ';
@@ -691,7 +689,7 @@ else
if ($commande->statut == 0 && $user->rights->commande->supprimer)
{
- print 'Supprimer';
+ print ''.$langs->trans("Delete").'';
}
if ($commande->statut > 0 && $commande->statut < 3 && $user->rights->expedition->creer)
@@ -704,7 +702,7 @@ else
{
if ($user->rights->commande->valider)
{
- print 'Valider';
+ print ''.$langs->trans("Valid").'';
}
}
@@ -713,7 +711,7 @@ else
$nb_expedition = $commande->nb_expedition();
if ($user->rights->commande->valider && $nb_expedition == 0)
{
- print 'Annuler la commande';
+ print ''.$langs->trans("Cancel").'';
}
}
@@ -738,7 +736,7 @@ else
{
print_titre("Expéditions");
$i = 0; $total = 0;
- print '';
+ print '';
print "| Expédition | Date | \n";
$var=True;
@@ -759,6 +757,7 @@ else
print $db->error();
}
print " ";
+
/*
* Liste des factures
*/
@@ -775,7 +774,7 @@ else
print_titre("Factures");
$i = 0; $total = 0;
print '';
- print "| Facture | Date | \n";
+ print "| Facture | ".$langs->trans("Date")." | \n";
$var=True;
while ($i < $num)
@@ -806,7 +805,7 @@ else
{
print_titre("Documents");
- print ' | |