Ignore:
Timestamp:
Nov 18, 2014 5:13:28 PM (11 years ago)
Author:
namnd
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pro-violet-viettel/sourcecode/application/modules/frontend/views/user_profile.php

    r557 r559  
    328328                            <tr>
    329329                                <th class="center">
    330                                     <label>
    331                                         <input type="checkbox" class="ace" />
    332                                         <span class="lbl"></span>
    333                                     </label>
     330                                                                        Từ
    334331                                </th>
    335332                                <th>Số tiền</th>
     
    343340
    344341                        <tbody>
     342                                                        <?php if ($paidlogs) {?>
     343                                                        <?php foreach($paidlogs as $paidlog): ?>
    345344                            <tr>
    346345                                <td class="center">
    347                                     <label>
    348                                         <input type="checkbox" class="ace" />
    349                                         <span class="lbl"></span>
    350                                     </label>
     346                                                                <?php echo $paidlog['source']; ?>
    351347                                </td>
    352                                 <td>$45</td>
    353                                 <td>Feb 12</td>
     348                                <td><?php echo $paidlog['amount']; ?></td>
     349                                <td><?php echo date('d-m-Y H:i:s', strtotime($paidlog['paid_time']));?></td>
    354350                            </tr>
     351                                                        <?php endforeach; ?>
     352                                                        <?php }else{ ?>
     353                                                        <tr>
     354                                <td class="center" colspan=3>Quí vị chưa có giao dịch nào!</td>
     355                                                        </tr>
     356                                                        <?php } ?>
    355357                        </tbody>
    356358                    </table>
Note: See TracChangeset for help on using the changeset viewer.