Anons79 Mini Shell

Directory : /home/proudlyafrican/www/resources/views/userdashboard/orders/
Upload File :
Current File : /home/proudlyafrican/www/resources/views/userdashboard/orders/list.blade.php

@extends('general.head')
@section('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="{{ 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="{{ 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>
            @foreach($orders as $order)
            <tr>
                <td data-column="First Name">{{ $order->invoice_number }}</td>
                <td data-column="Last Name">{{ $order->address1}},{{ $order->address2}}</td>
                <td data-column="Total">£.{{ $order->subtotal }}</td>
                <td data-column="Coupon">£.{{$order->discount}}</td>
                <td data-column="Granter Total">£.{{$order->grandtotal}}</td>
                <td data-column="Detail">
                    <a href="{{ url('user_order_detail') }}/{{ $order->order_id }}" class="btn btn-primary"><i class="glyphicon glyphicon-eye-open"></i>View Detail</a>
                </td>
            </tr>
            @endforeach


            </tbody>
        </table>



        </main>
        <script>
            $(document).ready(function(){
                $('.password-toggle').on('click',function(){

                    $('#AddressNewForm').show();
                });
            });
        </script>




@endsection

Anons79 File Manager Version 1.0, Coded By Anons79
Email: [email protected]