df
This commit is contained in:
parent
1b29761095
commit
cdae319bd8
|
|
@ -34492,7 +34492,7 @@ function ajouter_tous_garantie_produit()
|
|||
error: function(data) {
|
||||
},
|
||||
complete: function() {
|
||||
//afficher_garantie_produit();
|
||||
actualiser_garantie_produit();
|
||||
}
|
||||
});
|
||||
} else {
|
||||
|
|
@ -34535,7 +34535,7 @@ function retirer_tous_garantie_produit()
|
|||
error: function(data) {
|
||||
},
|
||||
complete: function() {
|
||||
afficher_garantie_produit();
|
||||
actualiser_garantie_produit();
|
||||
}
|
||||
});
|
||||
} else {
|
||||
|
|
@ -34549,6 +34549,7 @@ function retirer_tous_garantie_produit()
|
|||
function retirer_un_garantie_produit(id_garantie_produit)
|
||||
{
|
||||
codeProduit=$("#codeProduit").val();
|
||||
nomForm = $("#nomForm").val();
|
||||
|
||||
if (codeProduit<=" ")
|
||||
{
|
||||
|
|
@ -34570,7 +34571,13 @@ function retirer_un_garantie_produit(id_garantie_produit)
|
|||
error: function(data) {
|
||||
},
|
||||
complete: function() {
|
||||
afficher_garantie_produit();
|
||||
|
||||
if(nomForm=="frmgarantieproduit"){
|
||||
actualiser_garantie_produit();
|
||||
}else{
|
||||
afficher_garantie_produit();
|
||||
}
|
||||
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
@ -34578,7 +34585,6 @@ function retirer_un_garantie_produit(id_garantie_produit)
|
|||
function ajouter_un_garantie_produit(codeGarantie)
|
||||
{
|
||||
|
||||
idProduit = $("#idProduit").val();
|
||||
codeProduit=$("#codeProduit").val();
|
||||
|
||||
if (codeProduit<=" ")
|
||||
|
|
@ -34602,8 +34608,7 @@ function ajouter_un_garantie_produit(codeGarantie)
|
|||
error: function(data) {
|
||||
},
|
||||
complete: function() {
|
||||
//afficher_garantie_produit();
|
||||
//garanties_produit($idProduit);
|
||||
actualiser_garantie_produit();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@
|
|||
$isEditable = ($produit['produitArchive'] == "0");
|
||||
?>
|
||||
<div class="page-content animate__animated animate__fadeIn">
|
||||
|
||||
<div class="header-section mb-1">
|
||||
<div class="d-flex align-items-center justify-content-between bg-white p-3 shadow border-start <?= $isEditable ? 'border-primary' : 'border-secondary' ?> border-4" style="border-radius: var(--radius-md);">
|
||||
<div class="d-flex align-items-center">
|
||||
|
|
@ -30,6 +29,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<input type="hidden" id="nomForm" name="nomForm" value="frmgarantieproduit">
|
||||
<input type="hidden" id="codeGcAssureur" name="codeGcAssureur" value="<?= $this->nettoyer($produit['codeGcAssureur']) ?>">
|
||||
<input type="hidden" id="idProduit" name="idProduit" value="<?= $this->nettoyer($produit['idProduit']) ?>">
|
||||
<input type="hidden" id="codeProduit" name="codeProduit" value="<?= $this->nettoyer($produit['codeProduit']) ?>">
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user