{{ trans('app.sl_number') }} | {{ trans('app.form.variants') }} | {{ trans('app.form.image') }} | {{ trans('app.form.sku') }} | {{ trans('app.form.stock_quantity') }} | {{-- @if (config('system_settings.show_item_conditions')){{ trans('app.form.condition') }} | @endif{{ trans('app.form.purchase_price') }} | --}}{{ trans('app.form.sale_price') }} | |
---|---|---|---|---|---|---|---|---|
{{ $loop->iteration }}
|
@foreach ($combination as $attrId => $attrValue)
{{ Form::hidden('variants[' . $loop->parent->index . '][' . $attrId . ']', key($attrValue)) }}
{{ current($attrValue) }}
@if ($attrValue !== end($combination))
•
@endif
@endforeach
|
{!! Form::text('skus[' . $loop->index . ']', null, ['class' => 'form-control variant-sku', 'placeholder' => trans('app.placeholder.sku'), 'required']) !!}
|
{!! Form::number('stock_quantities[' . $loop->index . ']', null, ['class' => 'form-control variant-qtt', 'placeholder' => trans('app.placeholder.stock_quantity'), 'required']) !!}
|
{{-- @if (config('system_settings.show_item_conditions'))
{!! Form::select('conditions[' . $loop->index . ']', ['New' => trans('app.new'), 'Used' => trans('app.used'), 'Refurbished' => trans('app.refurbished')], null, ['class' => 'form-control condition', 'required']) !!}
|
@endif
{{ config('system_settings.currency_symbol', '$') }}
{!! Form::number('purchase_prices[' . $loop->index . ']', null, ['class' => 'form-control variant-purchase-price', 'step' => 'any', 'placeholder' => trans('app.placeholder.purchase_price')]) !!}
|
--}}
{{ config('system_settings.currency_symbol', '$') }}
{!! Form::number('sale_prices[' . $loop->index . ']', null, ['class' => 'form-control variant-price', 'step' => 'any', 'placeholder' => trans('app.placeholder.sale_price'), 'required']) !!}
|
|