PATH:
home
/
letacommog
/
letaweb
/
admin
/
views
/
builder
/
ecommerce
/
dashboard
<?php $orders = BOrder::model()->findAll(array('order'=>'date_added desc')); ?> <div class="panel panel-default"> <div class="panel-heading"> <h3 class="panel-title"><i class="fa fa-shopping-cart"></i> <?php echo Language::term('text_recent_order', 'Recent Order') ?></h3> </div> <div class="table-responsive"> <table class="table"> <thead> <tr> <td class="text-right"><?php echo Language::term('column_order_id', 'Order ID'); ?></td> <td><?php echo Language::term('column_customer', 'Customer'); ?></td> <td><?php echo Language::term('column_status', 'Status'); ?></td> <td><?php echo Language::term('column_date_added', 'Date Added'); ?></td> <td class="text-right"><?php echo Language::term('column_total', 'Total'); ?></td> <td class="text-right"><?php echo Language::term('column_action', 'Action'); ?></td> </tr> </thead> <tbody> <?php if ($orders) { ?> <?php foreach ($orders as $order) { ?> <tr> <td class="text-right"><?php echo $order['id']; ?></td> <td><?php echo (isset($order['customer']) ? $order['customer']->firstname.' '.$order['customer']->lastname : Language::term('text_guest')); ?></td> <td><?php echo isset($order['order_status']) ? $order['order_status']->name : ''; ?></td> <td><?php echo $order['date_added']; ?></td> <td class="text-right"><?php echo cmm_currency::format($order['payment_due'], 0,0, $order['currency_code'], $order['currency_value']); ?></td> <td class="text-right"><a href="#/ecommerce/order/order/<?php echo $order['id']; ?>" data-toggle="tooltip" title="<?php echo Language::term('button_view', 'View'); ?>" class="btn btn-info"><i class="fa fa-eye"></i></a></td> </tr> <?php } ?> <?php } else { ?> <tr> <td class="text-center" colspan="6"><?php echo Language::term('text_no_results', 'No Results'); ?></td> </tr> <?php } ?> </tbody> </table> </div> </div>
[+]
..
[-] customer.php
[edit]
[-] recent.php
[edit]
[-] map.php
[edit]
[-] activity.php
[edit]
[-] chart.php
[edit]
[-] order.php
[edit]
[-] online.php
[edit]
[-] sale.php
[edit]