forked from Wavyzz/dolibarr
dbut ajout option : confirmation de suppression d'une ligne produit
This commit is contained in:
@@ -133,13 +133,13 @@ else if ($_GET["action"] == 'disable_sousproduits')
|
||||
Header("Location: produit.php");
|
||||
exit;
|
||||
}
|
||||
else if ($_GET["action"] == 'activate_confirmdelete')
|
||||
else if ($_GET["action"] == 'activate_confirmdeleteline')
|
||||
{
|
||||
dolibarr_set_const($db, "PRODUIT_CONFIRM_DELETE_LINE", "1");
|
||||
Header("Location: produit.php");
|
||||
exit;
|
||||
}
|
||||
else if ($_GET["action"] == 'disable_confirmdelete')
|
||||
else if ($_GET["action"] == 'disable_confirmdeleteline')
|
||||
{
|
||||
dolibarr_del_const($db, "PRODUIT_CONFIRM_DELETE_LINE");
|
||||
Header("Location: produit.php");
|
||||
|
||||
@@ -96,7 +96,7 @@ if ($_POST['action'] == 'confirm_deleteproductline' && $_POST['confirm'] == 'yes
|
||||
$propal->delete_product($_GET['ligne']);
|
||||
propale_pdf_create($db, $_GET['propalid'], $propal->modelpdf);
|
||||
}
|
||||
Header('Location: '.$_SERVER["PHP_SELF"]);
|
||||
Header('Location: '.$_SERVER["PHP_SELF"].'?propalid='.$_GET['propalid']);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
||||
@@ -461,6 +461,7 @@ LDAPSetupForVersion2=LDAP server configured for version 2
|
||||
##### Products #####
|
||||
ProductSetup=Products module setup
|
||||
NumberOfProductShowInSelect=Max number of products in combos select lists (0=no limit)
|
||||
ConfirmDeleteProductLineAbility=Confirmation of removal of a line produces in the forms
|
||||
##### Sendings #####
|
||||
SendingsSetup=Sending module setup
|
||||
SendingsReceiptModel=Sending receipt model
|
||||
|
||||
@@ -461,6 +461,7 @@ LDAPSetupForVersion2=Serveur LDAP configur
|
||||
##### Products #####
|
||||
ProductSetup=Configuration du module Produits
|
||||
NumberOfProductShowInSelect=Nombre de produits max dans les listes d<>roulantes (0=aucune limite)
|
||||
ConfirmDeleteProductLineAbility=Confirmation de suppression d'une ligne produit dans les formulaires
|
||||
##### Sendings #####
|
||||
SendingsSetup=Configuration du module Exp<78>ditions/Livraisons
|
||||
SendingsReceiptModel=Mod<6F>le du bordereau d'exp<78>dition
|
||||
|
||||
Reference in New Issue
Block a user