{!! Form::label('name', __('labels.product.form.name')) !!}
{!! Form::text('', old('', $data['product']->name ?? ''), ['class' => 'form-control', 'disabled']) !!}
{!! Form::label('category', __('labels.product.form.category')) !!}
{!! Form::label('brand', __('labels.product.table.brand')) !!}
{!! Form::label('prescription_fee', __('labels.product.form.prescription_fee')) !!}
{!! Form::number('', old('prescription_fee', $data['product']->prescription_fee ?? ''), ['class' => 'form-control', 'disabled']) !!}
{!! Form::label('product_price', __('labels.product.form.amnt')) !!}
{!! Form::number('', old('product_price', $data['product']->product_price ?? ''), ['class' => 'form-control', 'disabled']) !!}
{!! Form::label('strength_unit', __('labels.product.form.Str_type')) !!}
{!! Form::text('', old('strength_unit', $data['product']->strength_unit ?? ''), ['class' => 'form-control', 'disabled']) !!}
{!! Form::label('questions', __('labels.product.form.questions')) !!}
{!! Form::label('prescription', __('labels.product.form.prescription')) !!}
{!! Form::label('most_sold_dose', __('labels.product.form.most_sold_dose')) !!}
{!! Form::text('most_sold_dose', old('most_sold_dose', $data['product']->most_sold_dose ?? ''), ['class' => 'form-control', 'required', 'disabled']) !!}
@if ($errors->has('most_sold_dose'))
{{ $errors->first('most_sold_dose') }}
@endif
{!! Form::label('most_sold_product', __('labels.product.form.most_sold_product')) !!}
{!! Form::checkbox('most_sold_product', 1, old('most_sold_product', $data['product']->most_sold_product ?? 0), ['id' => 'most_sold_product', 'disabled']) !!}
{!! Form::label('short_description', __('labels.product.form.short_description')) !!}
{{strip_tags($data['product']->short_description ?? '')}}
{!! Form::label('bullets', __('labels.product.form.bullet')) !!}
| {{__('labels.product.form.bullet')}} |
|---|
| {{__('labels.product.form.no_bullet')}} |
| {{__('labels.product.form.no_bullet')}} |
{!! Form::label('description', __('labels.product.form.description')) !!}
{{strip_tags($data['product']->description ?? '')}}
{{Form::label('images', __('labels.product.form.images'))}}
@if(isset($data['product']) && $data['product']->images)
@forelse($data['product']->images as $index => $image)
@empty
{{ __('labels.product.form.no_images') }}
@endforelse
@else
{{ __('labels.product.form.no_images') }}
@endif
{!! Form::label('is_active', __('labels.product.form.active')) !!}
{!! Form::checkbox('', 1, old('is_active', $data['product']->is_active ?? 1), ['id' => 'is_active','disabled']) !!}
{!! Form::label('is_featured', __('labels.product.form.feature')) !!}
{!! Form::checkbox('', 1, old('is_featured', $data['product']->is_featured ?? 1), ['id' => 'is_featured', 'disabled']) !!}
{{__('labels.product.form.variant')}}
| {{ __('labels.product.form.pcode') }} | {{ __('labels.product.form.quantity') }} | {{ __('labels.product.form.strength') }} | {{ __('labels.product.form.amount') }} | {{ __('labels.product.form.purchase_price') }} |
|---|---|---|---|---|
| {{ __('labels.product.form.no_variants') }} | ||||
| {{ __('labels.product.form.no_variants') }} | ||||
{{__('labels.product.form.documents')}}
| {{ __('labels.product.form.document_name') }} | {{ __('labels.product.form.document_file') }} |
|---|---|
| {{ $document->name }} | @if($document->file_path) {{ __('View') }} @endif |
{{ __('labels.product.product_information') }}
| {{__('labels.product.form.product_description')}} | {{ strip_tags(isset($data['product']) && $data['product']->productInfo ? $data['product']->productInfo->product_description : '') }} |
|---|---|
| {{__('labels.product.form.dosage')}} | {{ strip_tags(isset($data['product']) && $data['product']->productInfo ? $data['product']->productInfo->dosage : '') }} |
| {{__('labels.product.form.side_effects')}} | {{ strip_tags(isset($data['product']) && $data['product']->productInfo ? $data['product']->productInfo->side_effects : '') }} |
| {{__('labels.product.form.ingredients')}} | {{ strip_tags(isset($data['product']) && $data['product']->productInfo ? $data['product']->productInfo->ingredients : '') }} |
| {{__('labels.product.form.contraindications')}} | {{ strip_tags(isset($data['product']) && $data['product']->productInfo ? $data['product']->productInfo->pil : '') }} |