diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php index 024aad733fd..d72e3875863 100644 --- a/htdocs/compta/facture.php +++ b/htdocs/compta/facture.php @@ -333,7 +333,7 @@ if ($_POST["action"] == 'send' || $_POST["action"] == 'relance') if (strlen($sendto)) { if ($_POST["action"] == 'send') { - $subject = "Facture $fac->ref"; + $subject = $langs->trans("Bill")." $fac->ref"; $actioncode=9; $actionmsg="Envoyée à $sendto"; $actionmsg2="Envoi Facture par mail"; @@ -391,13 +391,11 @@ if ($_POST["action"] == 'send' || $_POST["action"] == 'relance') */ if ($_GET["action"] == 'pdf') { - /* - * Generation de la facture - * définit dans /includes/modules/facture/modules_facture.php - */ + // Generation de la facture définie dans /includes/modules/facture/modules_facture.php facture_pdf_create($db, $_GET["facid"]); } + llxHeader('','Facture','Facture'); $html = new Form($db); @@ -407,7 +405,6 @@ $html = new Form($db); * * Mode creation * - * ************************************************************************/ if ($_GET["action"] == 'create') { @@ -669,11 +666,11 @@ if ($_GET["action"] == 'create') print ''; } + /* * Produits dans la commande * */ - if ($_GET["commandeid"]) { print_titre("Produits"); @@ -933,13 +930,17 @@ else if ($objp->fk_product > 0) { print '