@php $dows = [__('Mon'), __('Tue'), __('Wed'), __('Thu'), __('Fri'), __('Sat'), __('Sun')]; $legend = [ ['#0369A1', __('Tasks')], ['#0EA5E9', __('Projects')], ['#0b7a4b', __('Deals')], ['#6D28D9', __('Proposals')], ['#B45309', __('Estimates')], ]; @endphp
{{ __('CRM') }}

{{ __('Your') }} {{ __('calendar') }}

{{ __('Every deadline in one place — task due dates, project deadlines, deal close dates and quote expiries.') }}

{{ $monthLabel }}
{{ __('Today') }}
@foreach ($legend as [$c, $lbl]) {{ $lbl }} @endforeach
@foreach ($dows as $d)
{{ $d }}
@endforeach
@foreach ($weeks as $week)
@foreach ($week as $day)
{{ $day['day'] }}
@foreach (array_slice($day['events'], 0, 4) as $ev) {{ $ev['label'] }} @endforeach @if (count($day['events']) > 4)
+{{ count($day['events']) - 4 }} {{ __('more') }}
@endif
@endforeach
@endforeach

{{ trans_choice('{0}No deadlines this month.|{1}:count deadline this month.|[2,*]:count deadlines this month.', $total, ['count' => $total]) }}