{{ $title }}
{{ Form::open(['url' => route('printers.update', $printersDetails['id']), 'method'=>'PATCH', 'name' => 'printers', 'id' => 'printers']) }}
{{ method_field('PATCH') }}
{{ Form::close() }}
{{ Form::label('Printer Name') }}
{{ Form::text('printer_name', $printersDetails['printer_name'], ["class"=>"form-control mxlen_15","placeholder"=>"Printer Name","id"=>"printer_name","name"=>"printer_name"]) }}
@if ($errors->has('printer_name'))
{{ $errors->first('printer_name') }}
@endif
{{ Form::label('Printer Network') }}
{{ Form::select('printer_network', Config::get('constants.printer_newtwork'), $printersDetails['printer_network'],["class"=>"form-control mxlen_10","id"=>"printer_network","name"=>"printer_network"]) }}
@if ($errors->has('printer_network'))
{{ $errors->first('printer_network') }}
@endif
{{ Form::label('Printer Type') }}
{{ Form::select('printer_type', Config::get('constants.printer_type'), $printersDetails['printer_type'],["class"=>"form-control","id"=>"printer_type","name"=>"printer_type"]) }}
@if ($errors->has('printer_type'))
{{ $errors->first('printer_type') }}
@endif
{{ Form::label('Printer Characters') }}
{{ Form::text('printer_characters', $printersDetails['printer_characters'], ["class"=>"form-control mxlen_10","placeholder"=>"Printer Characters","id"=>"printer_characters","name"=>"printer_characters"]) }}
@if ($errors->has('printer_characters'))
{{ $errors->first('printer_characters') }}
@endif
{{ Form::label('Printer IP') }}
{{ Form::text('printer_ip_address', $printersDetails['printer_ip_address'], ["class"=>"form-control validIP mxlen_15","placeholder"=>"Printer IP","id"=>"printer_ip_address","name"=>"printer_ip_address", 'data-inputmask'=>"'alias': 'ip'" ,'data-mask'=>""]) }}
@if ($errors->has('printer_ip_address'))
{{ $errors->first('printer_ip_address') }}
@endif
{{ Form::label('Printer Port') }}
{{ Form::text('printer_port', $printersDetails['printer_port'], ["class"=>"form-control mxlen_4 digits","placeholder"=>"Printer Port","id"=>"printer_port","name"=>"printer_port"]) }}
@if ($errors->has('printer_port'))
{{ $errors->first('printer_port') }}
@endif
{{ Form::button( ' '.__('lbl.save'),["type"=>"submit","name"=>"submit","value"=>"submit","class"=>"clickbtncommon btn btn-primary btn-sm ".$add_edit_allowed.""]) }}
{{ __('lbl.cancel') }}