Le fait de "class facture" une propale en mme temps qu'une commande devient une

option activable dans la configuration du module propale
This commit is contained in:
Regis Houssin 2006-06-02 09:10:52 +00:00
parent c0b9e84f89
commit d839c0ff5f

View File

@ -52,13 +52,13 @@ if ($_POST["action"] == 'nbprod')
exit;
}
if ($_POST["action"] == 'activate_classifiedinvoiced')
if ($_GET["action"] == 'activate_classifiedinvoiced')
{
dolibarr_set_const($db, "PROPALE_CLASSIFIED_INVOICED_WITH_ORDER", "1");
Header("Location: propale.php");
exit;
}
else if ($_POST["action"] == 'disable_classifiedinvoiced')
else if ($_GET["action"] == 'disable_classifiedinvoiced')
{
dolibarr_del_const($db, "PROPALE_CLASSIFIED_INVOICED_WITH_ORDER");
Header("Location: propale.php");