@extends('layouts.app') @section('title', __('barcode.add_barcode_setting')) @section('content')
{!! Form::open(['url' => action([\App\Http\Controllers\BarcodeController::class, 'store']), 'method' => 'post', 'id' => 'add_barcode_settings_form' ]) !!}
@lang('barcode.add_barcode_setting')

{!! Form::label('name', __('barcode.setting_name') . ':*') !!} {!! Form::text('name', null, ['class' => 'form-control bd-rd-7', 'required', 'placeholder' => '']); !!}
{!! Form::label('description', __('barcode.setting_description') ) !!} {!! Form::textarea('description', null, ['class' => 'form-control bd-rd-7', 'placeholder' => '', 'rows' => 3]); !!}
{!! Form::label('top_margin', __('barcode.top_margin') . ' ('. __('barcode.in_in') . '):*') !!} {!! Form::number('top_margin', 0, ['class' => 'form-control bd-rd-7', 'placeholder' => '', 'min' => 0, 'step' => 0.00001, 'required']); !!}
{!! Form::label('left_margin', __('barcode.left_margin') . ' ('. __('barcode.in_in') . '):*') !!} {!! Form::number('left_margin', 0, ['class' => 'form-control bd-rd-7', 'placeholder' => '', 'min' => 0, 'step' => 0.00001, 'required']); !!}
{!! Form::label('width', __('barcode.width') . ' ('. __('barcode.in_in') . '):*') !!} {!! Form::number('width', null, ['class' => 'form-control bd-rd-7', 'placeholder' => '', 'min' => 0.1, 'step' => 0.00001, 'required']); !!}
{!! Form::label('height', __('barcode.height') . ' ('. __('barcode.in_in') . '):*') !!} {!! Form::number('height', null, ['class' => 'form-control bd-rd-7', 'placeholder' => '', '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 bd-rd-7', 'placeholder' => '', '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 bd-rd-7', 'placeholder' => '', '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 bd-rd-7', 'placeholder' => '', 'min' => 1, 'required']); !!}
{!! Form::label('row_distance', __('barcode.row_distance') . ' ('. __('barcode.in_in') . '):*') !!} {!! Form::number('row_distance', 0, ['class' => 'form-control bd-rd-7', 'placeholder' => '', 'min' => 0, 'step' => 0.00001, 'required']); !!}
{!! Form::label('col_distance', __('barcode.col_distance') . ' ('. __('barcode.in_in') . '):*') !!} {!! Form::number('col_distance', 0, ['class' => 'form-control bd-rd-7', 'placeholder' => '', '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 bd-rd-7', 'placeholder' => '', 'min' => 1, 'required']); !!}

{!! Form::close() !!}
@endsection