@extends('mails.layouts.app')
@push('heading')
Order confirmation.
Thank you
Below are important details about your order.
@endpush
@section('content')
| Customer Details |
| Order No. |
: |
{{ $order->id }} |
| Name |
: |
{{ $order->address->first_name }} {{ $order->address->last_name }} |
| Email |
: |
{{ $order->address->email }} |
| Phone |
: |
{{ $order->address->phone }} |
| Address |
: |
{{ $order->address->address }},
{{ $order->address->city }},
{{ $order->address->state }},
{{ $order->address->postal }}
|
{{--
| Order Created Location |
: |
Ontario , York |
--}}
| Order Created Date and Time |
: |
{{ $order->created_at }} |
{{--
| Pickup Date and Time |
: |
2021/08/28 4:30 PM |
--}}
| Comments |
: |
{{ $order->note }} |
|
|
{{-- address end --}}
| |
{{-- order details --}}
| Order Details |
| ITEM NAME |
UNIT |
QUANTITY |
TOTAL |
@foreach ($order->order_packages as $order_package)
|
{{ $order_package->pricing->package->name }} - {{ $order_package->pricing->days }} Days
|
{{ core_currency_formate($order_package->pricing->price) }}
|
1
|
{{ core_currency_formate($order_package->grand_total) }}
|
@endforeach
Package/Meal Details |
| Product |
Type |
Price |
Qty |
Total |
@foreach ($order->order_dates as $order_date)
| Date : {{ date('d-m-Y', strtotime($order_date->date)) }} |
@foreach ($order_date->package_items as $package_item)
| {{ $package_item->name }} |
{{ $package_item->type == 'addon' ? 'Addon' : 'Default' }} |
{{ $package_item->type == 'addon' ? core_currency_formate($package_item->product->price) : 0 }} |
{{ $package_item->qty }} |
{{ core_currency_formate($package_item->grand_total) }} |
@endforeach
@endforeach
|
|
{{-- end package items--}}
{{-- sub totals --}}
| |
|
|
|
| SubTotal : |
|
|
{{ core_currency_formate($order->sub_total) }} |
| Coupon Discount : |
|
|
{{ core_currency_formate($order->discount_amount) }} |
| TAX ( HST ) : |
|
|
{{ core_currency_formate($order->tax_amount) }} |
{{--
| Shipping : |
|
|
$0.0 |
--}}
| GRAND TOTAL |
|
|
{{ core_currency_formate($order->grand_total) }} |
|
|
@endsection