| {{__('labels.product.form.bullet')}} | {{__('labels.table.action')}} |
|---|---|
|
@if($errors->has('bullets.' . $index ))
{{ $errors->first('bullets.' . $index ) }}
@endif
|
|
|
@if($errors->has('bullets.0'))
{{ $errors->first('bullets.0') }}
@endif
|
|
|
@if($errors->has('bullets.0'))
{{ $errors->first('bullets.0') }}
@endif
|
| {{ __('labels.product.form.pcode') }} | {{ __('labels.product.form.quantity') }} | {{ __('labels.product.form.strength') }} | {{ __('labels.product.form.amount') }} | {{ __('labels.product.form.purchase_price') }} | {{ __('labels.table.action') }} |
|---|---|---|---|---|---|
|
@if($errors->has('variants.' . $index . '.pcode'))
{{ $errors->first('variants.' . $index . '.pcode') }}
@endif
|
@if($errors->has('variants.' . $index . '.quantity'))
{{ $errors->first('variants.' . $index . '.quantity') }}
@endif
|
@if($errors->has('variants.' . $index . '.strength'))
{{ $errors->first('variants.' . $index . '.strength') }}
@endif
|
@if($errors->has('variants.' . $index . '.amount'))
{{ $errors->first('variants.' . $index . '.amount') }}
@endif
|
@if($errors->has('variants.' . $index . '.purchase_price'))
{{ $errors->first('variants.' . $index . '.purchase_price') }}
@endif
|
|
|
@if($errors->has('variants.0.pcode'))
{{ $errors->first('variants.0.pcode') }}
@endif
|
@if($errors->has('variants.0.quantity'))
{{ $errors->first('variants.0.quantity') }}
@endif
|
@if($errors->has('variants.0.strength'))
{{ $errors->first('variants.0.strength') }}
@endif
|
@if($errors->has('variants.0.amount'))
{{ $errors->first('variants.0.amount') }}
@endif
|
@if($errors->has('variants.0.purchase_price'))
{{ $errors->first('variants.0.purchase_price') }}
@endif
|
|
|
@if($errors->has('variants.0.pcode'))
{{ $errors->first('variants.0.pcode') }}
@endif
|
@if($errors->has('variants.0.quantity'))
{{ $errors->first('variants.0.quantity') }}
@endif
|
@if($errors->has('variants.0.strength'))
{{ $errors->first('variants.0.strength') }}
@endif
|
@if($errors->has('variants.0.amount'))
{{ $errors->first('variants.0.amount') }}
@endif
|
@if($errors->has('variants.0.purchase_price'))
{{ $errors->first('variants.0.purchase_price') }}
@endif
|
| {{ __('labels.product.form.document_name') }} | {{ __('labels.product.form.document_file') }} | {{ __('labels.table.action') }} |
|---|---|---|
| @if($document->file_path) {{ __('View') }} @endif | ||
| {{__('labels.product.form.product_description')}} | {!! Form::textarea('product_description', old('product_description', isset($data['product']) && $data['product']->productInfo ? $data['product']->productInfo->product_description : ''), ['class' => 'form-control editor-text', 'id'=>'product_description']) !!} |
|---|---|
| {{__('labels.product.form.dosage')}} | {!! Form::textarea('dosage', old('dosage', isset($data['product']) && $data['product']->productInfo ? $data['product']->productInfo->dosage : ''), ['class' => 'form-control editor-text', 'id'=>'dosage']) !!} |
| {{__('labels.product.form.side_effects')}} | {!! Form::textarea('side_effects', old('side_effects', isset($data['product']) && $data['product']->productInfo ? $data['product']->productInfo->side_effects : ''), ['class' => 'form-control editor-text', 'id'=>'side_effects']) !!} |
| {{__('labels.product.form.ingredients')}} | {!! Form::textarea('ingredients', old('ingredients', isset($data['product']) && $data['product']->productInfo ? $data['product']->productInfo->ingredients : ''), ['class' => 'form-control editor-text', 'id'=>'ingredients']) !!} |
| {{__('labels.product.form.contraindications')}} | {!! Form::textarea('pil', old('pil', isset($data['product']) && $data['product']->productInfo ? $data['product']->productInfo->pil : ''), ['class' => 'form-control editor-text', 'id'=>'pil']) !!} |
| {{__('labels.product.form.meta_title')}} | {!! Form::text('meta_title', old('meta_title', isset($data['product']) && $data['product']->meta_title ? $data['product']->meta_title : ''), ['class' => 'form-control editor-text', 'id'=>'meta_title']) !!} |
|---|---|
| {{__('labels.product.form.meta_description')}} | {!! Form::textarea('meta_description', old('meta_description', isset($data['product']) && $data['product']->meta_description ? $data['product']->meta_description : ''), ['class' => 'form-control editor-text', 'id'=>'meta_description']) !!} |