瀏覽代碼

fix filter at customer list

ifah
Siti Hajar Ibrahim 5 年之前
父節點
當前提交
7e59400d5b
共有 1 個檔案被更改,包括 3 行新增4 行删除
  1. 3
    4
      resources/views/customer-service/view_customer.blade.php

+ 3
- 4
resources/views/customer-service/view_customer.blade.php 查看文件

@@ -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

Loading…
取消
儲存