@extends('layouts.app') @section('title') {{ __('messages.ipd_patient.edit_ipd_patient') }} @endsection @section('header_toolbar')

@yield('title')

{{ __('messages.common.back') }}
@endsection @section('content')
@include('layouts.errors')
{{Form::hidden('patientCasesUrl',route('patient.cases.list'),['id'=>'editPatientCasesUrl','class'=>'patientCasesUrl'])}} {{Form::hidden('patientBedsUrl',route('patient.beds.list'),['id'=>'editPatientBedsUrl','class'=>'patientBedsUrl'])}} {{Form::hidden('isEdit',true,['class'=>'isEdit'])}} {{Form::hidden('ipdPatientCaseId',$ipdPatientDepartment->case_id,['id'=>'editIpdPatientCaseId','class'=>'editIpdPatientCaseId'])}} {{Form::hidden('ipdPatientBedId',$ipdPatientDepartment->bed_id,['id'=>'editIpdPatientBedId','class'=>'ipdPatientBedId'])}} {{Form::hidden('ipdPatientBedTypeId',$ipdPatientDepartment->bed_type_id,['id'=>'editIpdPatientBedTypeId','class'=>'ipdPatientBedTypeId'])}}
{{ Form::model($ipdPatientDepartment, ['route' => ['ipd.patient.update', $ipdPatientDepartment->id], 'method' => 'patch', 'id' => 'editIpdPatientDepartmentForm']) }} @include('ipd_patient_departments.edit_fields') {{ Form::close() }}
@endsection {{-- let patientCasesUrl = "{{ route('patient.cases.list') }}";--}} {{-- let patientBedsUrl = "{{ route('patient.beds.list') }}";--}} {{-- let isEdit = true;--}} {{-- let ipdPatientBedId = "{{ $ipdPatientDepartment->bed_id }}";--}} {{-- let ipdPatientBedTypeId = "{{ $ipdPatientDepartment->bed_type_id }}";--}} {{-- --}}