Ignore:
Timestamp:
Jan 9, 2015 10:35:30 AM (10 years ago)
Author:
namnd
Message:
 
Location:
pro-violet-viettel/sourcecode/application/modules/admin/views/collaborator
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pro-violet-viettel/sourcecode/application/modules/admin/views/collaborator/index.php

    r576 r690  
    1818                    $("#content").html(data);
    1919                    init_page();
    20 
     20                                        $('.daterangepicker').daterangepicker();
    2121                },
    2222                error: function (jqXHR, textStatus, errorThrown)
     
    3434        });
    3535       
     36                $(document).on('click', '.applyBtn', function(){
     37                        //$('#loading').css('display', 'block');
     38                        //$('#table_content').hide();
     39                        filter();
     40                });
    3641       
    3742        $( '.sorting, .sorting_desc, .sorting_asc' ).click(function( index ) {
     
    9297                $("#keyword").focus();
    9398                $("#keyword").setCursorToTextEnd();
     99                                $('.daterangepicker').daterangepicker();
    94100
    95101            },
  • pro-violet-viettel/sourcecode/application/modules/admin/views/collaborator/listview.php

    r590 r690  
    7272                                <div class="dataTables_filter" id="sample-table-2_filter">
    7373                                    <label>Tìm kiếm:
    74                                         <input type="text" name="keyword" id="keyword" value='<?php echo $keyword;?>' aria-controls="sample-table-2"></label>
     74                                        <input type="text" name="keyword" id="keyword" value='<?php echo $keyword;?>' style="width: 162px; height: 18px;" aria-controls="sample-table-2"></label>
    7575                                </div>
     76                                                                <div id="daterangepicker" class="selectbox pull-right">
     77                                                                        <i class="icon-calendar"></i>
     78                                                                        <input id="daterange" type="text" name="daterange" class="daterangepicker" style="background: #ffffff; width: 176px; height: 28px; position: inherit;">
     79                                                                               
     80                                                                        </span>
     81                                                                </div>
    7682                            </div>
    7783                        </div>
     
    8692                                <th class="<?php if ($sorting_field == 'full_name') {echo $sorting_order;} else {echo "sorting";}?>" id="full_name" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 183px;" aria-label="Họ tên: activate to sort column ascending">Họ tên</th>
    8793                                <th class="<?php if ($sorting_field == 'cellphone') {echo $sorting_order;} else {echo "sorting";}?>" id="cellphone" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 176px;" aria-label="Số điện thoại: activate to sort column ascending">Số điện thoại</th>
    88                                
     94                                <th>Quận/Huyện</th>
     95                                                                <th>Tỉnh/TP</th>
    8996                                <th class="<?php if ($sorting_field == 'created_time') {echo $sorting_order;} else {echo "sorting";}?>" id="created_time" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 209px;" aria-label="Ngày đăng kÜ: activate to sort column ascending">
    9097                                    <i class="icon-time bigger-110 hidden-480"></i>
     
    107114                                <td class=" "><a href="<?php echo base_url();?>admin/thong_ke_cong_tac_vien/<?php echo $collaborator['id'];?>"><?php echo $collaborator['full_name']?></a></td>
    108115                                <td class=" "><?php echo $collaborator['cellphone'];?></td>
    109                
     116                                                                <td class=" "><?php echo $collaborator['district'];?></td>
     117                                                                <td class=" "><?php echo $collaborator['province'];?></td>
    110118                                <td class=" "><?php echo $collaborator['created_time'];?></td>
    111119
Note: See TracChangeset for help on using the changeset viewer.