@can('beds.view') Bed board @endcan New ward
@if (request()->hasAny(['q', 'type', 'inactive'])) Clear @endif
@if ($wards->isEmpty()) New ward @else
@foreach ($wards as $ward) @endforeach
Ward Type Location Nurse in charge Rooms Beds Rate Status Actions
{{ $ward->name }}
{{ $ward->code }}
@if ($ward->is_critical_care) @endif @if ($ward->gender_restriction !== 'none') @endif
{{ $ward->floor ?: '—' }}
@if ($ward->building)
{{ $ward->building }}
@endif
{{ $ward->nurseInCharge?->name ?? '—' }} {{ $ward->rooms_count }}
{{ $ward->beds_active_count }} active
{{ $ward->beds_occupied_count }} occupied · {{ $ward->beds_available_count }} free
{{ money($ward->charge_per_day) }}/day @if ($ward->is_active) @else @endif
@can('beds.view') @endcan
@csrf @method('DELETE')
@if ($wards->hasPages())
{{ $wards->links() }}
@endif @endif