Anons79 Mini Shell

Directory : /home/proudlyafrican/public_html/resources/views/general/
Upload File :
Current File : /home/proudlyafrican/public_html/resources/views/general/order_place_page.blade.php

@extends('general.head')
@section('middle')
<style type="text/css" media="print">
    @page {
        size: auto;   /* auto is the initial value */
        margin: 0;  /* this affects the margin in the printer settings */
    }
</style>


<style>
    .table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
        font-size: 0.9em;
        color: #000000;
        border-top: none !important;
    }
    /* =============================================================
       GENERAL STYLES
     ============================================================ */
    body {
        font-family: 'Open Sans', sans-serif;
        font-size:16px;
        line-height:30px;
    }
    .pad-top-botm {
        padding-bottom:10px;
        padding-top:20px;
    }
    h4 {
        text-transform:uppercase;
    }
    /* =============================================================
       PAGE STYLES
     ============================================================ */

    .contact-info span {
        font-size:14px;

    }

    .contact-info hr {
        margin-top: 0px;
        margin-bottom: 0px;
    }

    .client-info {
        font-size:15px;
    }

    .ttl-amts {
        text-align:right;
        padding-right:15px;
        padding: 10px;
    }
</style>

<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>Order Detail</li>
            </ul>
        </div>
    </div>
</div>
<style>
    p{
        color: #000;
    }
</style>
<!-- //page -->
<!-- Single Page -->
<div class="banner-bootom-w3-agileits" style="padding: 2em 0;">
    <div class="container">

        <div class="container">

           <div class="col-md-2">

           </div>
           <div class="col-md-8" style="max-width: 780px;  min-height:500px; margin:0 auto;border: thick dashed #556fb5; padding:10px">
               @if(Session::has('order_msg'))
               <div align="center"> <h4 style="color: #008000; font-weight: bold">Your Order Placed Successfully</h4></div>
               @endif

               <div class="row pad-top-botm ">
                   <div class="col-lg-12 col-md-12 col-sm-12 ">
                       <div align="center">
                           <img src="{{ url('public/general/logos/africa png 2_013939.jpg') }}" style="padding-bottom:20px;">
                       </div>

                   </div>

               </div>

               <div class="row  contact-info" style="padding: 8px">
                   <div class="col-lg-12 col-md-12 col-sm-12" style="padding: 20px; background:#ededed !important">

                         <div class="col-lg-6 col-md-6 col-sm-12">
                             <span style="font-weight: bold">Date:</span>
                             <?php  $s = date("Y/m/d");
                             $date = strtotime($s);
                             ?>

                             <?php  echo date('d-M-Y', $date); ?>
                             <br>
                              <span style="font-weight: bold">Payment Type:</span> Credit Card
                         </div>

                         <div class="col-lg-6 col-md-6 col-sm-12">
                           <span style="font-weight: bold"> Invoice Number:</span><span style="font-weight: bold; color: #0000ff">{{ $orders[0]->invoice_number }}</span>

                         </div>

                     </div>

               </div>
               <div class="row pad-top-botm client-info">
                   <div class="col-lg-6 col-md-6 col-sm-6" style="margin-left: 20px">

                       <strong>{{ $orders[0]->first_name }} {{ $orders[0]->last_name }}</strong>
                       <br>
                       <b>Address :</b> <br> {{ $orders[0]->address1 }}<br>
                       {{ $orders[0]->address2 }}<br>

                       {{ $orders[0]->city }},{{ $orders[0]->zip }},<br>

                       {{ $orders[0]->country_name }}
                       <br>
                       <b>Call :</b> {{ $orders[0]->phone }}
                       <br>
                       <b>E-mail :</b> {{ $orders[0]->email }}
                   </div>
                   <div class="col-lg-6 col-md-6 col-sm-6">


                   </div>
               </div>
               <div class="row">
                   <div class="col-lg-12 col-md-12 col-sm-12">
                       <div class="table-responsive">
                           <table class="table table-striped table-bordered table-hover" >
                               <thead>
                               <tr>
                                   <th>Product</th>
                                   <th>Unit</th>
                                   <th>Price</th>
                                   <th>Total</th>
                               </tr>
                               </thead>
                               <tbody>

                               @foreach($products as $product)
                               <tr style="color: #000000">
                                   <td>{{ $product->product_name }}</td>
                                   <td>{{ $product->secondquantity }} {{ $product->unit }}</td>
                                   <td>{{ $product->quantity}} <span style="color:#777">X</span> £.{{ $product->amount }} </td>
                                   <td>£.{{ $product->amount }}</td>
                               </tr>
                               @endforeach


                               </tbody>
                           </table>
                       </div>
                       <hr>
                       <div class="ttl-amts">
                             Sub-total: £ {{ $orders[0]->subtotal }}
                       </div>




                       <div class="ttl-amts">
                            Shipping fee: £{{ $orders[0]->shipping_charge }}
                       </div>



                       @if($orders[0]->tax_amount>0)
                       <div class="ttl-amts">
                           <h5> Tax {{ $orders[0]->tax_percentage }}%: £{{ $orders[0]->tax_amount }} </h5>
                       </div>
                       <hr>
                       @endif

                       @if($orders[0]->discount>0)
                       <div class="ttl-amts">
                           <h5> Discount: £{{ $orders[0]->discount }} </h5>
                       </div>
                       <hr>
                       @endif


                       <hr>
                       <div class="ttl-amts">
                           <h4> <strong>Grand total:£<?php echo  number_format((float)$orders[0]->grandtotal, 2, '.', ''); ?></strong> </h4>
                       </div>
                   </div>
               </div>
               <div class="row">
                   <div class="col-lg-12 col-md-12 col-sm-12">
                       <div class="alert" style="background: #ffd9e8;padding:20px;margin:20px 0;line-height:22px;color:#333"><span><strong>Description :</strong></span><br>
                           This Invoice details was sent by Proudly African, 212 Terminus Road Eastbourne, East Sussex, BN21 3DF, +447485108269,
                       </div>
                   </div>
               </div>
               <div class="row">
                   <div class="col-lg-12 col-md-12 col-sm-12">
                       <a target="_blank" href="{{ url('print_order') }}/{{ $orders[0]->order_id }}/print" class="btn btn-primary btn-lg">Print Invoice</a>
                       &nbsp;&nbsp;&nbsp;

                   </div>
               </div>
           </div>


        </div>

        <div class="clearfix"></div>


    </div>
</div>

<!-- jQuery library -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>




@endsection



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