S@extends('layouts.adminLayout.admin_design') @section('content')

{{ $title }}

{{ $title }}

{{ Form::open(['url' => route('barcodes.update', $barcode['id']), 'method'=>'PATCH', 'name' => 'barcodes', 'id' => 'barcodes']) }} {{ method_field('PATCH') }}
{{ Form::label( __('lbl.name') ) }} {{ Form::text('name', $barcode['name'], ["class"=>"form-control mxlen_30","placeholder"=>__('lbl.name'),"id"=>"name","name"=>"name"]) }} @if ($errors->has('name')) @endif
{{ Form::label( __('lbl.ipaddress') ) }}
{{ Form::label( __('lbl.port') ) }} {{ Form::text('port', $barcode['port'], ["class"=>"form-control mxlen_5 digits","placeholder"=>__('lbl.port'),"id"=>"port","name"=>"port"]) }} @if ($errors->has('port')) @endif
{{ Form::label(__('lbl.type')) }} {{ Form::select('type', $type, $barcode['type'],["class"=>"form-control","id"=>"type","name"=>"type"]) }} @if ($errors->has('type')) @endif
{{ Form::button(' ' . __('lbl.save') ,["type"=>"submit","name"=>"submit","value"=>"submit","class"=>"clickbtncommon btn-sm btn btn-primary ".$add_edit_allowed.""]) }} {{ __('lbl.cancel') }}
{{ Form::close() }}
@endsection @section('pagescript') {!! Helper::pagejs([ 'js/lib/plugins/input-mask/jquery.inputmask.js', 'js/lib/plugins/input-mask/jquery.inputmask.date.extensions.js', 'js/lib/plugins/input-mask/jquery.inputmask.extensions.js', 'js/backend/barcodes/add_edit.js' ]) !!} @stop