@extends('admin.layouts.app') @section('content')
{!! Form::open([ 'route' => ['lab.patient.store'], 'method' => 'post', 'id' => 'ajax-submit', 'files' => true, ]) !!}
{{-- LEFT SIDE --}}
{{-- Personal Information --}}

Personal Information

{!! Form::label('first_name', 'First Name', ['class' => 'fw-bold mb-2']) !!}
{!! Form::text('first_name', null, [ 'class' => 'form-control', 'placeholder' => 'Enter First Name', ]) !!}
{!! Form::label('last_name', 'Last Name', ['class' => 'fw-bold mb-2']) !!}
{!! Form::text('last_name', null, [ 'class' => 'form-control', 'placeholder' => 'Enter Last Name', ]) !!}
{!! Form::label('gender', 'Gender', ['class' => 'fw-bold mb-2']) !!} {!! Form::select( 'gender', [ 'Male' => 'Male', 'Female' => 'Female', 'Other' => 'Other', ], null, [ 'class' => 'form-control select2', 'placeholder' => 'Select Gender', ], ) !!}
{!! Form::label('date_of_birth', 'Date Of Birth', ['class' => 'fw-bold mb-2']) !!} {!! Form::date('date_of_birth', null, [ 'class' => 'form-control', ]) !!}
{!! Form::label('phone', 'Phone', ['class' => 'fw-bold mb-2']) !!}
{!! Form::text('phone', null, [ 'class' => 'form-control', 'placeholder' => 'Enter Phone Number', 'maxlength' => 10, ]) !!}
{!! Form::label('email', 'Email', ['class' => 'fw-bold mb-2']) !!}
{!! Form::email('email', null, [ 'class' => 'form-control', 'placeholder' => 'Enter Email Address', ]) !!}
{!! Form::label('city', 'City', ['class' => 'fw-bold mb-2']) !!} {!! Form::text('city', null, [ 'class' => 'form-control', 'placeholder' => 'Enter City', ]) !!}
{!! Form::label('marital_status', 'Marital Status', ['class' => 'fw-bold mb-2']) !!} {!! Form::select( 'marital_status', [ 'Single' => 'Single', 'Married' => 'Married', 'Divorced' => 'Divorced', ], null, [ 'class' => 'form-control select2', 'placeholder' => 'Select Status', ], ) !!}
{!! Form::label('zip_code', 'Zip Code', ['class' => 'fw-bold mb-2']) !!} {!! Form::text('zip_code', null, [ 'class' => 'form-control', 'placeholder' => 'Enter Zip Code', ]) !!}
{!! Form::label('status', 'Status', ['class' => 'fw-bold mb-2']) !!} {!! Form::select( 'status', [ 1 => 'Active', 0 => 'Inactive', ], old('status', $result->status ?? 1), [ 'class' => 'form-control select2', 'placeholder' => 'Select Status', ], ) !!}
{!! Form::label('address', 'Address', ['class' => 'fw-bold mb-2']) !!} {!! Form::textarea('address', null, [ 'class' => 'form-control', 'rows' => 3, 'placeholder' => 'Enter Full Address', ]) !!}
{{-- RIGHT SIDE --}}
{{-- Health Information --}}

Health Information

{!! Form::label('blood_group', 'Blood Group', ['class' => 'fw-bold mb-2']) !!} {!! Form::select( 'blood_group', [ 'A+' => 'A+', 'A-' => 'A-', 'B+' => 'B+', 'B-' => 'B-', 'AB+' => 'AB+', 'AB-' => 'AB-', 'O+' => 'O+', 'O-' => 'O-', ], null, [ 'class' => 'form-control select2', 'placeholder' => 'Select Blood Group', ], ) !!}
{!! Form::label('occupation', 'Occupation', ['class' => 'fw-bold mb-2']) !!} {!! Form::text('occupation', null, [ 'class' => 'form-control', 'placeholder' => 'Enter Occupation', ]) !!}
{!! Form::label('allergies', 'Allergies', ['class' => 'fw-bold mb-2']) !!} {!! Form::textarea('allergies', null, [ 'class' => 'form-control', 'rows' => 3, 'placeholder' => 'Enter Allergies', ]) !!}
{!! Form::label('aadhaar_number', 'Aadhaar Number', ['class' => 'fw-bold mb-2']) !!} {!! Form::text('aadhaar_number', null, [ 'class' => 'form-control', 'placeholder' => 'Enter Aadhaar Number', 'maxlength' => 12, ]) !!}
{!! Form::label('insurance_provider', 'Insurance Provider', [ 'class' => 'fw-bold mb-2', ]) !!} {!! Form::text('insurance_provider', null, [ 'class' => 'form-control', 'placeholder' => 'Enter Insurance Provider', ]) !!}
{!! Form::label('insurance_number', 'Insurance Number', [ 'class' => 'fw-bold mb-2', ]) !!} {!! Form::text('insurance_number', null, [ 'class' => 'form-control', 'placeholder' => 'Enter Insurance Number', ]) !!}
{{-- Buttons --}}
Cancel
{!! Form::close() !!}
@endsection