@extends('layouts.admin') @section('title', __('adminstaticwords.AppSettings')) @section('content')
@if ($appconfig) {!! Form::model($appconfig, ['method' => 'PATCH', 'action' => ['AppConfigController@update', $appconfig->id], 'files' => true]) !!}
{{__('adminstaticwords.AppSettings')}}

{!! Form::label('title',__('adminstaticwords.AppTitle')) !!} {!! Form::text('title', null, ['class' => 'form-control']) !!} {{ $errors->first('title') }}
{!! Form::label('logo', __('adminstaticwords.ProjectLogo')) !!} -

{{__('adminstaticwords.Size')}}: 200x63

{!! Form::file('logo', ['class' => 'input-file', 'id'=>'logo']) !!}

{{__('adminstaticwords.ChooseALogo')}}

{{ $errors->first('logo') }}

{{__('adminstaticwords.PaymentGatewaySettings')}}

{!! Form::label('stripe_payment',__('adminstaticwords.STRIPEPAYMENT')) !!}
@if(env('STRIPE_KEY') != NULL && env('STRIPE_SECRET') != NULL)
@endif
{!! Form::label('paypal_payment',__('adminstaticwords.PAYPALPAYMENT')) !!}
@if(env('PAYPAL_CLIENT_ID') != NULL && env('PAYPAL_SECRET_ID') != NULL && env('PAYPAL_MODE') != NULL )
@endif
{!! Form::label('razorpay_payment', __('adminstaticwords.RAZORPAYPAYMENT')) !!}
@if(env('RAZOR_PAY_KEY') != NULL && env('RAZOR_PAY_SECRET') != NULL)
@endif
{!! Form::label('inapp_payment',__('adminstaticwords.INAPPPAYMENT')) !!}
{!! Form::label('instamojo_payment',__('INSTAMOJO PAYMENT')) !!}
{!! Form::label('brainetree_payment',__('adminstaticwords.BRAINTREEPAYMENT')) !!}
@if(env('BTREE_ENVIRONMENT') != NULL && env('BTREE_MERCHANT_ID') != NULL && env('BTREE_PUBLIC_KEY') != NULL && env('BTREE_PRIVATE_KEY') != NULL && env('BTREE_MERCHANT_ACCOUNT_ID') != NULL)
@endif
{!! Form::label('paystack_payment',__('adminstaticwords.PAYSTACKPAYMENT')) !!}
@if(env('PAYSTACK_PUBLIC_KEY') != NULL && env('PAYSTACK_SECRET_KEY') != NULL && env('PAYSTACK_PAYMENT_URL') != NULL)
@endif
{!! Form::label('bankdetails',__('adminstaticwords.BANKDETAILS')) !!}
{!! Form::label('paytm_payment',__('PAYTM PAYMENT')) !!}

{{__('adminstaticwords.SocialLoginSettings')}}

{!! Form::label('fb_check',__('adminstaticwords.EnableFacebookLogin')) !!}
@if(env('FACEBOOK_CLIENT_ID') != NULL && env('FACEBOOK_CLIENT_SECRET') != NULL && env('FACEBOOK_CALLBACK') != NULL)
@else {{__('please fill the details properly check out here')}} {{__('click here')}} @endif
{!! Form::label('google_login',__('adminstaticwords.EnableGoogleLogin')) !!}
@if(env('GOOGLE_CLIENT_ID') != NULL && env('GOOGLE_CLIENT_SECRET') != NULL && env('GOOGLE_CALLBACK') != NULL)
@else {{__('please fill the details properly check out here')}} {{__('click here')}} @endif
{!! Form::label('amazon_login',__('adminstaticwords.EnableAMAZONLogin')) !!}
@if(env('AMAZON_LOGIN_ID') != NULL && env('AMAZON_LOGIN_SECRET') != NULL && env('AMAZON_LOGIN_REDIRECT') != NULL)
@else {{__('please fill the details properly check out here')}} {{__('click here')}} @endif
{{--
{!! Form::label('git_lab_check', __('adminstaticwords.EnableGITLABLogin')) !!}
@if(env('GITLAB_CLIENT_ID') != NULL && env('GITLAB_CLIENT_SECRET') != NULL && env('GITLAB_CALLBACK') != NULL)
{{__('Not Available In Mobile APP Version')}}
@endif
--}}

{{__('adminstaticwords.PushNotificationSettings')}}

{!! Form::label('push_key', __('adminstaticwords.PushNotification')) !!}
{{ $errors->first('PUSH_AUTH_KEY') }}
{!! Form::label('PUSH_AUTH_KEY', __('adminstaticwords.PUSHAUTHKEY')) !!} {{-- {!! Form::text('PUSH_AUTH_KEY', null, ['class' => 'form-control']) !!} --}}

{{__('Other Settings')}}

{!! Form::label('remove_ads',__('Remove Ads')) !!}
{!! Form::label('is_admob',__('Admob Setting')) !!}

{!! Form::close() !!} @endif
@endsection @section('custom-script') @endsection