failed
Needs your attention
Payments could not be checked
The card provider did not answer, so overdue payments may be missing below.
Oakmere Primary School invoice
Delivery failed.
Correct the address before sending again.
Open Oakmere Primary School invoiceA Calendar week that could not be read, its hours kept.
This week's bookings could not be read
The booking service did not answer, so bookings may be missing below.
Mon
Tue
Wed
Source
<Kit.Phoenix.Layouts.Home.home subject_state={Kit.Phoenix.State.failed(:attention, "Payments could not be checked", "The card provider did not answer, so overdue payments may be missing below.")}>
<:state_action><Kit.Phoenix.Roles.SecondaryAction.secondary_action>Check payments again</Kit.Phoenix.Roles.SecondaryAction.secondary_action></:state_action>
<:attention heading="Needs your attention" heading_rest={%{id: "failed-attention-title"}} rest={%{"aria-labelledby": "failed-attention-title"}}>
<Kit.Phoenix.Roles.AttentionItem.attention_item>
<:subject>Oakmere Primary School invoice</:subject>
<:standing>Delivery failed.</:standing>
<:urgency>Correct the address before sending again.</:urgency>
<:route href="../role-form-group/#role-form-group">Open Oakmere Primary School invoice</:route>
</Kit.Phoenix.Roles.AttentionItem.attention_item>
</:attention>
</Kit.Phoenix.Layouts.Home.home>
<p class="specimen-case-line">A Calendar week that could not be read, its hours kept.</p>
<Kit.Phoenix.Layouts.Calendar.calendar :let={subject_region} subject_state={Kit.Phoenix.State.failed(:attention, "This week's bookings could not be read", "The booking service did not answer, so bookings may be missing below.")} range_days={Kit.Phoenix.Time.day_range(reader(), ~D[2025-04-21], ~D[2025-04-23])} toolbar_rest={%{"aria-label": "Calendar controls"}} scope_id="state-failed-calendar-filters" filters_label="Filters">
<:today label="Today" /><:previous label="Previous week" href="?week=previous" rest={%{rel: "prev"}} /><:next label="Next week" href="?week=next" rest={%{rel: "next"}} /><:date><Kit.Phoenix.Roles.FormGroup.form_group id="failed-date"><:label>Go to a date</:label><:control :let={binding}><Kit.Phoenix.Roles.DateField.date_field binding={binding} reader={reader()} name="date" value={Kit.Phoenix.Roles.DateField.Committed.day(Kit.Phoenix.Time.day(reader(), ~D[2025-04-21]))} today={Kit.Phoenix.Time.day(reader(), ~D[2025-04-21])} direction={:either} /></:control></Kit.Phoenix.Roles.FormGroup.form_group></:date>
<:scope><Kit.Phoenix.Roles.FormGroup.form_group id="state-failed-calendar-scope-form-group" kind={Kit.Phoenix.Roles.FormGroup.Kind.select()} control_rest={%{id: "state-failed-calendar-scope"}}><:label rest={%{for: "state-failed-calendar-scope"}}>Hall</:label><:option value="all">All halls</:option></Kit.Phoenix.Roles.FormGroup.form_group></:scope>
<:view><Kit.Phoenix.Roles.FormGroup.form_group id="state-failed-calendar-view-form-group"><:label>View</:label><:control_set :let={binding}><Kit.Phoenix.Roles.SegmentedControl.segmented_control binding={binding} name="state-failed-calendar-view" value="week"><:option value="week">Week</:option><:option value="day">Day</:option><:option value="month">Month</:option></Kit.Phoenix.Roles.SegmentedControl.segmented_control></:control_set></Kit.Phoenix.Roles.FormGroup.form_group></:view>
<:actions><Kit.Phoenix.Roles.PrimaryAction.primary_action>New booking</Kit.Phoenix.Roles.PrimaryAction.primary_action></:actions>
<:state_action><Kit.Phoenix.Roles.SecondaryAction.secondary_action>Try again</Kit.Phoenix.Roles.SecondaryAction.secondary_action></:state_action>
<Kit.Phoenix.Layouts.Calendar.desk_grid subject_region={subject_region} columns={3} time_gutter_rest={%{"aria-label": "Times"}}>
<:column_head :for={date <- Date.range(~D[2025-04-21], ~D[2025-04-23])} column={Kit.Phoenix.Layouts.Calendar.Column.day(Kit.Phoenix.Time.day(reader(), date))} />
<:hour :for={hour <- (for hour <- [~T[09:00:00], ~T[10:00:00], ~T[11:00:00], ~T[12:00:00]], do: Kit.Phoenix.Time.clock(reader(), hour))} time={hour} />
<:column :for={_date <- Date.range(~D[2025-04-21], ~D[2025-04-23])}></:column>
</Kit.Phoenix.Layouts.Calendar.desk_grid>
<Kit.Phoenix.Layouts.Calendar.days subject_region={subject_region}>
<Kit.Phoenix.Layouts.Calendar.day :for={date <- Date.range(~D[2025-04-21], ~D[2025-04-23])} day={Kit.Phoenix.Time.day(reader(), date)}>
</Kit.Phoenix.Layouts.Calendar.day>
</Kit.Phoenix.Layouts.Calendar.days>
</Kit.Phoenix.Layouts.Calendar.calendar>