diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php index da93a2305c7dd89d2b45cf00814f03eefcd042b4..e3d409282b4cc307c32d36df351da1a895b556c8 100644 --- a/htdocs/compta/facture.php +++ b/htdocs/compta/facture.php @@ -1416,15 +1416,15 @@ else if ($_GET["action"] == 'presend') { print '<br>'; - print_titre("Envoyer la facture par mail"); + print_titre($langs->trans("SendBillByMail")); $liste[0]=" "; foreach ($soc->contact_email_array() as $key=>$value) { $liste[$key]=$value; } - + // Cr�� l'objet formulaire mail - include_once("../html.formmail.class.php"); + include_once(DOL_DOCUMENT_ROOT."/html.formmail.class.php"); $formmail = new FormMail($db); $formmail->fromname = $user->fullname; $formmail->frommail = $user->email; @@ -1450,7 +1450,7 @@ else if ($_GET["action"] == 'prerelance') { print '<br>'; - print_titre("Envoyer une relance par mail"); + print_titre($langs->trans("SendReminderBillByMail")); $liste[0]=" "; foreach ($soc->contact_email_array() as $key=>$value) { @@ -1496,14 +1496,7 @@ else { $i = 0; $total = 0; print "<br>"; - if ($num >1) - { - print_titre("Propositions commerciales associ�es"); - } - else - { - print_titre("Proposition commerciale associ�e"); - } + print_titre($langs->trans("RelatedCommercialProposals")); print '<table class="noborder" width="100%">'; print '<tr class="liste_titre">'; @@ -1535,7 +1528,7 @@ else else { /* Facture non trouv�e */ - print "Facture ".$_GET["facid"]." inexistante"; + print $langs->trans("ErrorBillNotFound",$_GET["facid"]); } } else @@ -1782,5 +1775,5 @@ else $db->close(); -llxFooter("<em>Dernière modification $Date$ révision $Revision$</em>"); +llxFooter('$Date$ - $Revision$'); ?>