Przeglądaj źródła

fix filter at customer list

ifah
Siti Hajar Ibrahim 5 lat temu
rodzic
commit
7e59400d5b

+ 3
- 4
resources/views/customer-service/view_customer.blade.php Wyświetl plik

@@ -75,7 +75,6 @@
};

$(document).ready(function(){

var origin = window.location.origin;

//===== Dynamic table toolbars =====//
@@ -185,7 +184,7 @@
],
});

var table = $('#view_customer').DataTable({
var table3 = $('#view_customer').DataTable({
"bJQueryUI": false,
"bAutoWidth": true,
"bSort": false,
@@ -277,12 +276,12 @@
});

$('.tipS').tipsy({gravity: 's',fade: true, html:true});
/*** Filter ***/
$('#fbtype,#fbbuilding,#fbdealer').on('change', function() {
var link = "{{ url('/customer-service/get-all-new-customer') }}" +"/"+$('#fbtype').val()+"/"+$('#fbbuilding').val()+"/"+$('#fbdealer').val();
table.ajax.url( link ).load();
});
});
});
</script>
@endsection

Ładowanie…
Anuluj
Zapisz