@extends('Admin/layout/master') @section('title', 'Patient Add') @section('content')
Patient Add
{!! Form::open(['route' => 'patient.store', 'method' => 'post', "enctype"=>"multipart/form-data"]) !!}
{!! Form::label('first_name', 'First Name', ['class' => 'form-label']) !!} {!! Form::text('first_name', null, ['class' => 'form-control', 'placeholder' => 'Enter First Name']) !!} {!! $errors->first('first_name', ':message') !!}
{!! Form::label('last_name', 'Last Name', ['class' => 'form-label']) !!} {!! Form::text('last_name', null, ['class' => 'form-control', 'placeholder' => 'Enter Last Name']) !!} {!! $errors->first('last_name', ':message') !!}
{!! Form::label('email', 'Email', ['class' => 'form-label']) !!} {!! Form::email('email', null, ['class' => 'form-control', 'placeholder' => 'Enter Email']) !!} {!! $errors->first('email', ':message') !!}
{!! Form::label('date', 'Date Of Birth', ['class' => 'form-label']) !!} {!! Form::date('date_of_birth', null, ['class' => 'form-control', 'placeholder' => 'Enter Date of Birth']) !!} {!! $errors->first('date_of_birth', ':message') !!}
{!! Form::label('address', 'Address', ['class' => 'form-label']) !!} {!! Form::text('address', null, ['class' => 'form-control', 'placeholder' => 'Enter Address']) !!} {!! $errors->first('address', ':message') !!}
{!! Form::label('mobile', 'Phone', ['class' => 'form-label']) !!} {!! Form::text('phone', null, ['class' => 'form-control', 'placeholder' => 'Enter Phone No']) !!} {!! $errors->first('phone', ':message') !!}
{!! Form::label('gender', 'Gender', ['class' => 'form-label']) !!} {!! Form::select('gender', ['male' => 'Male', 'female' => 'Female'], null, ['class' => 'form-control ']) !!}
{!! Form::label('walk', 'Walk In', ['class' => 'form-label mt-5']) !!} {!! Form::radio('patient_type', 'walk', true, ['id' => 'walk']) !!}
{!! Form::label('physian', 'Physician Refrence', ['class' => 'form-label mt-5']) !!} {!! Form::radio('patient_type', 'physian', false, ['id' => 'physian']) !!}
{!! Form::label('insurence', 'Refrence', ['class' => 'form-label mt-5']) !!} {!! Form::radio('patient_type', 'insurence', false, ['id' => 'insurence']) !!}

{!! Form::label('id_card', 'ID Card Upload', ['class' => 'form-label']) !!} {!! Form::file('id_card',['class' => 'form-control', 'placeholder' => 'Enter Last Name']) !!} {!! $errors->first('id_card', ':message') !!}
{!! Form::label('insurence_company', 'Insurence Company', ['class' => 'form-label mt-3']) !!} {!! Form::select('insurence_company',$insurence_companies, null, [ 'class' => 'form-control','placeholder'=>'Select Diagnonsis' ]) !!} {{-- {!! $errors->first('insurence_company', ':message') !!} --}}
{!! Form::label('physician', 'Referening Physician', ['class' => 'form-label ']) !!} {!! Form::select('physician_id',$physicians, null, [ 'class' => 'form-control' ,'placeholder'=>'Select Physician' ]) !!} {!! $errors->first('physician_id', ':message') !!}
{!! Form::label('qtv', 'QTY', ['class' => 'form-label']) !!} {!! Form::text('qty_id', null, ['class' => 'form-control','placeholder'=>"Enter QTY"]) !!} {!! $errors->first('qty_id', ':message') !!}
{!! Form::label('diagnonsis', 'Diagnonsis', ['class' => 'form-label']) !!} {!! Form::select('diagnonsis_id[]',$diagnonsises, null, [ 'class' => 'form-control js-example-basic-multiple', 'multiple', 'data-placeholder' => 'Select diagnonsis', ]) !!} {!! $errors->first('diagnonsis_id', ':message') !!}
{!! Form::label('hcpcs', 'HCPCS', ['class' => 'form-label']) !!} {!! Form::select('hcpcs_id[]',$hcpcses, null, [ 'class' => 'form-control js-example-basic-multiple', 'data-placeholder' => 'Select HCPCS', 'multiple', ]) !!} {!! $errors->first('hcpcs_id', ':message') !!}
{!! Form::label('signature', 'Signature', ['class' => 'form-label mt-5']) !!} {!! Form::file('signature', ['class' => 'form-control', 'placeholder' => 'Enter Last Name']) !!} {{-- {!! $errors->first('signature', ':message') !!} --}}
{!! Form::submit('Add', ['class' => 'btn btn-primary btn-sm my-2']) !!} Back
{!! Form::close() !!}
@endsection @section('scripts') @endsection