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

{{ $title }}

{{ Form::open(['url' => route('cardswipescredential'), 'method'=>'POST', 'name' => 'cardswipescredential', 'id' => 'cardswipescredential']) }}

{{ __('lbl.gateway_credential') }}

{{ Form::button(' '. __('lbl.save') ,["type"=>"submit","name"=>"submit","value"=>"submit","class"=>"credentialsubmit", "class"=>"clickbtncommon btn btn-primary btn-sm ".$add_edit_allowed.""]) }}
{{ Form::label(__('lbl.getway_name')) }} {{ Form::text('getway_name', !empty($credential) ? $credential->gateway_name : '', ["class"=>"form-control mxlen_50","placeholder"=>__('lbl.getway_name'),"id"=>"gateway_name","name"=>"gateway_name"]) }} @if ($errors->has('getway_name')) {{ $errors->first('getway_name') }} @endif
{{ Form::label(__('lbl.getway_siteid')) }} {{ Form::text('gateway_siteid', !empty($credential) ? $credential->gateway_siteid : '', ["class"=>"form-control mxlen_20","placeholder"=>__('lbl.getway_siteid'),"id"=>"gateway_siteid","name"=>"gateway_siteid"]) }} @if ($errors->has('getway_siteid')) {{ $errors->first('getway_siteid') }} @endif
{{ Form::label(__('lbl.gateway_transactionkey')) }} {{ Form::text('gateway_transactionkey', !empty($credential) ? $credential->gateway_transactionkey : '', ["class"=>"form-control mxlen_30","placeholder"=>__('lbl.gateway_transactionkey'),"id"=>"gateway_transactionkey","name"=>"gateway_transactionkey"]) }} @if ($errors->has('gateway_transactionkey')) {{ $errors->first('gateway_transactionkey') }} @endif
{{ Form::hidden('id',!empty($credential) ? $credential->id : '',['id'=>'credentialId']) }} {{ Form::close() }}
{{ Form::open(['url' => route('nmicardswipescredential'), 'method'=>'POST', 'name' => 'nmicardswipescredential', 'id' => 'nmicardswipescredential']) }}

{{ __('lbl.nmi_credential') }}

{{ Form::button(' '. __('lbl.save') ,["type"=>"submit","name"=>"submit","value"=>"submit","class"=>"credentialsubmit", "class"=>"clickbtncommon btn btn-primary btn-sm ".$add_edit_allowed.""]) }}
{{ Form::label(__('lbl.nmi_gateway_name')) }} {{ Form::text('getway_name', !empty($NMIcredential) ? $NMIcredential->gateway_name : '', ["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(__('lbl.nmi_key_id')) }} {{ Form::text('key_id', !empty($NMIcredential) ? $NMIcredential->key_id : '', ["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(__('lbl.nmi_key')) }} {{ Form::text('key', !empty($NMIcredential) ? $NMIcredential->key : '', ["class"=>"form-control mxlen_100","placeholder"=>__('lbl.nmi_key'),"id"=>"key","name"=>"key"]) }} @if ($errors->has('key')) {{ $errors->first('key') }} @endif
{{ Form::hidden('id',!empty($NMIcredential) ? $NMIcredential->id : '',['id'=>'NMIcredentialId']) }} {{ Form::close() }}

{{ $title }}

{{ __('lbl.name') }} {{ __('lbl.ipaddress') }} {{ __('lbl.port') }} {{ __('lbl.type') }} {{ __('lbl.action') }}
@endsection @section('pagescript') {!! Helper::datatablelib('cardswipes/list.js') !!} @stop