{{ trans('app.sl_number') }} | {{ trans('app.form.variants') }} | {{ trans('app.form.image') }} | {{ trans('app.form.sku') }} | {{ trans('app.form.condition') }} | {{ trans('app.form.stock_quantity') }} | {{ trans('app.form.purchase_price') }} | {{ trans('app.form.sale_price') }} | {{ trans('app.form.offer_price') }} | |
---|---|---|---|---|---|---|---|---|---|
{{ $i + 1 }}
|
@foreach ($combination as $attrId => $attrValue)
{{ Form::hidden('variants[' . $i . '][' . $attrId . ']', key($attrValue)) }}
{{ $attributes[$attrId] . ' : ' . current($attrValue) }}
{{ $attrValue !== end($combination) ? '; ' : '' }}
@endforeach
|
|
{!! Form::text('sku[' . $i . ']', null, ['class' => 'form-control sku', 'placeholder' => trans('app.placeholder.sku'), 'required']) !!}
|
{!! Form::select('condition[' . $i . ']', ['New' => trans('app.new'), 'Used' => trans('app.used'), 'Refurbished' => trans('app.refurbished')], null, ['class' => 'form-control condition', 'required']) !!}
|
{!! Form::number('stock_quantity[' . $i . ']', null, ['class' => 'form-control quantity', 'placeholder' => trans('app.placeholder.stock_quantity'), 'required']) !!}
|
{!! Form::number('purchase_price[' . $i . ']', null, ['class' => 'form-control purchasePrice', 'step' => 'any', 'placeholder' => trans('app.placeholder.purchase_price')]) !!}
|
{!! Form::number('sale_price[' . $i . ']', null, ['class' => 'form-control salePrice', 'step' => 'any', 'placeholder' => trans('app.placeholder.sale_price'), 'required']) !!}
|
{!! Form::number('offer_price[' . $i . ']', null, ['class' => 'form-control offerPrice', 'step' => 'any', 'placeholder' => trans('app.placeholder.offer_price')]) !!}
|
|
* {{ trans('app.form.required_fields') }}