@extends('layouts.dashboard') @section('content')
{{--

--}}

{{ $setting->first()->name }}

Mobile: {{ $setting->first()->phone }}

Customer Info

{{ $billingdetails->first()->customer_name }}

{{ $billingdetails->first()->customer_phone }}

{{ $billingdetails->first()->customer_address }}

Invoice #{{ $order->first()->order_id }}

Order Date : {{ $order->first()->created_at->format('d,M,Y') }}

@foreach ($OrderProducts as $sl=>$Order) @if ($Order->rel_to_product != null) @else @endif @endforeach
SL# Product(s) Qty Price
{{ $sl+1 }} {{ $Order->rel_to_product->product_name }} {{ $Order->quantity }} {{ $Order->rel_to_product->product_discount*$Order->quantity }}{{ $sl+1 }} {{ $Order->product_id }} {{ $Order->quantity }} {{ $Order->price }}
Sub Total {{ $order->first()->sub_total }}
Shipping Cost (+) {{ $order->first()->shipping_cost }}
Delivery Cost (+) {{ $order->first()->discount }}
Total {{ $order->first()->total }}
@endsection