@extends('layouts.page') @section('title') Patients Create New @endsection @section('navs') @endsection @section('content') @include ('patient.styles')
{!! Form::open(['url' => route('patient.save', [$patient->id]), 'files' => true]) !!} {!! EasyForm::setErrors($errors) !!} {!! EasyForm::setColSizes(4, 8) !!}
{!! EasyForm::input('full_name', $patient->label('full_name'), old('full_name', ''))!!} {!! EasyForm::select('gender', $patient->label('gender'), old('gender', ''), AppHelper::options('gender')) !!} {!! EasyForm::input('age', $patient->label('age'), old('age', ''))!!} {!! EasyForm::input('street_address', $patient->label('street_address'), old('street_address', ''))!!} {!! EasyForm::input('landmark', $patient->label('landmark'), old('landmark', ''))!!} {!! EasyForm::select('state', $patient->label('state'), old('state', ''), AppHelper::options('states')) !!} {!! EasyForm::dependent('district', $patient->label('district'), old('district', ''), AppHelper::options('districts'), 'state')!!} {!! EasyForm::input('pin', $patient->label('pin'), old('pin', '')) !!} {!! EasyForm::input('phone_mobile', $patient->label('phone_mobile'), old('phone_mobile', ''))!!} {!! EasyForm::input('notes', $patient->label('notes'), old('notes', ''))!!}
{!! EasyForm::date('required_date', $patient->label('required_date'), old('required_date', '')) !!} {!! EasyForm::select('priority', $patient->label('priority'), old('priority', ''), AppHelper::options('high_priorities')) !!} {!! EasyForm::input('doctor_name', $patient->label('doctor_name'), old('doctor_name', ''))!!} {!! EasyForm::input('doctor_phone', $patient->label('doctor_phone'), old('doctor_phone', ''))!!} {!! EasyForm::input('hospitalization_detail', $patient->label('hospitalization_detail'), old('hospitalization_detail', ''))!!} {!! EasyForm::file('prescription_report', $patient->label('Prescription Report'), old('prescription_report', ''))!!} {!! EasyForm::input('contact_person', $patient->label('contact_person'), old('contact_person', ''))!!} {!! EasyForm::input('conntact_person_no', $patient->label('conntact_person_no'), old('conntact_person_no', ''))!!}
{!! EasyForm::submit('Submit') !!} {!! Form::close() !!}
@endsection