diff --git a/htdocs/compta/paiement/fiche.php b/htdocs/compta/paiement/fiche.php index 6b0109d60d4..46da29aed0d 100644 --- a/htdocs/compta/paiement/fiche.php +++ b/htdocs/compta/paiement/fiche.php @@ -20,11 +20,22 @@ * $Source$ * */ + +/*! \file htdocs/compta/paiement/fiche.php + \ingroup facture + \brief Onglet paiement d'un paiement + \version $Revision$ +*/ + + require("./pre.inc.php"); require("../../paiement.class.php"); $user->getrights('facture'); +$langs->load("bills"); +$langs->load("companies"); + if ($_POST["action"] == 'confirm_delete' && $_POST["confirm"] == 'yes' && $user->rights->facture->creer) { $paiement = new Paiement($db); @@ -42,8 +53,8 @@ if ($_POST["action"] == 'confirm_delete' && $_POST["confirm"] == 'yes' && $user- llxHeader(); print '
'; -print 'Paiement'; -print 'Info'; +print ''.$langs->trans("Payment").''; +print ''.$langs->trans("Info").''; print '
'; print '
'; @@ -69,13 +80,15 @@ $html = new Form($db); print ''; -print ''; print "
Numéro : '.$paiement->numero."
"; +print '
'; -print 'Date : '.strftime("%d %B %Y",$paiement->date)." 
"; +print $langs->trans("Numero").' : '.$paiement->numero."
"; -print $langs->trans("Type").' : '.$paiement->type_libelle." 
"; +print $langs->trans("Date").' : '.strftime("%d %B %Y",$paiement->date)."
"; -print 'Montant : '.$paiement->montant." ".MAIN_MONNAIE."
"; +print $langs->trans("Type").' : '.$paiement->type_libelle."
"; + +print $langs->trans("Amount").' : '.$paiement->montant." ".MAIN_MONNAIE."
"; print '
"; @@ -98,10 +111,10 @@ if ($db->query($sql)) $i = 0; - print '
'; + print '
'; print ''; - print ''; - print ''; + print ''; + print ''; print "\n"; if ($num > 0) @@ -136,16 +149,14 @@ if ($db->query($sql)) * * */ - print ""; + print "
"; if ($user->societe_id == 0 && $allow_delete) { print '
'; - // L'edition est pour l'instant inutile - //print 'Editer'; if ($_GET["action"] != 'delete') { - print 'Supprimer'; + print ''.$langs->trans("Delete").''; } print "
"; diff --git a/htdocs/compta/paiement/info.php b/htdocs/compta/paiement/info.php index 66c94161aeb..9035d3063e1 100644 --- a/htdocs/compta/paiement/info.php +++ b/htdocs/compta/paiement/info.php @@ -1,5 +1,6 @@ + * Copyright (C) 2004 Laurent Destailleur * * 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 @@ -19,17 +20,24 @@ * $Source$ * */ + +/*! \file htdocs/compta/paiement/info.php + \ingroup facture + \brief Onglet info d'un paiement + \version $Revision$ +*/ + require("./pre.inc.php"); require("../../paiement.class.php"); -/* - * - * - */ + +$langs->load("bills"); +$langs->load("companies"); + llxHeader(); print '
'; -print 'Paiement'; -print 'Info'; +print ''.$langs->trans("Payment").''; +print ''.$langs->trans("Info").''; print '
'; print '
'; @@ -42,7 +50,9 @@ $paiement = new Paiement($db); $paiement->fetch($_GET["id"], $user); $paiement->info($_GET["id"]); +print '
FactureSociétéMontant TTC'.$langs->trans("Bill").''.$langs->trans("Company").''.$langs->trans("AmountTTC").'
'; dolibarr_print_object_info($paiement); +print '
'; $db->close(); diff --git a/htdocs/langs/en_US/bills.lang b/htdocs/langs/en_US/bills.lang index 366be9389d1..cdadc443b29 100644 --- a/htdocs/langs/en_US/bills.lang +++ b/htdocs/langs/en_US/bills.lang @@ -1,6 +1,8 @@ # Dolibarr language file - en_US - bills Bill=Bill Bills=Bills +Payment=Payment +Payments=Payments ClassifyPayed=Classify 'Payed' ClassifyCanceled=Classify 'Abandonned' CreateBill=Create Bill diff --git a/htdocs/langs/fr_FR/bills.lang b/htdocs/langs/fr_FR/bills.lang index 5c97a302a06..c441344c49b 100644 --- a/htdocs/langs/fr_FR/bills.lang +++ b/htdocs/langs/fr_FR/bills.lang @@ -1,6 +1,8 @@ # Dolibarr language file - fr_FR - bills Bill=Facture Bills=Factures +Payment=Paiement +Payments=Paiements ClassifyPayed=Classer 'Payée' ClassifyCanceled=Classer 'Abandonnée' CreateBill=Créer Facture