@extends('layouts.app') @section('title', __('barcode.add_barcode_setting')) @section('content')

@lang('barcode.add_barcode_setting')

{!! Form::open(['url' => action([\App\Http\Controllers\BarcodeController::class, 'store']), 'method' => 'post', 'id' => 'add_barcode_settings_form' ]) !!} @component('components.widget')
{!! Form::label('name', __('barcode.setting_name') . ':*') !!} {!! Form::text('name', null, ['class' => 'form-control', 'required', 'placeholder' => __('barcode.setting_name')]); !!}
{!! Form::label('description', __('barcode.setting_description') ) !!} {!! Form::textarea('description', null, ['class' => 'form-control', 'placeholder' => __('barcode.setting_description'), 'rows' => 3]); !!}
{!! Form::label('top_margin', __('barcode.top_margin') . ' ('. __('barcode.in_in') . '):*') !!}
{!! Form::number('top_margin', 0, ['class' => 'form-control', 'placeholder' => __('barcode.top_margin'), 'min' => 0, 'step' => 0.00001, 'required']); !!}
{!! Form::label('left_margin', __('barcode.left_margin') . ' ('. __('barcode.in_in') . '):*') !!}
{!! Form::number('left_margin', 0, ['class' => 'form-control', 'placeholder' => __('barcode.left_margin'), 'min' => 0, 'step' => 0.00001, 'required']); !!}
{!! Form::label('width', __('barcode.width') . ' ('. __('barcode.in_in') . '):*') !!}
{!! Form::number('width', null, ['class' => 'form-control', 'placeholder' => __('barcode.width'), 'min' => 0.1, 'step' => 0.00001, 'required']); !!}
{!! Form::label('height', __('barcode.height') . ' ('. __('barcode.in_in') . '):*') !!}
{!! Form::number('height', null, ['class' => 'form-control', 'placeholder' => __('barcode.height'), 'min' => 0.1, 'step' => 0.00001, 'required']); !!}
{!! Form::label('paper_width', __('barcode.paper_width') . ' ('. __('barcode.in_in') . '):*') !!}
{!! Form::number('paper_width', null, ['class' => 'form-control', 'placeholder' => __('barcode.paper_width'), 'min' => 0.1, 'step' => 0.00001, 'required']); !!}
{!! Form::label('paper_height', __('barcode.paper_height') . ' ('. __('barcode.in_in') . '):*') !!}
{!! Form::number('paper_height', null, ['class' => 'form-control', 'placeholder' => __('barcode.paper_height'), 'min' => 0.1, 'step' => 0.00001, 'required']); !!}
{!! Form::label('stickers_in_one_row', __('barcode.stickers_in_one_row') . ':*') !!}
{!! Form::number('stickers_in_one_row', null, ['class' => 'form-control', 'placeholder' => __('barcode.stickers_in_one_row'), 'min' => 1, 'required']); !!}
{!! Form::label('row_distance', __('barcode.row_distance') . ' ('. __('barcode.in_in') . '):*') !!}
{!! Form::number('row_distance', 0, ['class' => 'form-control', 'placeholder' => __('barcode.row_distance'), 'min' => 0, 'step' => 0.00001, 'required']); !!}
{!! Form::label('col_distance', __('barcode.col_distance') . ' ('. __('barcode.in_in') . '):*') !!}
{!! Form::number('col_distance', 0, ['class' => 'form-control', 'placeholder' => __('barcode.col_distance'), 'min' => 0, 'step' => 0.00001, 'required']); !!}
{!! Form::label('stickers_in_one_sheet', __('barcode.stickers_in_one_sheet') . ':*') !!}
{!! Form::number('stickers_in_one_sheet', null, ['class' => 'form-control', 'placeholder' => __('barcode.stickers_in_one_sheet'), 'min' => 1, 'required']); !!}
@endcomponent {!! Form::close() !!}
@endsection