@extends('layouts.default')
@php
/** @var \App\Models\RefugeeFamily $checkin_record->refugee_family */
/** @var \App\Models\CheckinRecord $check_record */
$is_first_print = Session::has('is_first_print');
@endphp
{{-- Page Title --}}
@section('title')
Refugee Check-In
@parent
@stop
{{-- Content --}}
@section('content')
Checked-in
{{ $checkin_record->refugee_family->id }}
{{ $checkin_record->refugee_family->full_name }}
{{--Additional Notes--}}
@if(!empty($checkin_record->note))
{!! nl2br(e($checkin_record->note)) !!}
@endif
@can('delete check-ins')
{{--Delete Member Modal--}}
@include('components.remove_confirmation')
@endcan
@endsection
@php
$diaper_sizes = $checkin_record->member_checkin_records
->where('diaper_size', '!=', null)
->groupBy('diaper_size')
->map(function($item, $key) use($settings) {
return count($item) * $settings['diaper_count_per_given'][$key];
})
@endphp
@section('scripts')
@endsection