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