Changeset 420 for pro-violet-viettel/sourcecode/application/modules
- Timestamp:
- Nov 5, 2014 3:19:27 PM (11 years ago)
- 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 24 24 $order = ""; 25 25 if ($data['sorting_order'] != "sorting") { 26 if ($data['sorting_field'] != "money") {26 27 27 $sort = "DESC"; 28 28 if ($data['sorting_order'] == "sorting_asc") 29 29 $sort = "ASC"; 30 30 $order = "ORDER BY " . $data['sorting_field'] . " " . $sort; 31 }31 32 32 } 33 33 -
pro-violet-viettel/sourcecode/application/modules/admin/views/collaborator/listview.php
r401 r420 86 86 <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> 87 87 <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 89 89 <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"> 90 90 <i class="icon-time bigger-110 hidden-480"></i> 91 91 Ngà y ÄÄng kÜ 92 92 </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> 94 95 </thead> 95 96 … … 113 114 <a href="#"><?php echo $collaborator['cellphone']?></a> 114 115 </td> 115 <td class="hidden-480 ">3,330 VND</td>116 116 117 <td class=" "><?php echo $collaborator['created_time']?></td> 117 118
Note: See TracChangeset
for help on using the changeset viewer.