{{-- ICTHospital - admit a patient. Only free beds are offered, so a clash is hard to reach from the form. The controller still checks, because two clerks can have this page open at once. Copyright (c) DEVtrust Part of ICTHospital Licensed under the GNU General Public License v3.0. --}} @extends('layouts.master') @section('style') @stop @section('content')

Admit patient

@if (count($errors) > 0)
Check the form.
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
{{ csrf_field() }}
@if ($patients->isEmpty()) No patients yet. Register one first. @endif
@if ($freeBeds->isEmpty()) Every bed is occupied. Discharge someone, or add a bed. @endif
Leave blank for now.
Cancel
@stop @section('script') @stop