@isset($date)
{{$date->label}}
@endisset
@php
$total_tiffins = 0;
@endphp
@if (count($packages))
@foreach ($packages as $item)
{{ $item->package_type }}
|
{{ $item->label }}
|
{{ $item->qty }}
|
@php
$total_tiffins += $item->qty;
@endphp
@endforeach
Total |
{{$total_tiffins}} |
@endif
@php $totalRotis=0; @endphp
@if (count($rotis))
@foreach ($rotis as $item)
{{ $item->label }}
|
{{ $item->qty }}
|
{{ $item->unit }}
|
@php $count=$item->qty*$item->unit;
$totalRotis= $totalRotis+$count; @endphp
{{ $item->qty*$item->unit }}
|
@endforeach
Total rotis
|
{{ $totalRotis }} |
@endif
@php $totalPri=0; @endphp
@if (count($primaryVeg))
Primary Veg
|
@foreach ($primaryVeg as $v)
{{ $v->label }} |
{{ $v->qty }} |
@php $totalPri=$totalPri+$v->qty; @endphp
@endforeach
Total |
{{$totalPri}} |
@endif
@php $totalSec=0; @endphp
@if (count($secondaryVeg))
Secondary Veg
|
@foreach ($secondaryVeg as $v)
{{ $v->label }} |
{{ $v->qty }} |
@php $totalSec=$totalSec+$v->qty; @endphp
@endforeach
Total |
{{$totalSec}} |
@endif
@if (count($rice))
@php $totalRic=0; @endphp
Rice
|
@foreach ($rice as $v)
{{ $v->label }} |
{{ $v->qty }} |
@php $totalRic=$totalRic+$v->qty; @endphp
@endforeach
Total |
{{$totalRic}} |
@endif