<?php $__env->startSection('middle'); ?>
<div class="page-head_agile_info_w3l">
</div>
<!-- //banner-2 -->
<!-- page -->
<div class="services-breadcrumb">
<div class="agile_inner_breadcrumb">
<div class="container">
<ul class="w3_short">
<li>
<a href="<?php echo e(url('/')); ?>">Home</a>
<i>|</i>
</li>
<li>User Orders</li>
</ul>
</div>
</div>
</div>
<style>
table {
width: 750px;
border-collapse: collapse;
margin:26px auto;
}
/* Zebra striping */
tr:nth-of-type(odd) {
/*background: #eee;*/
}
th {
background: #3498db;
color: white;
font-weight: bold;
}
td, th {
padding: 10px;
border: 1px solid #ccc;
text-align: left;
font-size: 18px;
}
/*
Max width before this PARTICULAR table gets nasty
This query will take effect for any screen smaller than 760px
and also iPads specifically.
*/
@media
only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px) {
table {
width: 100%;
}
/* Force table to not be like tables anymore */
table, thead, tbody, th, td, tr {
display: block;
}
/* Hide table headers (but not display: none;, for accessibility) */
thead tr {
position: absolute;
top: -9999px;
left: -9999px;
}
tr { border: 1px solid #ccc; }
td {
/* Behave like a "row" */
border: none;
border-bottom: 1px solid #eee;
position: relative;
padding-left: 50%;
}
td:before {
/* Now like a table header */
position: absolute;
/* Top/left values mimic padding */
top: 6px;
left: 6px;
width: 45%;
padding-right: 10px;
white-space: nowrap;
/* Label the data */
content: attr(data-column);
color: #000;
font-weight: bold;
}
}
</style>
<table style="width: 80%;">
<div align="center">
<h3>Orders History</h3>
<p><a href="<?php echo e(url('userdashboard')); ?>">Return to Account Details</a></p>
</div>
<thead>
<tr>
<th>Invoice Number</th>
<th>Address</th>
<th>Total</th>
<th>Coupons</th>
<th>Grand Total</th>
<th>View Detail</th>
</tr>
</thead>
<tbody>
<?php $__currentLoopData = $orders; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $order): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<tr>
<td data-column="First Name"><?php echo e($order->invoice_number); ?></td>
<td data-column="Last Name"><?php echo e($order->address1); ?>,<?php echo e($order->address2); ?></td>
<td data-column="Total">£.<?php echo e($order->subtotal); ?></td>
<td data-column="Coupon">£.<?php echo e($order->discount); ?></td>
<td data-column="Granter Total">£.<?php echo e($order->grandtotal); ?></td>
<td data-column="Detail">
<a href="<?php echo e(url('user_order_detail')); ?>/<?php echo e($order->order_id); ?>" class="btn btn-primary"><i class="glyphicon glyphicon-eye-open"></i>View Detail</a>
</td>
</tr>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</tbody>
</table>
</main>
<script>
$(document).ready(function(){
$('.password-toggle').on('click',function(){
$('#AddressNewForm').show();
});
});
</script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('general.head', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
Anons79 File Manager Version 1.0, Coded By Anons79
Email: [email protected]