@php /** * Closed-dates (blackout) manager — the list of blocked dates plus the * add-a-date form. Rendered inside the Reservations "Closed dates" modal AND * the Settings -> Closed dates panel, so both stay in step automatically. * * @var array $blackouts upcoming blackout rows: id, blackout_date, reason * @var string $returnTo 'reservations' | 'settings' — where the save/delete * actions send the user back to. */ $blackouts = $blackouts ?? []; $returnTo = $returnTo ?? 'reservations'; $suffix = $returnTo === 'settings' ? '-set' : ''; @endphp
{{ t_raw('vendor.reservations.blackout_manager_hint') }}
| {{ t_raw('common.date') }} | {{ t_raw('vendor.reservations.blackout_col_reason') }} | {{ t_raw('common.remove') }} |
|---|---|---|
| {!! fmt_day($b['blackout_date']) !!} | {!! or_dash($b['reason']) !!} |