Rule Based Print Settings

{!! Form::open(['url' => action([\App\Http\Controllers\BarcodeController::class, 'StoreRuleBasedPrintSettings']), 'method' => 'post', 'id' => 'rule_based_print_settings_form','class' => 'product_form ' , 'files' => true ]) !!}
{!! Form::label('', __('messages.add') . '') !!}
@if(!empty($data)) @foreach($data as $k => $d) @php $key = $k+1; @endphp
{!! Form::label('decimal_point', __('barcode.decimal_point') . '') !!} {!! Form::text("rule_based[$key][decimal_point]", $d->decimal_point, ['class' => 'form-control', '']); !!}
{!! Form::label('price_on_print_label', __('barcode.price_on_print_label') . '') !!}
{!! Form::text("rule_based[$key][price_on_print_label]", $d->price_on_print_label, ['class' => 'form-control', '']); !!}
@endforeach @endif
{!! Form::close() !!}