@extends('backend.layout.main') @section('content')

{{__('db.Edit Barcode Sticker Setting')}}

{!! Form::open(['url' => action([\App\Http\Controllers\BarcodeController::class, 'update'], [$barcode->id]), 'method' => 'PUT', 'id' => 'add_barcode_settings_form' ]) !!}
{!! Form::label('name', __('db.Sticker Sheet setting Name') . ':*') !!} {!! Form::text('name', $barcode->name, ['class' => 'form-control', 'required', 'placeholder' => __('db.Sticker Sheet setting Name')]); !!}
{!! Form::label('description', __('db.Sticker Sheet setting Description') ) !!} {!! Form::textarea('description', $barcode->description, ['class' => 'form-control', 'placeholder' => __('db.Sticker Sheet setting Description'), 'rows' => 3]); !!}
{!! Form::label('top_margin', __('db.Additional top margin') . ' ('. __('db.In Inches') . '):*') !!}
{!! Form::number('top_margin', $barcode->top_margin, ['class' => 'form-control', 'placeholder' => __('db.top_margin'), 'min' => 0, 'step' => 0.00001, 'required']); !!}
{!! Form::label('left_margin', __('db.Additional left margin') . ' ('. __('db.In Inches') . '):*') !!}
{!! Form::number('left_margin', $barcode->left_margin, ['class' => 'form-control', 'placeholder' => __('db.Additional left margin'), 'min' => 0, 'step' => 0.00001, 'required']); !!}
{!! Form::label('width', __('db.Width of sticker') . ' ('. __('db.In Inches') . '):*') !!}
{!! Form::number('width', $barcode->width, ['class' => 'form-control', 'placeholder' => __('db.Width of sticker'), 'min' => 0.1, 'step' => 0.00001, 'required']); !!}
{!! Form::label('height', __('db.Height of sticker') . ' ('. __('db.In Inches') . '):*') !!}
{!! Form::number('height', $barcode->height, ['class' => 'form-control', 'placeholder' => __('db.Barcode Height'), 'min' => 0.1, 'step' => 0.00001, 'required']); !!}
{!! Form::label('paper_width', __('db.Paper width') . ' ('. __('db.In Inches') . '):*') !!}
{!! Form::number('paper_width', $barcode->paper_width, ['class' => 'form-control', 'placeholder' => __('db.Paper width'), 'min' => 0.1, 'step' => 0.00001, 'required']); !!}
{!! Form::label('paper_height', __('db.Paper height') . ' ('. __('db.In Inches') . '):*') !!}
{!! Form::number('paper_height', $barcode->paper_height, ['class' => 'form-control', 'placeholder' => __('db.Paper height'), 'min' => 0.1, 'step' => 0.00001, 'required']); !!}
{!! Form::label('stickers_in_one_row', __('db.Stickers in one row') . ':*') !!}
{!! Form::number('stickers_in_one_row', $barcode->stickers_in_one_row, ['class' => 'form-control', 'placeholder' => __('db.Stickers in one row'), 'min' => 1, 'required']); !!}
{!! Form::label('row_distance', __('db.Distance between two rows') . ' ('. __('db.In Inches') . '):*') !!}
{!! Form::number('row_distance', $barcode->row_distance, ['class' => 'form-control', 'placeholder' => __('db.Distance between two rows'), 'min' => 0, 'step' => 0.00001, 'required']); !!}
{!! Form::label('col_distance', __('db.Distance between two columns') . ' ('. __('db.In Inches') . '):*') !!}
{!! Form::number('col_distance', $barcode->col_distance, ['class' => 'form-control', 'placeholder' => __('db.Distance between two columns'), 'min' => 0, 'step' => 0.00001, 'required']); !!}
{!! Form::label('stickers_in_one_sheet', __('db.No of Stickers per sheet') . ':*') !!}
{!! Form::number('stickers_in_one_sheet', $barcode->stickers_in_one_sheet, ['class' => 'form-control', 'placeholder' => __('db.No of Stickers per sheet'), 'min' => 1, 'required']); !!}
{!! Form::label('stickers_in_one_sheet', __('db.barcode_stickers_in_one_sheet') . ':*') !!}
{!! Form::number('stickers_in_one_sheet', $barcode->stickers_in_one_sheet, ['class' => 'form-control', 'placeholder' => __('db.Barcode Stickers In One Sheet'), 'min' => 1, 'required']); !!}
{!! Form::close() !!}
@endsection @push('scripts') @endpush