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

@yield('title')

{{ __('messages.common.back') }}
@endsection @section('content')
@include('layouts.errors')
{{Form::hidden('patientCasesUrl',route('patient.cases.list'),['id'=>'createOpdPatientCasesUrl','class'=>'opdPatientCasesUrl'])}} {{Form::hidden('doctorOpdChargeUrl',route('getDoctor.OPDcharge'),['id'=>'createDoctorOpdChargeUrl','class'=>'doctorOpdChargeUrl'])}} {{Form::hidden('isEdit',false,['class'=>'isEdit'])}} {{Form::hidden('lastVisit',(isset($data['last_visit'])) ? $data['last_visit']->patient_id : false,['id'=>'createOpdLastVisit','class'=>'lastVisit'])}} {{ Form::open(['route' => ['opd.patient.store'], 'method'=>'post', 'id' => 'createOpdPatientForm']) }} @include('opd_patient_departments.fields') {{ Form::close() }}
@endsection {{-- --}} {{--let patientCasesUrl = "{{ route('patient.cases.list') }}";--}} {{--let doctorOpdChargeUrl = "{{ route('getDoctor.OPDcharge') }}";--}} {{--let isEdit = false;--}} {{--let lastVisit = "{{ (isset($data['last_visit'])) ? $data['last_visit']->patient_id : false }}";--}} {{-- --}} {{-- --}}