<?php $__env->startSection('body2'); ?>

<h3>Order List</h3>
<hr>
<?php if(count($order_lists)>0): ?>
<table id="product" class="table table-striped" cellspacing="0" width="100%">
	<thead>
		<tr>
			<th class="center">Date</th>
			<th class="center">Order ID</th>
			<th class="center">Status</th>
			<th class="center">Buyer</th>
			<th></th>
		</tr>
	</thead>
	<tbody>
		<?php foreach($order_lists as $order_list): ?>
		<tr>
			<td class="center"><?php echo $order_list->tarikh; ?></td>
			<td class="center"><?php echo $order_list->user_id; ?>/<?php echo $order_list->id; ?></td>
			<td class="center"><?php echo $order_list->status; ?></td>
			<td class="center"><?php echo $order_list->name; ?></td>
			<td>
				<center>
					<div class="btn-group center">
						<a href="/member/sell/<?php echo strtolower($order_list->status); ?>/<?php echo $order_list->id; ?>" class="btn btn-default btn-xs">Details</a>
					</div>
				</center>
			</td>
		</tr>
		<?php endforeach; ?>
	</tbody>
</table>
<?php else: ?>
<div class="col-md-12">
	No order.
</div>
<?php endif; ?>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('/member/template', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>