From 68db31d6fb0c0c9bbbe1ed70035d727c9029f8ba Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 14 Jul 2005 22:58:46 +0000 Subject: [PATCH] =?UTF-8?q?Ajout=20param=E8tre=20pour=20d=E9finir=20d=E9la?= =?UTF-8?q?i=20de=20retards=20n=E9cessitant=20warning.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/compta/commande/fiche.php | 43 ++++++++++++++++---------------- 1 file changed, 22 insertions(+), 21 deletions(-) diff --git a/htdocs/compta/commande/fiche.php b/htdocs/compta/commande/fiche.php index 612fe8d99f5..8b8e1ce047d 100644 --- a/htdocs/compta/commande/fiche.php +++ b/htdocs/compta/commande/fiche.php @@ -30,9 +30,11 @@ require("./pre.inc.php"); +$langs->load("orders"); $langs->load("sendings"); $langs->load("companies"); $langs->load("bills"); +$langs->load("propal"); $user->getrights('facture'); @@ -238,27 +240,26 @@ if ($_GET["id"] > 0) print ''; - /* - * Barre d'actions - */ - - if (! $user->societe_id && ! $commande->facturee) - { - print "
\n"; - - if ($commande->statut > 0 && $user->rights->facture->creer) - { - print ''.$langs->trans("GenerateBill").''; - } - - if ($num_fac_asso) - { - if ($user->rights->commande->creer) - print ''.$langs->trans("ClassifyBilled").''; - } - print '
'; - } - + /* + * Barre d'actions + */ + + if (! $user->societe_id && ! $commande->facturee) + { + print "
\n"; + + if ($commande->statut > 0 && $user->rights->facture->creer) + { + print ''.$langs->trans("GenerateBill").''; + } + + if ($user->rights->commande->creer) + { + print ''.$langs->trans("ClassifyBilled").''; + } + print '
'; + } + print "
";