@include('partials.breadcrumbs')
@include('layouts.crmnov')

Weekly Planner

@if(isset($resident)) {{ $resident->first_name }} {{ $resident->middle_name }} {{ $resident->surname }} @endif

Current week's planned events based on the main calendar page
This Week Need to Edit?
Week Commencing {{ date(config('choicescrm.date_format_forms_weekly'), strtotime($weekstart))}} - {{ date(config('choicescrm.date_format_forms_weekly'), strtotime($weekend))}}
@forelse($datas as $data)

@if(isset($data['date'])) {{ date(config('choicescrm.date_format_forms_weekly'), strtotime($data['date']))}} @endif

Event Title: @if(isset($data['title'])) {{$data['title']}} @endif

Event Description: @if(isset($data['description'])) {{$data['description']}} @endif

Time: @if(isset($data['start_time'])) {{$data['start_time']}} TO {{$data['end_time']}} @endif

Location: @if(isset($data['location'])) {{$data['location']}} @endif

Participants: @if(isset($data['name'])) {{$data['name']}} @endif

@empty
No planned events for this week

There are no calendar events linked to @if(isset($resident)){{ $resident->first_name }} {{ $resident->middle_name }} {{ $resident->surname }}@endif for the week of {{ date(config('choicescrm.date_format_forms_weekly'), strtotime($weekstart))}} - {{ date(config('choicescrm.date_format_forms_weekly'), strtotime($weekend))}}.

@endforelse