@extends('layouts.app') @section('content')

{{ucwords($categories->name)}} ({{date('d-M-Y', strtotime($date))}})

@if(count($order_details_id) > 0) @foreach($order_details_id as $key => $val) @php $orderDetail = \App\OrderDetail::where('id', $val)->first(); @endphp @endforeach @else @endif
Sr No.
Product Group
Product Name
Total
Quantity
Net in Rs
Gross Amt.
{{$key+1}}
{{ucwords($orderDetail->product->category->name)}}
{{ucfirst($orderDetail->product->name)}}
{{ $orderDetail->quantity }}
{{ $orderDetail->price - $orderDetail->tax}}
{{ $orderDetail->price}}
@endsection