Ajout paramètre pour définir délai de retards nécessitant warning.

This commit is contained in:
Laurent Destailleur 2005-07-14 22:58:46 +00:00
parent ff41a4ab73
commit 68db31d6fb

View File

@ -30,9 +30,11 @@
require("./pre.inc.php"); require("./pre.inc.php");
$langs->load("orders");
$langs->load("sendings"); $langs->load("sendings");
$langs->load("companies"); $langs->load("companies");
$langs->load("bills"); $langs->load("bills");
$langs->load("propal");
$user->getrights('facture'); $user->getrights('facture');
@ -238,26 +240,25 @@ if ($_GET["id"] > 0)
print '</div>'; print '</div>';
/* /*
* Barre d'actions * Barre d'actions
*/ */
if (! $user->societe_id && ! $commande->facturee) if (! $user->societe_id && ! $commande->facturee)
{ {
print "<div class=\"tabsAction\">\n"; print "<div class=\"tabsAction\">\n";
if ($commande->statut > 0 && $user->rights->facture->creer) if ($commande->statut > 0 && $user->rights->facture->creer)
{ {
print '<a class="butAction" href="'.DOL_URL_ROOT.'/compta/facture.php?action=create&amp;commandeid='.$commande->id.'&amp;socidp='.$commande->soc_id.'">'.$langs->trans("GenerateBill").'</a>'; print '<a class="butAction" href="'.DOL_URL_ROOT.'/compta/facture.php?action=create&amp;commandeid='.$commande->id.'&amp;socidp='.$commande->soc_id.'">'.$langs->trans("GenerateBill").'</a>';
} }
if ($num_fac_asso) if ($user->rights->commande->creer)
{ {
if ($user->rights->commande->creer) print '<a class="butAction" href="'.DOL_URL_ROOT.'/compta/commande/fiche.php?action=facturee&amp;id='.$commande->id.'">'.$langs->trans("ClassifyBilled").'</a>';
print '<a class="butAction" href="'.DOL_URL_ROOT.'/compta/commande/fiche.php?action=facturee&amp;id='.$commande->id.'">'.$langs->trans("ClassifyBilled").'</a>'; }
} print '</div>';
print '</div>'; }
}
print "<table width=\"100%\"><tr><td width=\"50%\" valign=\"top\">"; print "<table width=\"100%\"><tr><td width=\"50%\" valign=\"top\">";