{{ __('messages.ipd_payments.add_ipd_payment') }}

{{ Form::open(['id'=>'addIpdPaymentNewForm']) }} {{ Form::hidden('currency_symbol', getCurrentCurrency(), ['class' => 'currencySymbol']) }}
@if($ipdPatientDepartment->bill)
Note: After adding Payment you must need to re-generate Bill.
@endif
{{ Form::hidden('ipd_patient_department_id',$ipdPatientDepartment->id) }}
{{ Form::label('amount', __('messages.ambulance_call.amount').':', ['class' => 'form-label']) }}
{{ Form::text('amount', null, ['class' => 'form-control price-input','id' => 'ipdPaymentAmount', 'required']) }}
{{ getCurrencySymbol() }}
{{ Form::label('date', __('messages.ipd_patient_charges.date').':',['class' => 'form-label']) }} {{ Form::text('date', null, ['class' => 'form-control bg-white','id' => 'ipdPaymentDate','autocomplete' => 'off', 'required']) }}
{{ Form::label('charge_type_id', __('messages.ipd_payments.payment_mode').':',['class' => 'form-label']) }} {{ Form::select('payment_mode', $paymentModes, null, ['class' => 'form-select select2Selector', 'id' => 'ipdPaymentModeId', 'required','placeholder'=>'Select Payment Mode']) }}
{{ Form::label('document', __('messages.ipd_patient_diagnosis.document').':',['class' => 'form-label']) }}
{{ Form::label('notes', __('messages.ipd_patient.notes').':',['class' => 'form-label']) }} {{ Form::textarea('notes', null, ['class' => 'form-control ', 'rows' => 4]) }}
{{ Form::button(__('messages.common.save'), ['type'=>'submit','class' => 'btn btn-primary me-3','id'=>'btnIpdPaymentSave','data-loading-text'=>" Processing..."]) }}
{{ Form::close() }}