@if (Session::has('message'))
{{ Session::get('message') }}
@endif
ID |
Invoice Code |
Caterer Name |
Customer |
Payment Type |
Invoice Date |
No Of Products |
Order Status |
Action |
@foreach($data as $datas)
@php $caterer=DB::table('caterers')->where('id',$datas->caterer_id)->first();
$user=DB::table('users')->where('id',$datas->customer_id)->first();
$order_items_count=DB::table('order_items')->where('order_id',$datas->id)->count(); @endphp
{{$datas->id}} |
{{$datas->invoice_id}} |
{{$caterer->name}} |
{{$user->first_name}} {{$user->last_name}} |
{{$datas->payment_type}} |
{{$datas->invoice_date}} |
{{$order_items_count}} |
{{$datas->order_status}} |
|
@endforeach
ID |
Invoice Code |
Caterer Name |
Customer |
Payment Type |
Invoice Date |
No Of Products |
Order Status |
Action |