- Timestamp:
- Jan 9, 2015 10:35:30 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pro-violet-viettel/sourcecode/application/modules/admin/views/report/index.php
r461 r690 18 18 $("#content").html(data); 19 19 init_page(); 20 20 $('.daterangepicker').daterangepicker(); 21 21 }, 22 22 error: function (jqXHR, textStatus, errorThrown) … … 33 33 return false; 34 34 }); 35 35 $(document).on('click', '.applyBtn', function(){ 36 //$('#loading').css('display', 'block'); 37 //$('#table_content').hide(); 38 filter(); 39 }); 36 40 37 41 $( '.sorting, .sorting_desc, .sorting_asc' ).click(function( index ) { … … 105 109 function filter() 106 110 { 111 daterange = $('input[name="daterange"]').val(); 107 112 $.ajax({ 108 113 url: '<?php echo base_url();?>admin/doanh_thu_tong_hop/trang/1', … … 116 121 $("#keyword").focus(); 117 122 $("#keyword").setCursorToTextEnd(); 118 123 $('.daterangepicker').daterangepicker(); 124 $('input[name="daterange"]').val(daterange); 119 125 }, 120 126 error: function (jqXHR, textStatus, errorThrown) … … 204 210 </div><!-- /.modal-dialog --> 205 211 <?php 206 $this->load->view('layout/admin/footer', array('base_url' => $base_url ));212 $this->load->view('layout/admin/footer', array('base_url' => $base_url, 'adminjs' => array('assets/js/admin/report.js'))); 207 213 ?>
Note: See TracChangeset
for help on using the changeset viewer.