@extends('layouts.dashboard') @section('content') @foreach ($order_ids as $order_id) @php $orders = App\Models\Order::where('id', $order_id)->get(); @endphp
|
{{ $setting->first()->name }} Mobile: {{ $setting->first()->phone }} |
Customer Info{{ $billingdetails->first()->customer_name }} {{ $billingdetails->first()->customer_phone }} {{ $billingdetails->first()->customer_address }} |
Invoice #{{ $order->order_id }} Order Date : {{ $order->created_at->format('d,M,Y') }} |
| SL# | Product(s) | Qty | Price |
|---|---|---|---|
| {{ $sl+1 }} | {{ $orderpro->rel_to_product->product_name }} | {{ $orderpro->quantity }} | {{ $orderpro->rel_to_product->product_discount*$orderpro->quantity }} |
| Sub Total | {{ $order->sub_total }} | ||
| Shipping Cost (+) | {{ $order->shipping_cost }} | ||
| Delivery Cost (+) | {{ $order->discount }} | ||
| Total | {{ $order->total }} |