1. public function viewList () { try { return view( "LocalSalesPermit::list" ) ; } catch (\Exception $e ) { Session:: flash ( 'error' , CommonFunction:: showErrorPublic ( $e -> getMessage ())) ; return Redirect:: back ()-> withInput () ; } } 2. $ ( document ). ready ( function () { $ ( function () { var t = $ ( '#list' ). DataTable ({ "columnDefs" : [ { "searchable" : false , "orderable" : false , "targets" : 0 } ] , "order" : [[ 0 , 'asc' ]] , processing : true , serverSide : true , iDisplayLength : 25 , ajax : { url : ' {{url( "local-sales-permit/get-list" )}} ' , method : 'POST' , headers : { 'X-CSRF-TOKEN' : ' {{ c...