@foreach($render->days->chunk(7) as $week)
@foreach($week as $day)
{{ $day->getDayOfMonth() }}
@if($day->isDayClosed()) @include('front.modules.calendar.state_owner_calendar.market_closed') @elseif(!is_null($day->getEventTitle())) @include('front.modules.calendar.state_owner_calendar.open_day_with_event') @else @include('front.modules.calendar.state_owner_calendar.open_day_tooltip') @endif
@endforeach
@endforeach {{--@foreach($render->days->chunk(7) as $week)--}} {{--
--}} {{-- @foreach($week as $day)--}} {{--
rate === null)--}} {{-- calendar__day_off--}} {{-- @endif--}} {{-- @if(!Auth::user()->abilityBookByLease())--}} {{-- calendar__day_off--}} {{-- @elseif($day->past || !$day->this_month)--}} {{-- calendar__day_disabled--}} {{-- @elseif($day->info['has_stall'] === 'booked')--}} {{-- calendar__day_waitlist--}} {{-- @elseif($day->info['has_stall'] === 'wait')--}} {{-- calendar__day_your--}} {{-- @elseif($day->info['has_stall'] === 'unpaid')--}} {{-- calendar__day_unpaid--}} {{-- @elseif($day->past || !$day->this_month)--}} {{-- calendar__day_disabled--}} {{-- @endif()--}} {{-- ">--}} {{-- --}} {{--
{{ $day->day_of_month }}
--}} {{-- @if(--}} {{-- Auth::user()->rate === null ||--}} {{-- Auth::user()->checkAvailableDate($day->date_of_day) != true ||--}} {{-- !Auth::user()->abilityBookByLease()--}} {{-- )--}} {{-- @include('front.modules.calendar.state_owner_calendar.market_closed')--}} {{-- @elseif(!$day->events->isEmpty())--}} {{-- @include('front.modules.calendar.state_owner_calendar.open_day_with_event')--}} {{-- @else--}} {{-- @include('front.modules.calendar.state_owner_calendar.open_day_tooltip')--}} {{-- @endif--}} {{--
--}} {{--
--}} {{-- @endforeach--}} {{--
--}} {{--@endforeach--}}