@extends('member.layouts.master') @section('member-body')
@include('layouts.message')

{{$heading}}

Customer: {{$order_record->user->display_name}}
@if($address)
Address: {{$address->billing_street_address_1}}, {{$address->billing_city}}, {{$address->billing_state}} ({{$address->billing_postcode}})
@endif
Items Details
@if($order_record->status=='completed') @else Edit @endif
@foreach(\App\Models\Commerce\Cart::where('user_cart_id',$order_record->user_cart_id)->get() as $cart_item) @endforeach @if(isset($order_record->delivery_charge)) @endif
Product Specifications Amount
@if(isset($cart_item->product->heading)) {{$cart_item->product->heading}} @else NA @endif @if(count($cart_item->images)>0)
@foreach($cart_item->images as $image) View Artwork File
@if(isset($image->notes)) {!! $image->notes !!} @endif @endforeach @endif
@foreach(json_decode($cart_item->variants) as $v_key=>$variant_value) {{get_variant_value($v_key)}}: {{get_option_value($variant_value)}}
@endforeach
{{default_currency()->sign}}{{number_format($cart_item->total,2)}}
Sub Total {{default_currency()->sign}}{{number_format($order_record->sub_total,2)}}
GST {{default_currency()->sign}}{{number_format($order_record->taxes,2)}}
Delivery Charge {{default_currency()->sign}}{{number_format($order_record->delivery_charge,2)}}
Grand Total {{default_currency()->sign}}{{number_format($order_record->total,2)}}
Payment Summary
@if($order_record->status=='completed') @else Unpaid @endif
Date/Time: {{$order_record->updated_at}}
Order ID: #{{$order_record->bill_no}}
Total Payment: {{default_currency()->sign}}.{{number_format($order_record->total,2)}}
Payment Method : @if(isset($order_record->payment_method->name)) {{$order_record->payment_method->name}} @else Cash @endif
@if(!($order_record->status=='completed')) @endif
@endsection