@extends('layouts.frontend.app') @section('title') {{$title}} @endsection @section('meta') @endsection @push('css') @endpush @section('content')

Order # {{$order->order_code}} {{$order->order_status}}

SHIPPING ADDRESS

Name : {{$shipping_address->name}}
Phone : {{$shipping_address->phone}}
Mail : {{$shipping_address->email}}
Address : {{$shipping_address->address}}

BILLING ADDRESS

Name : {{$billingaddress->name}}
Phone : {{$billingaddress->phone}}
Mail : {{$billingaddress->email}}
Address : {{$billingaddress->address}}

PAYMENT METHOD: {{$order->payment_method}}
PAYMENT STATUS: {{$order->status}}

@php $product_id = explode(",",$order->product_id); $quantity = explode(",",$order->quantity); $size_id = explode(",",$order->size_id); $colour_id = explode(",",$order->colour_id); @endphp @foreach($product_id as $key=>$product_id) @php $product = App\Product::find($product_id); @endphp @endforeach @if ($order->advance>0) @endif
Photo Product Name Price Qty Subtotal
{{ $product->title }}
ID # {{$product->product_code}}
@if (!($size_id[$key] == 'no')) @php $size = App\Size::find($size_id[$key]); @endphp Size : {{$size->name}}
@endif @if (!($colour_id[$key] == 'no')) @php $colour = App\Colour::find($colour_id[$key]); @endphp Colour : {{$colour->name}} @endif
{{ number_format($product->sell_price) }} {{ $quantity[$key] }} {{ number_format($product->sell_price * $quantity[$key]) }}
Subtotal {{ number_format($order->subtotal) }}
Shipping Charge {{ number_format($order->shipping_charge) }}
Grand Total {{ number_format($order->total) }}
Advance Paid {{ number_format($order->advance) }}
{{ $order->advance_method }} {{ $order->ac_no }}
Transaction ID {{ $order->adv_trans_id }}
Due Amount {{ number_format($order->total-$order->advance) }}
@endsection @push('js') @endpush