@extends('layouts.settings.default') @push('css_lib')
{{--dropzone--}}
@endpush @section('settings_title',trans('lang.user_table')) @section('settings_content') @include('flash::message') @include('adminlte-templates::common.errors')
{{trans('lang.app_setting_paypal')}}@if(setting('enable_paypal', false))
{{trans('lang.active')}}
@endif
{{trans('lang.app_setting_stripe')}}@if(setting('enable_stripe',false))
{{trans('lang.active')}}
@endif
{{trans('lang.app_setting_razorpay')}}@if(setting('enable_razorpay',false))
{{trans('lang.active')}}
@endif
@can('currencies.index')
{{trans('lang.currency_table')}}
@endcan
{!! Form::open(['url' => ['settings/update'], 'method' => 'patch']) !!}
{!! Form::label('enable_paypal', trans('lang.app_setting_enable_paypal'),['class' => 'col-2 control-label text-right']) !!}
{!! Form::hidden('enable_paypal', null) !!} {!! Form::checkbox('enable_paypal', 1, setting('enable_paypal', false)) !!}
{!! trans('lang.app_setting_enable_paypal_help') !!}
{!! Form::label('paypal_mode', trans('lang.app_setting_paypal_mode'),['class' => 'col-2 control-label text-right']) !!}
{!! Form::hidden('paypal_mode', null) !!} {!! Form::checkbox('paypal_mode', 1, setting('paypal_mode', false)) !!}
{!! trans('lang.app_setting_paypal_mode_help') !!}
{!! Form::label('paypal_username', trans('lang.app_setting_paypal_username'), ['class' => 'col-4 control-label text-right']) !!}
{!! Form::text('paypal_username', setting('paypal_username'), ['class' => 'form-control','placeholder'=> trans('lang.app_setting_paypal_username_placeholder')]) !!}
{!! trans('lang.app_setting_paypal_username_help') !!}
{!! Form::label('paypal_password', trans('lang.app_setting_paypal_password'), ['class' => 'col-4 control-label text-right']) !!}
{!! Form::text('paypal_password', setting('paypal_password'), ['class' => 'form-control','placeholder'=> trans('lang.app_setting_paypal_password_placeholder')]) !!}
{!! trans('lang.app_setting_paypal_password_help') !!}
{!! Form::label('paypal_secret', trans('lang.app_setting_paypal_secret'), ['class' => 'col-4 control-label text-right']) !!}
{!! Form::text('paypal_secret', setting('paypal_secret'), ['class' => 'form-control','placeholder'=> trans('lang.app_setting_paypal_secret_placeholder')]) !!}
{!! trans('lang.app_setting_paypal_secret_help') !!}
{!! Form::label('paypal_app_id', trans('lang.app_setting_paypal_app_id'), ['class' => 'col-4 control-label text-right']) !!}
{!! Form::text('paypal_app_id', setting('paypal_app_id'), ['class' => 'form-control','placeholder'=> trans('lang.app_setting_paypal_app_id_placeholder')]) !!}
{!! trans('lang.app_setting_paypal_app_id_help') !!}
{{trans('lang.save')}} {{trans('lang.app_setting_payment')}}
{{trans('lang.cancel')}}
{!! Form::close() !!}
@include('layouts.media_modal',['collection'=>null]) @endsection @push('scripts_lib') {{--dropzone--}} @endpush