33 lines
1 KiB
PHP
33 lines
1 KiB
PHP
|
<?php $__env->startSection('main_content'); ?>
|
||
|
<table class="table table-bordered" id="dataTable" width="100%" cellspacing="0">
|
||
|
<thead>
|
||
|
<tr>
|
||
|
<th>OrderID</th>
|
||
|
<th>Total</th>
|
||
|
<th>Order Date</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tfoot>
|
||
|
<tr>
|
||
|
<th>OrderID</th>
|
||
|
<th>Total</th>
|
||
|
<th>Order Date</th>
|
||
|
</tr>
|
||
|
</tfoot>
|
||
|
<tbody>
|
||
|
|
||
|
<?php $__currentLoopData = $orders; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $order): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
|
||
|
<tr>
|
||
|
<td><a href="<?php echo e(url('cms/getOrderById/' . $order->orderid )); ?>">#<?php echo e($order->orderid); ?></a></td>
|
||
|
<td><?php echo e($order->total); ?></td>
|
||
|
<td><?php echo e($order->created_at); ?></td>
|
||
|
|
||
|
</tr>
|
||
|
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
|
||
|
|
||
|
|
||
|
</tbody>
|
||
|
</table>
|
||
|
<?php $__env->stopSection(); ?>
|
||
|
|
||
|
<?php echo $__env->make('cms.cms-master', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
|