a
This commit is contained in:
parent
4f70d72e1c
commit
63f68364a4
|
|
@ -2519,3 +2519,58 @@ function init_importer_modele_assure()
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function importer_modele_assure(idAvenant)
|
||||||
|
{
|
||||||
|
etape2=$("#etape2").val();
|
||||||
|
|
||||||
|
if (etape2 != "1")
|
||||||
|
{
|
||||||
|
v_msg="Etape 2 incomplète!";
|
||||||
|
v_msgEng="Incomplete step 2!";
|
||||||
|
alert_ebene(v_msg, v_msgEng);
|
||||||
|
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
$('#div_form_upload').hide();
|
||||||
|
|
||||||
|
var div_export = $('#div_exporter_liste_assures');
|
||||||
|
|
||||||
|
div_export.html('<div style="padding-top:80px;"><img src="Bootstrap/images/loading.gif"/> <span style="font-size:15pt;">' + 'Chargement en cours! Veuillez patienter...' + '</span></div>');
|
||||||
|
|
||||||
|
cheminFichier=$("#cheminFichier").val();
|
||||||
|
|
||||||
|
donnees = 'idAvenant='+idAvenant+'&cheminFichier='+cheminFichier;
|
||||||
|
|
||||||
|
$("#div_erreur_excel").html("");
|
||||||
|
|
||||||
|
$.ajax({
|
||||||
|
url: $("#racineWeb").val()+"Ajaximporterlisteassure/importermodele/",
|
||||||
|
type: 'POST',
|
||||||
|
data: donnees,
|
||||||
|
success: function(data)
|
||||||
|
{
|
||||||
|
div_export.html('');
|
||||||
|
$("#div_erreur_excel").html(data);
|
||||||
|
|
||||||
|
v_msg="Opération terminée avec succès!";
|
||||||
|
v_msgEng="Operation completed successfully!";
|
||||||
|
alert_ebene(v_msg, v_msgEng);
|
||||||
|
},
|
||||||
|
error : function(resultat, statut, erreur)
|
||||||
|
{
|
||||||
|
},
|
||||||
|
complete: function(data)
|
||||||
|
{
|
||||||
|
div_export.html('');
|
||||||
|
|
||||||
|
succes_impot_execl=$("#succes_impot_execl").val();
|
||||||
|
|
||||||
|
if (succes_impot_execl == "1")
|
||||||
|
{
|
||||||
|
maj_etape_3_import_assures();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -635,7 +635,7 @@ $photoAssureCrypte = $_SESSION['photoAssureCrypte'];
|
||||||
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
|
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
|
||||||
|
|
||||||
<!-- Application Scripts -->
|
<!-- Application Scripts -->
|
||||||
<script src="/Js/fonctions.js?ver=2026.01.04.41"></script>
|
<script src="/Js/fonctions.js?ver=2026.01.04.42"></script>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
raffraichier_gabarit();
|
raffraichier_gabarit();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user