diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php index 4e0a052f24b..3485665a818 100644 --- a/htdocs/compta/facture.php +++ b/htdocs/compta/facture.php @@ -453,7 +453,7 @@ if ($_GET["action"] == 'create') print '' ."\n"; print ''; - print ''; + print '
'; print ''; print ''; @@ -907,7 +907,7 @@ else print ''; print '
'.$langs->trans("Customer").' :'.$soc->nom.''.$langs->trans("Comment").'
Remise'; print '%'; - print ''; + print ''; print '
'; } @@ -1196,10 +1196,10 @@ else print ''; /* - * Liste des actions propres aux document + * Liste des actions propres à la facture * */ - $sql = "SELECT ".$db->pdate("a.datea")." as da, a.note, code "; + $sql = "SELECT id, ".$db->pdate("a.datea")." as da, a.note, code "; $sql .= " FROM ".MAIN_DB_PREFIX."actioncomm as a, ".MAIN_DB_PREFIX."user as u "; $sql .= " WHERE a.fk_user_author = u.rowid and a.fk_soc = $fac->socidp AND a.fk_action in (9,10) AND a.fk_facture = $fac->id"; @@ -1209,11 +1209,11 @@ else $num = $db->num_rows(); if ($num) { - print_titre("Actions sur les documents"); + print_titre($langs->trans("ActionsOnBill")); $i = 0; $total = 0; print ''; - print ''; + print ''; print "\n"; $var=True; @@ -1222,7 +1222,8 @@ else $objp = $db->fetch_object( $i); $var=!$var; print ""; - print "\n"; + print ''; + print '\n"; print ''; print ''; print "\n";
'.$langs->trans("Date").''.$langs->trans("Action").''.$langs->trans("By").'
'.$langs->trans("Ref").''.$langs->trans("Date").''.$langs->trans("Action").''.$langs->trans("By").'
".dolibarr_print_date($objp->da)."'.$objp->id.''.dolibarr_print_date($objp->da)."'.stripslashes($objp->note).''.$objp->code.'