a
This commit is contained in:
parent
da453d4ea3
commit
9ecbd16ea1
|
|
@ -2926,3 +2926,78 @@ function retirer_tous_adherent_importe_college()
|
|||
}
|
||||
}
|
||||
|
||||
function incorporer_assures_inmportes()
|
||||
{
|
||||
nb_adh=$("#nb_adh").val();
|
||||
|
||||
if (nb_adh>"0")
|
||||
{
|
||||
v_msg="Veuillez revoir les collèges et relancer le calcul des primes!";
|
||||
v_msgEng="Please review the colleges and restart the premium calculation!!";
|
||||
alert_ebene(v_msg, v_msgEng);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
nb_ligne_ass=$("#nb_ligne_ass").val();
|
||||
|
||||
if (nb_ligne_ass=="0")
|
||||
{
|
||||
v_msg="Rien à importer!";
|
||||
v_msgEng="Nothing to import!";
|
||||
alert_ebene(v_msg, v_msgEng);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
v_msg="Avez-vous fait l\'étape 2 => calcul des primes?";
|
||||
v_msgEng="Did you do step 2 => premium calculation?";
|
||||
|
||||
if(!confirm_ebene(v_msg, v_msgEng))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
primeTtcTotal=$("#primeTtcTotal").val();
|
||||
|
||||
if (primeTtcTotal=="0")
|
||||
{
|
||||
v_msg="Pas de primes! souhaitez-vous recalculer les primes?";
|
||||
v_msgEng="No premiums! do you want to recalculate the premiums?";
|
||||
|
||||
if(confirm_ebene(v_msg, v_msgEng))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
v_msg="Notez que vous avez accepté l\'incorporation sans primes!";
|
||||
v_msgEng="Note that you accepted the incorporation without premium!";
|
||||
alert_ebene(v_msg, v_msgEng);
|
||||
}
|
||||
|
||||
v_msg="Confirmez-vous l\'incorporation de cette liste?";
|
||||
v_msgEng="Do you confirm the incorporation of this list?";
|
||||
|
||||
if(confirm_ebene(v_msg, v_msgEng))
|
||||
{
|
||||
var div_attente = $('#div_liste_assure_importe');
|
||||
|
||||
div_attente.html('<div style="padding-top:80px;"><img src="Bootstrap/images/loading.gif"/> <span style="font-size:15pt;">' + 'Chargement en cours! Veuillez patienter...' + '</span></div>');
|
||||
|
||||
$.ajax({
|
||||
url: $("#racineWeb").val()+"Ajaximporterlisteassure/incorpoerassuresimportes/",
|
||||
type: 'POST',
|
||||
// data: donnees,
|
||||
success: function(data) {
|
||||
v_msg="Incorporation terminée avec succès!";
|
||||
v_msgEng="Incorporation completed successfully!";
|
||||
alert_ebene(v_msg, v_msgEng);
|
||||
},
|
||||
error: function(data) {
|
||||
},
|
||||
complete: function() {
|
||||
afficher_police_id();
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -635,7 +635,7 @@ $photoAssureCrypte = $_SESSION['photoAssureCrypte'];
|
|||
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
|
||||
|
||||
<!-- Application Scripts -->
|
||||
<script src="/Js/fonctions.js?ver=2026.01.04.56"></script>
|
||||
<script src="/Js/fonctions.js?ver=2026.01.04.57"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
raffraichier_gabarit();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user