![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/mcoil.corals.io/resources/views/emails/customer/ |
@inject('service', 'App\library\InjectService') <!doctype html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Order Confirmation</title> <link rel="stylesheet" href="{{asset('https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css')}}"> <style type="text/css"> img { width:50%;} </style> </head> <body> <section class="container"> <div> <p><img src="{{ asset('/public/img/images_uploaded/'.$website_setting->header_logo)}}" alt="{{ config('app.name') }}" /></p> </div> <div class="col-md-12"> <h1>Great news! We’ve got your order #{{$order->id}}</h1> <h2>Hello {{$customer->fname}},</h2> <p>Thank you for your order! A record of your purchase information appears below. Please keep this email as a confirmation of your order.</p> <h2>ORDER INFORMATION</h2> <p><strong>Order Date:</strong> {{ date('d/m/Y h:i a', strtotime($order->created_at)) }}<br /> <strong>Order ID:</strong> #{{$order->id}}<br /> <strong>Order Reference No.:</strong> {{$order->reference}}<br /> <strong>Address:</strong> {{$address->address_1}}, {{$address->address_2}}, {{$address->town}}, {{$address->county}}, {{$address->zip}}<br /> <strong>Paid with:</strong> {{$order->payment_option}}</p> <strong>Delivery Date:</strong> {{ date('d/m/Y', strtotime($order->delivery_date)) }}<br /> @foreach($products as $product) <p><strong>SKU</strong>: {{$product->sku}}<br /> <strong>NAME</strong>: {{$product->name}}<br /> <strong>QUANTITY</strong>: {{$product->pivot->quantity}}<br /> <strong>PRICE</strong>: {{config('cart.currency_symbol')}}{{number_format($order->total_products, 2)}}</p> @endforeach <p>Subtotal: {{config('cart.currency_symbol')}}{{number_format($order->total_products, 2)}}<br /> Shipping: {{config('cart.currency_symbol')}}{{number_format($order->total_shipping, 2)}}<br /> Discounts: ({{config('cart.currency_symbol')}}{{number_format($order->discounts, 2)}})<br /> Vat: {{config('cart.currency_symbol')}}{{number_format($order->tax, 2)}} <h3><strong>TOTAL:</strong> <strong>{{config('cart.currency_symbol')}}{{number_format($order->total, 2)}}</strong></h3></p> <?php $emailContent = $service->getEmailContent('order_email'); ?> @if($emailContent) {!! $emailContent->message !!} @endif </div> </section> </body> </html>