<?php echo $__env->make('includes.order_header', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<style>
    .cursor{
        cursor: pointer;
    }
    .table-content table td{
        font-size:15px;
    }
</style>
<!-- Begin Main Content Area -->
<main class="main-content">
    <div class="breadcrumb-area breadcrumb-height" data-bg-image="<?php echo e(url('/')); ?>/order_assets/images/breadcrumb/bg/1-1-1920x400.jpg">
        <div class="container h-100">
            <div class="row h-100">
                <div class="col-lg-12">
                    <div class="breadcrumb-item text-night-rider">
                        <h2 class="breadcrumb-heading">
                            Track Order</h2>
                        <ul>
                            <li>
                                <a href="#">Home /</a>
                            </li>
                            <li>Track Order</li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="cart-area mt-5 mb-5">
        <div class="container">
            <div class="row">
                <div class="col-12">
                    <div class="table-content table-responsive">
                        <table class="table table-bordered" id="datatable">
                            <thead>
                            <tr>
                                <th>Order No</th>
                                <th>Order Date</th>
                                <th>Total Amount</th>
                                <th>Total Item</th>
                                <th>Status</th>
                                <th>Action</th>
                            </tr>
                            </thead>
                            <tbody>
                            <?php $__currentLoopData = $order_list; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $ol): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <tr>
                                <td><?php echo e($ol->order_id); ?></td>
                                <td><?php echo e($ol->order_date); ?></td>
                                <td><?php echo e($ol->total_amount); ?></td>
                                <td><?php echo e($ol->total_item); ?></td>
                                <td style="text-transform: capitalize;"><?php echo e($ol->status); ?></td>
                                <td><a class="btn btn-danger" href="<?php echo e(url('/')); ?>web-order/view-order/<?php echo e($ol->order_id); ?>">View Order</a></td>
                            </tr>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
        </div>
</main>
<!-- Main Content Area End Here -->
<?php echo $__env->make('includes.order_footer', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

<script>
    $( document ).ready(function() {
        get_cart_list();
        get_cart_count();
    });
    
</script><?php /**PATH C:\xampp\htdocs\tireshop\resources\views/order/order_list.blade.php ENDPATH**/ ?>