diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php index 5dd9749d7dd..9785e2f1007 100644 --- a/htdocs/compta/facture.php +++ b/htdocs/compta/facture.php @@ -1403,7 +1403,7 @@ else } // Récurrente - if (! defined("FACTURE_DISABLE_RECUR")) // Possibilité de désactiver les factures récurrentes + if (! defined("FACTURE_DISABLE_RECUR") || FACTURE_DISABLE_RECUR == 0) // Possibilité de désactiver les factures récurrentes { if ($fac->statut > 0) { diff --git a/htdocs/compta/facture/fiche-rec.php b/htdocs/compta/facture/fiche-rec.php index 809cf0d314d..d119ff6cd30 100644 --- a/htdocs/compta/facture/fiche-rec.php +++ b/htdocs/compta/facture/fiche-rec.php @@ -18,7 +18,6 @@ * * $Id$ * $Source$ - * */ /** @@ -133,9 +132,12 @@ if ($_GET["action"] == 'create') } print ""; + + + print '
'; print_titre('Services/Produits'); - print ''; + print '
'; /* * Lignes de factures * @@ -151,7 +153,7 @@ if ($_GET["action"] == 'create') $num = $db->num_rows(); $i = 0; $total = 0; - echo '
'; + echo '
'; if ($num) { print ""; @@ -275,7 +277,7 @@ else * Facture */ print '
'; - print ""; + print ''; print "'; @@ -304,7 +306,7 @@ else print ''; if ($fac->note) { - print '"; + print '"; } print "
Client
'.$langs->trans("Customer").'"; print ''.$soc->nom.''.$langs->trans("Currency".$conf->monnaie).'
Note : '.nl2br($fac->note)."
'.$langs->trans("Note").' : '.nl2br($fac->note)."

"; @@ -328,7 +330,11 @@ else { $prod = New Product($db); $prod->fetch($fac->lignes[$i]->produit_id); - print "[".$prod->ref.']'; + print ""; + print ''; + print img_object($langs->trans("ShowProduct"),"product").' '.$prod->ref; + print ''; + print ''; print ''.$fac->lignes[$i]->desc.''; } else @@ -419,7 +425,7 @@ else if ($result) { $num = $db->num_rows(); - print_barre_liste("Factures",$page,"fiche-rec.php","&socidp=$socidp",$sortfield,$sortorder,'',$num); + print_barre_liste($langs->trans("Bills"),$page,"fiche-rec.php","&socidp=$socidp",$sortfield,$sortorder,'',$num); $i = 0; print ""; @@ -442,7 +448,7 @@ else $class = "normal"; - print '\n"; print '';
' . $objp->titre; + print ''.img_object($langs->trans("ShowBill"),"bill").' '.$objp->titre; print "'.$objp->nom.'