@if (Session::has('message'))
{{ Session::get('message') }}
@endif
ID |
Invoice No |
Invoice Date |
Caterer |
Payment Type |
Order Status |
Order Total |
@php $a= 1; @endphp
@foreach($data as $datas)
@php $costing = DB::table('order_items')->where('order_id',$datas->id)->sum('total_price');
$caterer = DB::table('caterers')->where('id',$datas->caterer_id)->first();
@endphp
{{$a}} |
{{$datas->invoice_id}} |
{{$datas->invoice_date}} |
{{$caterer->name}} |
{{$datas->payment_type}} |
{{$datas->order_status}} |
{{$costing}} |
@php $a= 1; @endphp
@endforeach
ID |
Invoice No |
Invoice Date |
Caterer |
Payment Type |
Order Status |
Order Total |