Ajout paramètre pour définir délai de retards nécessitant warning.
This commit is contained in:
parent
ff41a4ab73
commit
68db31d6fb
@ -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,27 +240,26 @@ 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&commandeid='.$commande->id.'&socidp='.$commande->soc_id.'">'.$langs->trans("GenerateBill").'</a>';
|
print '<a class="butAction" href="'.DOL_URL_ROOT.'/compta/facture.php?action=create&commandeid='.$commande->id.'&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&id='.$commande->id.'">'.$langs->trans("ClassifyBilled").'</a>';
|
||||||
print '<a class="butAction" href="'.DOL_URL_ROOT.'/compta/commande/fiche.php?action=facturee&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\">";
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user