sd
This commit is contained in:
parent
f420938720
commit
b1978e06ad
|
|
@ -34463,6 +34463,7 @@ function afficher_garantie_produit() {
|
||||||
function ajouter_tous_garantie_produit()
|
function ajouter_tous_garantie_produit()
|
||||||
{
|
{
|
||||||
codeProduit = $("#codeProduit").val();
|
codeProduit = $("#codeProduit").val();
|
||||||
|
nomForm = $("#nomForm").val();
|
||||||
|
|
||||||
if (codeProduit<=" ")
|
if (codeProduit<=" ")
|
||||||
{
|
{
|
||||||
|
|
@ -34492,7 +34493,12 @@ function ajouter_tous_garantie_produit()
|
||||||
error: function(data) {
|
error: function(data) {
|
||||||
},
|
},
|
||||||
complete: function() {
|
complete: function() {
|
||||||
actualiser_garantie_produit();
|
|
||||||
|
if(nomForm=="frmgarantieproduit"){
|
||||||
|
actualiser_garantie_produit();
|
||||||
|
}else{
|
||||||
|
afficher_garantie_produit();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
|
@ -34506,6 +34512,8 @@ function ajouter_tous_garantie_produit()
|
||||||
function retirer_tous_garantie_produit()
|
function retirer_tous_garantie_produit()
|
||||||
{
|
{
|
||||||
codeProduit=$("#codeProduit").val();
|
codeProduit=$("#codeProduit").val();
|
||||||
|
nomForm = $("#nomForm").val();
|
||||||
|
|
||||||
|
|
||||||
if (codeProduit<=" ")
|
if (codeProduit<=" ")
|
||||||
{
|
{
|
||||||
|
|
@ -34535,7 +34543,12 @@ function retirer_tous_garantie_produit()
|
||||||
error: function(data) {
|
error: function(data) {
|
||||||
},
|
},
|
||||||
complete: function() {
|
complete: function() {
|
||||||
actualiser_garantie_produit();
|
|
||||||
|
if(nomForm=="frmgarantieproduit"){
|
||||||
|
actualiser_garantie_produit();
|
||||||
|
}else{
|
||||||
|
afficher_garantie_produit();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
|
@ -34586,6 +34599,8 @@ function ajouter_un_garantie_produit(codeGarantie)
|
||||||
{
|
{
|
||||||
|
|
||||||
codeProduit=$("#codeProduit").val();
|
codeProduit=$("#codeProduit").val();
|
||||||
|
nomForm = $("#nomForm").val();
|
||||||
|
|
||||||
|
|
||||||
if (codeProduit<=" ")
|
if (codeProduit<=" ")
|
||||||
{
|
{
|
||||||
|
|
@ -34608,7 +34623,13 @@ function ajouter_un_garantie_produit(codeGarantie)
|
||||||
error: function(data) {
|
error: function(data) {
|
||||||
},
|
},
|
||||||
complete: function() {
|
complete: function() {
|
||||||
actualiser_garantie_produit();
|
|
||||||
|
nomForm = $("#nomForm").val();
|
||||||
|
if(nomForm=="frmgarantieproduit"){
|
||||||
|
actualiser_garantie_produit();
|
||||||
|
}else{
|
||||||
|
afficher_garantie_produit();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user