Ignore:
Timestamp:
Nov 5, 2014 3:19:27 PM (11 years ago)
Author:
quyenla
Message:

fix

Location:
pro-violet-viettel/sourcecode/application/modules/admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pro-violet-viettel/sourcecode/application/modules/admin/models/collabolator_model.php

    r401 r420  
    2424        $order = "";
    2525        if ($data['sorting_order'] != "sorting") {
    26             if ($data['sorting_field'] != "money") {
     26           
    2727                $sort = "DESC";
    2828                if ($data['sorting_order'] == "sorting_asc")
    2929                    $sort = "ASC";
    3030                $order = "ORDER BY " . $data['sorting_field'] . " " . $sort;
    31             }
     31           
    3232        }
    3333       
  • pro-violet-viettel/sourcecode/application/modules/admin/views/collaborator/listview.php

    r401 r420  
    8686                                <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>
    8787                                <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                                 <th class="sorting" id="money" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 122px;" aria-label="Tiền: activate to sort column ascending">Tiền</th>
     88                               
    8989                                <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">
    9090                                    <i class="icon-time bigger-110 hidden-480"></i>
    9191                                    Ngày đăng kÜ
    9292                                </th>
    93                                 <th class="<?php if ($sorting_field=='activated') {echo $sorting_order;} else {echo "sorting";}?>" id="activated" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 158px;" aria-label="Trạng thái: activate to sort column ascending">Trạng thái</th><th class="sorting_disabled" role="columnheader" rowspan="1" colspan="1" style="width: 133px;" aria-label=""></th></tr>
     93                                <th class="<?php if ($sorting_field=='activated') {echo $sorting_order;} else {echo "sorting";}?>" id="activated" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 158px;" aria-label="Trạng thái: activate to sort column ascending">Trạng thái</th>
     94                                <th class="sorting_disabled" role="columnheader" rowspan="1" colspan="1" style="width: 133px;" aria-label="">Chức năng</th></tr>
    9495                        </thead>
    9596
     
    113114                                    <a href="#"><?php echo $collaborator['cellphone']?></a>
    114115                                </td>
    115                                 <td class="hidden-480 ">3,330 VND</td>
     116               
    116117                                <td class=" "><?php echo $collaborator['created_time']?></td>
    117118
Note: See TracChangeset for help on using the changeset viewer.