@extends('mails.layouts.app') @push('heading') Order confirmation.
Thank you
Below are important details about your order.
@endpush @section('content') {{-- address end --}} {{-- order details --}} {{-- end package items--}} {{-- sub totals --}}
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 }}
 
Order Details
@foreach ($order->order_packages as $order_package) @endforeach
ITEM NAME UNIT QUANTITY TOTAL
{{ $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) }}
@foreach ($order->order_dates as $order_date) @foreach ($order_date->package_items as $package_item) @endforeach @endforeach

Package/Meal Details

Product Type Price Qty Total
Date : {{ date('d-m-Y', strtotime($order_date->date)) }}
{{ $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) }}
{{-- --}}
       
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