Ignore:
Timestamp:
Jan 19, 2015 11:51:02 AM (10 years ago)
Author:
dungnv
Message:
 
Location:
pro-violet-viettel/sourcecode/application/modules/admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pro-violet-viettel/sourcecode/application/modules/admin/controllers/cardlog.php

    r540 r698  
    5656                        $id = $cl['us_id'];
    5757                        $username = $this->get_username($id);
    58                         $servicename = $this->get_servicename($cl['service_id']);
     58                        //$servicename = $this->get_servicename($cl['service_id']);
    5959                        $cl['username'] = $username;
    60                         $cl['servicename'] = $servicename;
     60                        //$cl['servicename'] = $servicename;
    6161                        array_push($cardlogs, $cl);
    6262                endforeach;
  • pro-violet-viettel/sourcecode/application/modules/admin/views/cardlog/listview.php

    r573 r698  
    6363                                                                </th>
    6464                                                        <th class="<?php if ($sorting_field == 'sender') {echo $sorting_order;} else {echo "sorting";} ?>" id="sender" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 176px;" aria-label="Người gá»­i: activate to sort column ascending">Người gá»­i</th>
    65                                                         <th class="<?php if ($sorting_field == 'service_id') {echo $sorting_order;} else {echo "sorting";} ?>" id="serivice_id" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 176px;" aria-label="Dịch vụ: activate to sort column ascending">Dịch vụ</th>
     65                                                        <th class="<?php if ($sorting_field == 'service_id') {echo $sorting_order;} else {echo "sorting";} ?>" id="serivice_id" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 176px;" aria-label="Dịch vụ: activate to sort column ascending">Tình trạng</th>
    6666                                                        <th class="<?php if ($sorting_field == 'pin_code') {echo $sorting_order;} else {echo "sorting";} ?>" id="pin_code" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 176px;" aria-label="Mã pin: activate to sort column ascending">Mã pin</th>
    6767                                                        <th class="<?php if ($sorting_field == 'serial_number') {echo $sorting_order;} else {echo "sorting";} ?>" id="serial_number" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 176px;" aria-label="Số seri: activate to sort column ascending">Số seri</th>
     
    8787                                                                <?php echo $cardlog['sender']; ?>
    8888                                                        </td>
    89                                                         <td><?php echo $cardlog['servicename']; ?></td>
     89                                                        <td><?php echo $cardlog['status'] == -1 ? 'Lỗi nạp thẻ': ($cardlog['status'] == 0 ? 'Khóa tạm thời' : 'Nạp thành cÃŽng');?></td>
    9090                                                        <td><?php echo $cardlog['pin_code']; ?></td>
    91                                                         <td><?php echo $cardlog['serial_number']; ?></td>
     91                                                        <td><?php echo $cardlog['serial_num']; ?></td>
    9292                                                        <td><?php echo $cardlog['card_value']; ?></td>
    9393                                                        <td><?php echo $cardlog['created_time']; ?></td>
Note: See TracChangeset for help on using the changeset viewer.