@extends('layouts/eatvio') @php $curMonth = now()->month; @endphp @section('main_section')
Мои планы
3 из 15 дней
План - Легкий
{{ auth()->user()->name }}
Консультант
{{ now()->locale($currentLocale)->monthName }}
{{ now()->year }}
План:
Легкий
Пн
Вт
Ср
Чт
Пт
Сб
Вс
@foreach($fullGridPeriod as $key => $curDate) @php $isNotCurManth = !($curMonth == $curDate->month); $isCurDay = now()->day == $curDate->day; $dateKey = $curDate->format('Y-m-d'); $curDiaryDay = $filledDays[$dateKey] ?? null; @endphp
$isNotCurManth, "bg-warning" => $isCurDay ])> @isset($filledDays[$dateKey]) @else
{{ $curDate->day }}
@endisset
@endforeach
@endsection