@php $data = null; @endphp {{-- @dd($prescription->medicines[0]->quantity) --}}
{{ __('messages.medicines') }} | {{ __('messages.medicine.dosage') }} | {{ __('messages.prescription.duration') }} | {{ __('messages.prescription.time') }} | {{ __('messages.medicine_bills.dose_interval') }} | {{ __('messages.prescription.comment') }} | {{ __('messages.common.add') }} |
---|---|---|---|---|---|---|
{{ Form::select('medicine[]', $medicines['medicines'], $prescription->medicine, ['class' => 'form-select prescriptionMedicineId quantityget','data-control' => 'select2', 'data-id' => $dataID]) }} | {{ Form::text('dosage[]', $prescription->dosage, ['class' => 'form-control prescription-dose', 'id' => 'prescriptionMedicineNameId']) }} | {{ Form::select('day[]', \App\Models\Prescription::DOSE_DURATION, $prescription->day, ['class' => 'form-control prescription-dose', 'data-control' => 'select2']) }} |
{{ Form::select('time[]', \App\Models\Prescription::MEAL_ARR, $prescription->time, ['class' => 'form-select extra-margin-tr prescriptionMedicineMealId' ,'data-control' => 'select2']) }}
{{ __('messages.prescription.total_quantity') }}
{{$prescription->medicines[0]->quantity}}
|
{{ Form::select('dose_interval[]', \App\Models\Prescription::DOSE_INTERVAL, $prescription->dose_interval, ['class' => 'form-select prescriptionMedicineMealId','data-control' => 'select2']) }} | {{ Form::textarea('comment[]', $prescription->comment, ['class' => 'form-control', 'rows' => 1]) }} | |
{{ Form::select('medicine[]', $medicines['medicines'], null, ['class' => 'form-select prescriptionMedicineId quantityget', 'placeholder' => __('messages.prescription.selectMedicine'), 'data-control' => 'select2', 'data-id' => 1]) }} | {{ Form::text('dosage[]', null, ['class' => 'form-control prescription-dose', 'id' => 'prescriptionMedicineNameId']) }} | {{ Form::select('day[]', \App\Models\Prescription::DOSE_DURATION, null, ['class' => 'form-control prescriptionMedicineMealId','data-control' => 'select2']) }} |
{{ Form::select('time[]', \App\Models\Prescription::MEAL_ARR, null, ['class' => 'form-select extra-margin-tr prescriptionMedicineMealId','data-control' => 'select2']) }}
{{ __('messages.prescription.total_quantity') }}:
|
{{ Form::select('dose_interval[]', \App\Models\Prescription::DOSE_INTERVAL, null, ['class' => 'form-select prescriptionMedicineMealId','data-control' => 'select2']) }} | {{ Form::textarea('comment[]', null, ['class' => 'form-control', 'rows' => 1]) }} |