Order Details
| #{{$order->order_no}} | |
| {{$order->payment->pay_method_name ?? ''}} | |
| {{date('d-M-Y',strtotime($order->created_at))}} |
Customer Details
| @if($order->customer_id == null) {{$order->customer_name}} @else {{$order->customer->first_name.''.$order->customer->last_name}} @endif | |
| @if($order->customer_id == null) {{$order->customer_email}} @else {{$order->customer->user->email}} @endif | |
| @if($order->customer_id == null) {{$order->phone_no}} @else {{$order->customer->phone_no}} @endif |
| Payment Address | --}}Shipping Address |
|
Address : {{$order->address_number ? $order->address_number.',' : ''}}
{{$order->street ? $order->street.',' : ''}} {{$order->shipping_address}}
City : {{$order->shipping_city}} State : {{$order->shipping_state}} Country : {{$order->shipping_country}} Zip Code : {{$order->shipping_zip}} Customer Order Receiving Date : {{$order->order_days ?? ''}} |
Order Item Details
| # | Item | Collection Product | Unit Cost | Qty | Total |
|---|---|---|---|---|---|
| {{$counter++}} |
{{ $orderItems->product_name ?? $orderItems->product->product_name ?? ''}}
@if($orderItems->customerAddress != null) Address: {{$orderItems->customerAddress->address_number ? $orderItems->customerAddress->address_number.',' : ''}} {{$orderItems->customerAddress->street ? $orderItems->customerAddress->street.',' : ''}} {{$orderItems->customerAddress->address}} {{$orderItems->customerAddress->city ? $orderItems->customerAddress->city.',' : ''}} {{$orderItems->customerAddress->state ? $orderItems->customerAddress->state.',' : ''}} {{$orderItems->customerAddress->country ??''}} Zip Code: {{$orderItems->customerAddress->zip_code ?? $order->shipping_zip ?? ''}} Customer Order Receiving Date: {{$order->order_days ?? ''}} @endif |
@php $attributes = $orderItems->product->toArray();
/*@dd($attributes)*/
@endphp
{{ str_replace(['"', '[', ']', '-'], ' ', $attributes['slug']) }} | ${{$orderItems->product_per_price}} | {{$orderItems->product_qty}} | ${{$orderItems->product_per_price*$orderItems->product_qty}} |
| Subtotal | ${{$order->sub_total}} |
| Discount | ${{$order->discount}} |
| Tip | ${{$order->tip}} |
| Shipping Rate | ${{$order->shipping_cost}} |
| Total | ${{$order->total_amount}} |