diff --git a/htdocs/admin/propale.php b/htdocs/admin/propale.php
index dbd1ea469da..3f9eb8166ac 100644
--- a/htdocs/admin/propale.php
+++ b/htdocs/admin/propale.php
@@ -52,6 +52,19 @@ if ($_POST["action"] == 'nbprod')
exit;
}
+if ($_POST["action"] == 'activate_classifiedinvoiced')
+{
+ dolibarr_set_const($db, "PROPALE_CLASSIFIED_INVOICED_WITH_ORDER", $_POST["value"]);
+ Header("Location: propale.php");
+ exit;
+}
+else if ($_POST["action"] == 'disable_classifiedinvoiced')
+{
+ dolibarr_del_const($db, "PROPALE_CLASSIFIED_INVOICED_WITH_ORDER");
+ Header("Location: propale.php");
+ exit;
+}
+
if ($_GET["action"] == 'set')
{
$type='propal';
@@ -344,6 +357,45 @@ print '';
print '
';
+/*
+ * Classé facturée une propale en même temps que la commande
+ *
+ */
+
+if ($conf->commande->enabled)
+{
+ print_titre($langs->trans("ClassifiedInvoiced"));
+ print '
| '.$langs->trans("Name").' | '; + print ''; + print ' | '.$langs->trans("Active").' | '; + print "