First Order # |
Customer ID |
First Name |
Last Name |
Email |
Phone |
Total Meals |
Breakfast |
Breakfast-Veggie |
User Comments |
Admin Comments |
@php
$total_meals = $total_veggie = $total_reg = 0;
@endphp
@foreach ($breakfast_meals as $row)
{{$row[0]->id}} |
{{$row[0]->user_id}} |
{{$row[0]->user->firstname}} |
{{$row[0]->user->lastname}} |
{{$row[0]->user->email}} |
{{localize_us_number($row[0]->user->phone)}} |
{{$row->sum('total_meals')}} |
{{$row->sum('total_breakfast')}} |
{{$row->sum('total_breakfast_veggie')}} |
@foreach($row as $m)
{{ $m->comments }}
@endforeach
|
@foreach($row as $m)
{{ $m->admin_comments }}
@endforeach
|
@php
$total_meals +=$row->sum('total_meals');
$total_veggie += $row->sum('total_breakfast_veggie');
$total_reg += $row->sum('total_breakfast');
@endphp
@endforeach
|
|
|
|
|
Total: |
{{$total_meals}} |
{{$total_reg}} |
{{$total_veggie}} |
|
|