|
@foreach ($activity as $year => $months)
@foreach ($months as $month => $dates)
{{ $month }}@if ($month == 'Jan') {{ $year }}@endif |
@endforeach
@endforeach
@for ($i = 1; $i <= 31; $i++)
{{ $i }} |
@foreach ($activity as $year => $months)
@foreach ($months as $month => $dates)
@if (isset($dates[$i]) && $dates[$i] > 0)
{{ $dates[$i] }} |
@elseif (isset($dates[$i]) && $dates[$i] == 0)
|
@else
|
@endif
@endforeach
@endforeach
@endfor