text: $(document).ready(function(){
  
      var url;
      url = baseURL + "postilion/ajaxcontroller/batch_viewer";
      // alert(url);
  
      var table_batch_viewer = $('#datatable_batch_viewer').DataTable({
          iDisplayLength:50,
          processing: true,
          // serverSide: true,
          searching: true,
          ajax: {
              url : url,
              data: {
                  terminal_name : function() {return $('#terminal_batch').val()},
                  datebatch : function() {return $('#date_batch').val()}
              },
              type : 'GET'
          },
          language: {
              // "processing": "Loading. Please wait..."
              "processing": '<div class="loader"><div class="m-t-30"><img class="zmdi-hc-spin" src="'+baseURL+'assets/images/loader.svg" width="48" height="48" alt="Aero"></div><p>Processing...</p></div>'
              
          },
      });
  
      $( "#btn_submit_batch_viewer" ).click(function() {
          table_batch_viewer.ajax.reload();
      });
  
          
          
  
  });