@php $show_date = 1; @endphp
@foreach ($this->year_array as $key => $month)
{{$key}}
@foreach ($days_week as $day)
{{substr($day->day, 0, 1)}}
@endforeach
@php $iteration = 0 @endphp
@while($month['startOfCalendar'] <= $month['endOfCalendar'])
@php $i = $month['startOfCalendar']->dayOfWeek; $day = $month['startOfCalendar']->format('d') @endphp
{{$day}}
@php $month['startOfCalendar']->addDay(); @endphp
@endwhile