@if ($limits)
@foreach ($limits as $limit)
| {!! Form::select('limit_type[]', ['Item' => 'Item', 'Currency' => 'Currency', 'Recipe' => 'Recipe'], $limit->limit_type, ['class' => 'form-control reward-type', 'placeholder' => 'Select limit Type']) !!} |
@if ($limit->limit_type == 'Item')
{!! Form::select('limit_id[]', $items, $limit->limit_id, ['class' => 'form-control item-select selectize', 'placeholder' => 'Select Item']) !!}
@elseif($limit->limit_type == 'Currency')
{!! Form::select('limit_id[]', $currencies, $limit->limit_id, ['class' => 'form-control currency-select selectize', 'placeholder' => 'Select Currency']) !!}
@elseif($showRecipes && $limit->limit_type == 'Recipe')
{!! Form::select('limit_id[]', $recipes, $limit->limit_id, ['class' => 'form-control recipe-select selectize', 'placeholder' => 'Select Recipe']) !!}
@endif
|
{!! Form::text('limit_quantity[]', $limit->quantity, ['class' => 'form-control']) !!} |
Remove |
@endforeach
@endif