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

{{ $title }}

{{ $title }}

{{ Form::open(['url' => route('stations.update', $station['id']), 'method'=>'PATCH', 'name' => 'stations', 'id' => 'stations']) }} {{ method_field('PATCH') }}
{{ Form::label( __('lbl.name') ) }} {{ Form::text('name', $station['name'], ["class"=>"form-control mxlen_15","placeholder"=>__('lbl.name'),"id"=>"name","name"=>"name"]) }} @if ($errors->has('name')) {{ $errors->first('name') }} @endif
{{ Form::label( __('lbl.pos_station_name') ) }} {{ Form::text('pos_station', $station['pos_station_name'], ["class"=>"form-control mxlen_15","placeholder"=>__('lbl.pos_station_name'),"id"=>"pos_station_name","name"=>"pos_station_name"]) }} @if ($errors->has('pos_station')) {{ $errors->first('pos_station') }} @endif
{{ Form::label(__('lbl.mode')) }} {{ Form::select('mode', $modes, $station['mode'],["class"=>"form-control","id"=>"mode","name"=>"mode"]) }} @if ($errors->has('mode')) {{ $errors->first('mode') }} @endif
{{ Form::label( __('lbl.mac') ) }} {{ Form::text('mac', $station['mac'], ["class"=>"form-control mxlen_30","placeholder"=>__('lbl.mac'),"id"=>"mac","name"=>"mac"]) }} @if ($errors->has('mac')) {{ $errors->first('mac') }} @endif
{{ Form::label( __('lbl.network_key') ) }} {{ Form::text('network_key', $station['network_key'], ["class"=>"form-control mxlen_30","placeholder"=>__('lbl.network_key'),"id"=>"network_key","name"=>"network_key"]) }} @if ($errors->has('network_key')) {{ $errors->first('network_key') }} @endif
{{ Form::label(__('lbl.barcode')) }} {{ Form::select('barcode_id', $barcodes, $station['barcode_id'],["class"=>"form-control","id"=>"barcode_id","name"=>"barcode_id"]) }} @if ($errors->has('barcode_id')) {{ $errors->first('barcode_id') }} @endif
{{ Form::label(__('lbl.printer')) }} {{ Form::select('printer_id', $printers, $station['printer_id'],["class"=>"form-control","id"=>"printer_id","name"=>"printer_id"]) }} @if ($errors->has('printer_id')) {{ $errors->first('printer_id') }} @endif
{{ Form::label(__('lbl.cardswipes')) }} {{ Form::select('cardswipe_id', $cardswipes, $station['cardswipe_id'],["class"=>"form-control","id"=>"cardswipe_id","name"=>"cardswipe_id"]) }} @if ($errors->has('cardswipe_id')) {{ $errors->first('cardswipe_id') }} @endif
{{ Form::label(__('lbl.unique_token_series')) }} {{ Form::text('unique_token_series', $station['unique_token_series'], ["class"=>"form-control mxlen_5 digits","placeholder"=>__('lbl.unique_token_series'),"id"=>"unique_token_series","name"=>"unique_token_series"]) }} @if ($errors->has('unique_token_series')) {{ $errors->first('unique_token_series') }} @endif
{{ Form::label(__('lbl.order_type')) }} {{ Form::select('ordertype_id', $ordersTypes, $station['ordertype_id'],["class"=>"form-control","id"=>"ordertype_id"]) }} @if ($errors->has('ordertype_id')) {{ $errors->first('ordertype_id') }} @endif
{{ Form::button(" " . __("messages.save"),["type"=>"submit","name"=>"submit","value"=>"submit","class"=>"clickbtncommon btn btn-default btn-sm ".$add_edit_allowed.""]) }} {{ __('lbl.cancel') }}
{{ Form::close() }}
@endsection @section('pagescript') {!! Helper::pagejs(['js/backend/stations/add_edit.js'])!!} @stop