{{-- {{$order}} --}}
{{$order->customer->name}}
    {{--
  • Dokhin Jungle Sonaichori
  • --}}
  • {{$order->customer?->address}}
  • {{--
  • www.mati-ta.com
  • --}}
  • {{$order->customer->contact}}

Invoice

1st jan. 2023 @php echo trim(str_replace('INV-','',$order->invoice_no)); @endphp
@php $total = 0; @endphp @forelse ($order->orderDetails as $item) @if ($item->product_type ==='set') @php $total+=$item->qty * $item->price @endphp @elseif ($item->product_type ==='single') @php $total+=$item->qty * $item->price @endphp @else @endif @empty @endforelse
DESCRIPTION QTY UNIT PRICE TOTAL
{{$item->productset->group_product_name}}
@forelse ($item->productset->product_support as $i) {{$i->product->product_name}}, @empty

@endforelse
{{$item->qty}} {{$item->price}} {{$item->qty * $item->price}}
{{$item->product->product_name}} {{$item->qty}} {{$item->price}} {{$item->qty * $item->price}}
{{$item->product_type}}
No data founds!
Subtotal: {{$total}}
Discount: {{$order->discount}}
Tax: {{$order->tax}}
Total: {{$order->total}}
Paid: {{$order->payment}}
@if(session()->get('userroleidentity') !== null) Back @endif