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

ORDER: {{$order->order_code}} {{$order->order_status}}

Date : {{ $order->created_at->format('d M Y h:i A') }}
@csrf

Shipping Address

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

Billing Address

Name : {{$billingaddress->name}}
Phone : {{$billingaddress->phone}}
E-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) }}
Invoice
{{-- model end --}} @endsection @push('js') @endpush