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

{{ $title }}

{{ $title }}

{{ Form::open(['url' => route('stations.store'), 'method'=>'POST', 'name' => 'stations', 'id' => 'stations']) }}
{{ Form::label( __('lbl.name') ) }} {{ Form::text('name', $stationName, ["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', old('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, old('mode'),["class"=>"form-control","id"=>"mode","name"=>"mode"]) }} @if ($errors->has('mode')) {{ $errors->first('mode') }} @endif
{{ Form::label( __('lbl.mac') ) }} {{ Form::text('mac', old('mac'), ["class"=>"form-control mxlen_30","placeholder"=>__('lbl.mac'),"id"=>"mac","name"=>"mac"]) }}
{{ Form::label( __('lbl.network_key') ) }} {{ Form::text('network_key', old('network_key'), ["class"=>"form-control mxlen_30","placeholder"=>__('lbl.network_key'),"id"=>"network_key","name"=>"network_key"]) }}
{{ Form::label(__('lbl.barcode')) }} {{ Form::select('barcode_id', $barcodes, null,["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, null,["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, null,["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', old('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, null,["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::hidden('station_number', $stationNumber,['name'=>'station_number']) }} {{ Form::close() }}
@endsection @section('pagescript') {!! Helper::pagejs(['js/backend/stations/add_edit.js'])!!} @stop