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

{{trans('file.Add barcode sticker setting')}}

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