Commit b9c1c106 authored by Hamza Arfaoui's avatar Hamza Arfaoui

CAFI172

parent ce19a9b0
...@@ -54,7 +54,7 @@ EDS : ...@@ -54,7 +54,7 @@ EDS :
$(document).on('change','.pile_status',function(){ $(document).on('change','.pile_status',function(){
var currentValue = $(this).val(); var currentValue = $(this).val();
var agentID = $(this).data('id'); var agentID = $(this).data('id');
$.post( "/pile/ajax/updateCnsProfile.php", { "type": "borneStatus", "id_conseiller": $(this).data('id'), "id_agence": $(this).data().agence, "status": currentValue, "temporary": $(this).data('temporary') }, function(data) { $.post( "../pile/ajax/updateCnsProfile.php", { "type": "borneStatus", "id_conseiller": $(this).data('id'), "id_agence": $(this).data().agence, "status": currentValue, "temporary": $(this).data('temporary') }, function(data) {
/*var statusColor = ''; /*var statusColor = '';
if(currentValue === '1'){ if(currentValue === '1'){
statusColor = 'red'; statusColor = 'red';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment