fg
This commit is contained in:
209
Js/fonctions.js
209
Js/fonctions.js
@@ -3922,3 +3922,212 @@ function consulter_facture_pop(idFacture)
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function consulterfacturefeuillemaladie_pop()
|
||||
{
|
||||
idFacture = $("#idFacture").val();
|
||||
|
||||
$("#div_facture_detail").html(`
|
||||
<div class="d-flex flex-column align-items-center justify-content-center" style="padding-top:80px;">
|
||||
<div class="spinner-border text-primary" role="status" style="width:3rem; height:3rem;">
|
||||
<span class="visually-hidden">Loading...</span>
|
||||
</div>
|
||||
<span class="mt-3 fs-5 fw-bold">
|
||||
Veuillez patienter... / Please wait...
|
||||
</span>
|
||||
</div>
|
||||
`);
|
||||
|
||||
donnees = 'idFacture='+idFacture;
|
||||
|
||||
if(isNaN(idFacture))
|
||||
{
|
||||
v_msg="Valeur numérique exigée!";
|
||||
v_msgEng="Numeric value required!";
|
||||
alert_ebene(v_msg, v_msgEng);
|
||||
|
||||
$("#idFacture").val("0");
|
||||
$("#idFacture").focus();
|
||||
return;
|
||||
}
|
||||
|
||||
$.ajax({
|
||||
url: $("#racineWeb").val()+"Ajaxfactureconspop/feuillemaladie/",
|
||||
type: 'POST',
|
||||
data: donnees,
|
||||
success: function(data) {
|
||||
$("#div_facture_detail").html(data);
|
||||
},
|
||||
error: function(data) {
|
||||
},
|
||||
complete: function() {
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function consulterfactureprestationactes_pop()
|
||||
{
|
||||
idFacture = $("#idFacture").val();
|
||||
|
||||
$("#div_facture_detail").html(`
|
||||
<div class="d-flex flex-column align-items-center justify-content-center" style="padding-top:80px;">
|
||||
<div class="spinner-border text-primary" role="status" style="width:3rem; height:3rem;">
|
||||
<span class="visually-hidden">Loading...</span>
|
||||
</div>
|
||||
<span class="mt-3 fs-5 fw-bold">
|
||||
Veuillez patienter... / Please wait...
|
||||
</span>
|
||||
</div>
|
||||
`);
|
||||
donnees = 'idFacture='+idFacture;
|
||||
|
||||
if(isNaN(idFacture))
|
||||
{
|
||||
v_msg="Valeur numérique exigée!";
|
||||
v_msgEng="Numeric value required!";
|
||||
alert_ebene(v_msg, v_msgEng);
|
||||
|
||||
$("#idFacture").val("0");
|
||||
$("#idFacture").focus();
|
||||
return;
|
||||
}
|
||||
|
||||
$.ajax({
|
||||
url: $("#racineWeb").val()+"Ajaxfactureconspop/prestationactes/",
|
||||
type: 'POST',
|
||||
data: donnees,
|
||||
success: function(data) {
|
||||
$("#div_facture_detail").html(data);
|
||||
},
|
||||
error: function(data) {
|
||||
},
|
||||
complete: function() {
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function consulterfacturemedicaments_pop()
|
||||
{
|
||||
idFacture = $("#idFacture").val();
|
||||
|
||||
$("#div_facture_detail").html(`
|
||||
<div class="d-flex flex-column align-items-center justify-content-center" style="padding-top:80px;">
|
||||
<div class="spinner-border text-primary" role="status" style="width:3rem; height:3rem;">
|
||||
<span class="visually-hidden">Loading...</span>
|
||||
</div>
|
||||
<span class="mt-3 fs-5 fw-bold">
|
||||
Veuillez patienter... / Please wait...
|
||||
</span>
|
||||
</div>
|
||||
`);
|
||||
|
||||
donnees = 'idFacture='+idFacture;
|
||||
|
||||
if(isNaN(idFacture))
|
||||
{
|
||||
v_msg="Valeur numérique exigée!";
|
||||
v_msgEng="Numeric value required!";
|
||||
alert_ebene(v_msg, v_msgEng);
|
||||
|
||||
$("#idFacture").val("0");
|
||||
$("#idFacture").focus();
|
||||
return;
|
||||
}
|
||||
|
||||
$.ajax({
|
||||
url: $("#racineWeb").val()+"Ajaxfactureconspop/medicaments/",
|
||||
type: 'POST',
|
||||
data: donnees,
|
||||
success: function(data) {
|
||||
$("#div_facture_detail").html(data);
|
||||
},
|
||||
error: function(data) {
|
||||
},
|
||||
complete: function() {
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function consulterfactureverres_pop()
|
||||
{
|
||||
idFacture = $("#idFacture").val();
|
||||
|
||||
$("#div_facture_detail").html(`
|
||||
<div class="d-flex flex-column align-items-center justify-content-center" style="padding-top:80px;">
|
||||
<div class="spinner-border text-primary" role="status" style="width:3rem; height:3rem;">
|
||||
<span class="visually-hidden">Loading...</span>
|
||||
</div>
|
||||
<span class="mt-3 fs-5 fw-bold">
|
||||
Veuillez patienter... / Please wait...
|
||||
</span>
|
||||
</div>
|
||||
`);
|
||||
|
||||
donnees = 'idFacture='+idFacture;
|
||||
|
||||
if(isNaN(idFacture))
|
||||
{
|
||||
v_msg="Valeur numérique exigée!";
|
||||
v_msgEng="Numeric value required!";
|
||||
alert_ebene(v_msg, v_msgEng);
|
||||
|
||||
$("#idFacture").val("0");
|
||||
$("#idFacture").focus();
|
||||
return;
|
||||
}
|
||||
|
||||
$.ajax({
|
||||
url: $("#racineWeb").val()+"Ajaxfactureconspop/verres/",
|
||||
type: 'POST',
|
||||
data: donnees,
|
||||
success: function(data) {
|
||||
$("#div_facture_detail").html(data);
|
||||
},
|
||||
error: function(data) {
|
||||
},
|
||||
complete: function() {
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function consulterfactureged_pop()
|
||||
{
|
||||
idFacture = $("#idFacture").val();
|
||||
|
||||
$("#div_facture_detail").html(`
|
||||
<div class="d-flex flex-column align-items-center justify-content-center" style="padding-top:80px;">
|
||||
<div class="spinner-border text-primary" role="status" style="width:3rem; height:3rem;">
|
||||
<span class="visually-hidden">Loading...</span>
|
||||
</div>
|
||||
<span class="mt-3 fs-5 fw-bold">
|
||||
Veuillez patienter... / Please wait...
|
||||
</span>
|
||||
</div>
|
||||
`);
|
||||
|
||||
donnees = 'idFacture='+idFacture;
|
||||
|
||||
if(isNaN(idFacture))
|
||||
{
|
||||
v_msg="Valeur numérique exigée!";
|
||||
v_msgEng="Numeric value required!";
|
||||
alert_ebene(v_msg, v_msgEng);
|
||||
|
||||
$("#idFacture").val("0");
|
||||
$("#idFacture").focus();
|
||||
return;
|
||||
}
|
||||
|
||||
$.ajax({
|
||||
url: $("#racineWeb").val()+"Ajaxfactureconspop/geds/",
|
||||
type: 'POST',
|
||||
data: donnees,
|
||||
success: function(data) {
|
||||
$("#div_facture_detail").html(data);
|
||||
},
|
||||
error: function(data) {
|
||||
},
|
||||
complete: function() {
|
||||
}
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user