g
This commit is contained in:
@@ -1324,4 +1324,28 @@ function ajaxListerLocalite()
|
||||
function imprimer_contrat()
|
||||
{
|
||||
window.location.assign($("#racineWeb" ).val()+"Contrat/");
|
||||
}
|
||||
|
||||
function imprimer_cp(lienEtat)
|
||||
{
|
||||
var div_export = $('#div_export_a');
|
||||
div_export.html('<div style="padding-top:80px;"><img src="Bootstrap/images/loading.gif"/> <span style="font-size:15pt;">' + 'Veuillez patienter... / Please wait...' + '</span></div>');
|
||||
|
||||
donnees = 'lienEtat='+lienEtat;
|
||||
|
||||
$.ajax({
|
||||
url: $("#racineWeb").val()+"Ajaximprimercp/",
|
||||
type: 'POST',
|
||||
data: donnees,
|
||||
success: function(data)
|
||||
{
|
||||
div_export.html(data);
|
||||
},
|
||||
error : function(resultat, statut, erreur)
|
||||
{
|
||||
},
|
||||
complete: function(data)
|
||||
{
|
||||
}
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user