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

{{ $title }} {{ __('lbl.logout') }}

@if(Helper::checkAccess('stations_view')) @endif @if(Helper::checkAccess('printer_view')) @endif @if(Helper::checkAccess('card_swipes_view')) @endif @if(Helper::checkAccess('payment_method_view')) @endif @if(Helper::checkAccess('slider_view')) @endif @if(Helper::checkAccess('nmi_credential_view')) @endif @if(Helper::checkAccess('fee_configuration_view')) @endif @if(Helper::checkAccess('label_configuration_view')) @endif @if(Helper::checkAccess('kiosk_configuration_view')) @endif @if(Helper::checkAccess('announcements_view')) @endif @if(Helper::checkAccess('promotions_view')) @endif
@if(Helper::checkAccess('stations_view'))
@if(Helper::checkAccess('stations_add')) @endif
@endif @if(Helper::checkAccess('printer_view'))
@if(Helper::checkAccess('printer_add')) @endif
{{ __('lbl.id') }} {{ __('lbl.printer_name') }} {{ __('lbl.printer_network') }} {{ __('lbl.type') }} {{ __('lbl.printer_type_option') }} {{ __('lbl.ipaddress') }} {{ __('lbl.port') }} {{ __('lbl.action') }}
@endif @if(Helper::checkAccess('card_swipes_view'))
@if(Helper::checkAccess('card_swipes_add')) @endif
{{ __('lbl.name') }} {{ __('lbl.ipaddress') }} {{ __('lbl.port') }} {{ __('lbl.type') }} {{ __('lbl.action') }}
@endif @if(Helper::checkAccess('payment_method_view'))
@if(Helper::checkAccess('payment_method_add')) @endif
{{ __('lbl.payment_key') }} {{ __('lbl.payment_value') }} {{ __('lbl.action') }}
@endif @if(Helper::checkAccess('slider_view'))
@if(Helper::checkAccess('slider_welcome')) @endif @if(Helper::checkAccess('slider_edit')) @endif
{{ __('lbl.title') }} {{ __('lbl.slider_image') }} {{ __('lbl.action') }}
@endif @include('admin.peripherals.promotionsannouncements') @if(Helper::checkAccess('fee_configuration_view'))
{{ Form::open(['url' => route('cardswipes.configurationkeys'), 'method'=>'POST', 'name' => 'feeconfiguration', 'id' => 'feeconfiguration']) }}
@php $isnmieditable = ''; if(!Helper::checkAccess('fee_configuration_edit')){ $isnmieditable = 'readonly'; } @endphp
{{ Form::label('franchisefee', __('lbl.franchisefee'), ['class' => 'col-sm-3 col-md-offset-1 control-label no-padding']) }}
{{ Form::number('franchisefee', (Helper::configurationKeys('franchisefee'))?Helper::configurationKeys('franchisefee'):0, ["class"=>"form-control","placeholder"=>__('lbl.franchisefee'),"id"=>"franchisefee"])}}
{{ Form::label('marketingfee', __('lbl.marketingfee'), ['class' => 'col-sm-3 col-md-offset-1 control-label no-padding']) }}
{{ Form::number('marketingfee', (Helper::configurationKeys('marketingfee'))?Helper::configurationKeys('marketingfee'):0, ["class"=>"form-control","placeholder"=>__('lbl.marketingfee'),"id"=>"marketingfee"])}}
{{ Form::label('conveniencefee', __('lbl.conveniencefee'), ['class' => 'col-sm-3 col-md-offset-1 control-label no-padding']) }}
{{ Form::number('conveniencefee', (Helper::configurationKeys('conveniencefee'))?Helper::configurationKeys('conveniencefee'):0, ["class"=>"form-control","placeholder"=>__('lbl.conveniencefee'),"id"=>"conveniencefee"])}}
{{ Form::hidden('ajaxreq',1) }} {{ Form::close() }}
@endif @if(Helper::checkAccess('nmi_credential_view'))
{{ Form::open(['url' => route('cardswipes.nmicardswipescredential'), 'method'=>'POST', 'name' => 'nmicardswipescredential', 'id' => 'nmicardswipescredential']) }}
@php $isnmieditable = ''; if(!Helper::checkAccess('nmi_credential_edit')){ $isnmieditable = 'readonly'; } @endphp
{{ Form::label('getway_name', __('lbl.nmi_gateway_name'), ['class' => 'col-sm-3 col-md-offset-1 control-label no-padding']) }}
{{ Form::text('getway_name', !empty($NMIcredential) ? $NMIcredential->gateway_name : '', [$isnmieditable,"class"=>"form-control mxlen_50","placeholder"=>__('lbl.nmi_gateway_name'),"id"=>"nmi_gateway_name","name"=>"gateway_name"]) }} @if ($errors->has('getway_name')) {{ $errors->first('getway_name') }} @endif
{{ Form::label('nmi_key_id', __('lbl.nmi_key_id'), ['class' => 'col-sm-3 col-md-offset-1 control-label no-padding']) }}
{{ Form::text('key_id', !empty($NMIcredential) ? $NMIcredential->key_id : '', [$isnmieditable,"class"=>"form-control mxlen_20","placeholder"=>__('lbl.nmi_key_id'),"id"=>"key_id","name"=>"key_id"]) }} @if ($errors->has('key_id')) {{ $errors->first('key_id') }} @endif
{{ Form::label('nmi_key', __('lbl.nmi_key'), ['class' => 'col-sm-3 col-md-offset-1 control-label no-padding']) }}
{{ Form::text('key', !empty($NMIcredential) ? $NMIcredential->key : '', [$isnmieditable,"class"=>"form-control mxlen_100","placeholder"=>__('lbl.nmi_key'),"id"=>"key","name"=>"key"]) }} @if ($errors->has('key')) {{ $errors->first('key') }} @endif
{{ Form::hidden('ajaxreq',1) }} {{ Form::hidden('id',!empty($NMIcredential) ? $NMIcredential->id : '',['id'=>'NMIcredentialId']) }} {{ Form::close() }}
@endif
{{ Form::open(['url' => route('cardswipes.configurationkeys'), 'method'=>'POST', 'name' =>'configurationkeys', 'id' => 'configurationkeys']) }}
{{ Form::label('fcmkey', __('lbl.fcmkey'), ['class' => 'col-sm-3 col-md-offset-1 control-label no-padding']) }}
{{ Form::text('fcmkey', Helper::configurationKeys('fcmkey'), ["class"=>"form-control","placeholder"=>__('lbl.fcmkey'),"id"=>"fcmkey"])}}
{{ Form::label('fcmkey', __('lbl.fcmkey'), ['class' => 'col-sm-3 col-md-offset-1 control-label no-padding']) }}
{{ Form::select('webpushnotification', [""=>"--SELECT--","on"=>"ON","off"=>"OFF"], Helper::configurationKeys('webpushnotification'), ["class"=>"form-control", "id"=>"webpushnotification"]) }}
{{ Form::label('twiliosid', __('lbl.twiliosid'), ['class' => 'col-sm-3 col-md-offset-1 control-label no-padding']) }}
{{ Form::text('twiliosid', Helper::configurationKeys('twiliosid'),["class"=>"form-control","placeholder"=>__('lbl.twiliosid'),"id"=>"twiliosid"]) }}
{{ Form::label('twiliotoken', __('lbl.twiliotoken'), ['class' => 'col-sm-3 col-md-offset-1 control-label no-padding']) }}
{{ Form::text('twiliotoken', Helper::configurationKeys('twiliotoken'),["class"=>"form-control","placeholder"=>__('lbl.twiliotoken'),"id"=>"twiliotoken"]) }}
{{ Form::label('twiliofromnumber', __('lbl.twiliofromnumber'), ['class' => 'col-sm-3 col-md-offset-1 control-label no-padding']) }}
{{ Form::text('twiliofromnumber', Helper::configurationKeys('twiliofromnumber'),["class"=>"form-control","placeholder"=>__('lbl.twiliofromnumber'),"id"=>"twiliofromnumber"]) }}
{{ Form::label('smsstarttext', __('lbl.smsstarttext'), ['class' => 'col-sm-3 col-md-offset-1 control-label no-padding']) }}
{{ Form::text('smsstarttext', Helper::configurationKeys('smsstarttext'),["class"=>"form-control","placeholder"=>__('lbl.smsstarttext'),"id"=>"smsstarttext"]) }}
{{ Form::close() }}
@if(Helper::checkAccess('label_configuration_view'))
@if(Helper::checkAccess('label_configuration_add'))@endif
{{ __('lbl.label') }} {{ __('lbl.store_name') }} {{ __('lbl.address') }} {{ __('lbl.action') }}
@endif @if(Helper::checkAccess('kiosk_configuration_view'))@endif
@if(Helper::checkAccess('kiosk_configuration_edit')) @endif
{{ __('lbl.storeLogo') }} {{ __('lbl.customLogo') }} {{ __('lbl.kioskSliders') }} {{ __('lbl.action') }}
{{ Form::open(['url' => route('peripheralspassword'), 'method'=>'POST', 'name' => 'peripherals_password', 'id' => 'peripherals_password']) }}
{{ Form::label('peripherals_password', __('lbl.peripherals_password').' new', ['class' => 'col-sm-3 col-md-offset-1 control-label no-padding']) }}
{{Form::password('password',["required","class"=>"form-control","value"=>"","name"=>"password","id"=>"peripheralsprotected"])}}
{{ Form::close() }}
@if(Helper::checkAccess('card_swipes_add')) @endif @if(Helper::checkAccess('barcode_add')) @endif @if(Helper::checkAccess('printer_add')) @endif @if(Helper::checkAccess('payment_method_view')) @endif @if(Helper::checkAccess('label_configuration_add'))@endif @if(Helper::checkAccess('slider_view')) @endif @if(Helper::checkAccess('kiosk_configuration_view')) @endif {{Form::hidden('sliderswelcomeStore',route('sliders.welcome'),['id'=>'sliderswelcomeStore'])}} {{Form::hidden('sliderIndex',route('sliders.index'),['id'=>'sliderIndex'])}} {{Form::hidden('displayunitIndex',route('displayunits.index'),['id'=>'displayunitIndex'])}} {{Form::hidden('paymentmethodIndex',route('paymentmethod.index'),['id'=>'paymentmethodIndex'])}} {{Form::hidden('printersIndex',route('printers.index'),['id'=>'printersIndex'])}} {{Form::hidden('barcodesIndex',route('barcodes.index'),['id'=>'barcodesIndex'])}} {{Form::hidden('stationsIndex',route('stations.index'),['id'=>'stationsIndex'])}} {{Form::hidden('cardswipesIndex',route('cardswipes.index'),['id'=>'cardswipesIndex'])}} {{Form::hidden('labelconfigIndex',route('labelconfig.index'),['id'=>'labelconfigIndex'])}} {{Form::hidden('kioskconfigIndex',route('kioskconfig.index'),['id'=>'kioskconfigIndex'])}} {{Form::hidden('promotionsIndex',route('promotions.index'),['id'=>'promotionsIndex'])}} {{Form::hidden('announcementsIndex',route('announcements.index'),['id'=>'announcementsIndex'])}} @endsection @section('pagescript') {!! Helper::pagejs([ 'js/lib/datatables.net/js/jquery.dataTables.min.js', 'js/lib/datatables.net-bs/js/dataTables.bootstrap.min.js', 'js/backend/paymentmethod/list.js', 'js/backend/lableconfig/list.js', 'js/backend/printers/list.js', 'js/backend/stations/list.js', 'js/backend/cardswipes/list.js', 'js/backend/sliders/list.js', 'js/backend/sliders/promotions.js', 'js/backend/sliders/announcements.js', 'js/backend/kiosksliderslist/config.js', ]) !!} @stop