{{ __('messages.vaccinated_patient.edit_vaccinate_patient') }}

{{ Form::open(['id'=>'editVaccinationForm']) }}
{{ Form::hidden('vaccinated_patient_id',null,['id'=>'vaccinatedPatientId']) }}
{{ Form::label('patient_id', __('messages.vaccinated_patient.patient').(':'), ['class' => 'form-label required fs-6 fw-bolder text-gray-700 mb-3']) }} {{ Form::select('patient_id', $vaccinationPatients, null, ['class' => 'form-select form-select-solid fw-bold', 'id' => 'editPatientName','placeholder' => 'Select Patient Name', 'required']) }}
{{ Form::label('vaccination_id', __('messages.vaccinated_patient.vaccination').(':'), ['class' => 'form-label required fs-6 fw-bolder text-gray-700 mb-3']) }} {{ Form::select('vaccination_id', $vaccinations, null, ['class' => 'form-select form-select-solid fw-bold', 'id' => 'editVaccinationName','placeholder' => 'Select Vaccination', 'required']) }}
{{ Form::label('vaccination_serial_number', __('messages.vaccinated_patient.serial_no').(':'), ['class' => 'form-label fs-6 fw-bolder text-gray-700 mb-3']) }} {{ Form::text('vaccination_serial_number', '', ['id'=>'editSerialNo','class' => 'form-control form-control-solid']) }}
{{ Form::label('dose_number', __('messages.vaccinated_patient.does_no').(':'), ['class' => 'form-label required fs-6 fw-bolder text-gray-700 mb-3']) }} {{ Form::number('dose_number', '', ['id'=>'editDoseNumber','class' => 'form-control form-control-solid','min'=>'1','max'=>'50','minlength'=>'1','maxlength'=>'2','required']) }}
@php $currentLang = app()->getLocale() @endphp
{{ Form::label('dose_given_date', __('messages.vaccinated_patient.dose_given_date').(':'),['class' => $currentLang == 'es' ? 'label-display form-label required fs-6 fw-bolder text-gray-700 mb-3' : 'form-label required fs-6 fw-bolder text-gray-700 mb-3']) }} {{ Form::text('dose_given_date', '', ['id'=>'editDoesGivenDate','class' => 'form-control form-control-solid','required','autocomplete' => 'off']) }}
{{ Form::label('description', __('messages.document.notes').(':'), ['class' => 'form-label fs-6 fw-bolder text-gray-700 mb-3']) }} {{ Form::textarea('description', null, ['class' => 'form-control form-control-solid', 'rows' => 4,'id'=>'editDescription']) }}
{{ Form::button(__('messages.common.save'), ['type' => 'submit','class' => 'btn btn-primary me-2','id' => 'editBtnSave','data-loading-text' => " Processing..."]) }}
{{ Form::close() }}