@extends('user.layout') @php use App\Http\Helpers\UserPermissionHelper; $package = UserPermissionHelper::currentPackage($tenant->id); if (!empty($tenant)) { $permissions = UserPermissionHelper::packagePermission($tenant->id); $permissions = json_decode($permissions, true); } @endphp @section('content')
{{ __('Update Plugins Informations') }}
{{ __('Google Map') }}
@csrf
@if ($errors->has('google_map_api_status'))

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

@endif
@if ($errors->has('google_map_api_key'))

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

@endif
{{ __('If the Google Maps is disabled:') }}
  • {{ __('Google will not suggest locations under address inputs.') }}

@if ($errors->has('google_map_type'))

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

@endif {{ __('Specifies the visible area (in meters) around the location on Google Maps.') }} {{ __('Example: 40 = 40-meter red circle, ideal for showing an approximate area.') }}
@if ($errors->has('google_map_radius'))

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

@endif
  • {{ __('Defines how much area around the location point will be highlighted on Google Maps.') }}

  • {{ __('Example: entering 40 shows a red circle covering a 40-meter radius.') }}

  • {{ __('Useful for displaying an approximate area without revealing the exact address.') }}

@if (!empty($permissions) && in_array('Google Recaptcha', $permissions))
@csrf
{{ __('Google Recaptcha') }}
@if ($errors->has('google_recaptcha_status'))

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

@endif
@if ($errors->has('google_recaptcha_site_key'))

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

@endif
@if ($errors->has('google_recaptcha_secret_key'))

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

@endif
@endif @if (!empty($permissions) && in_array('Disqus', $permissions))
@csrf
{{ __('Disqus') }}
@if ($errors->has('disqus_status'))

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

@endif
@if ($errors->has('disqus_short_name'))

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

@endif
@endif @if (!empty($permissions) && in_array('Whatsapp', $permissions))
@csrf
{{ __('WhatsApp') }}
@if ($errors->has('whatsapp_status'))

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

@endif
@if ($errors->has('whatsapp_number'))

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

@endif
@if ($errors->has('whatsapp_header_title'))

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

@endif
@if ($errors->has('whatsapp_popup_status'))

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

@endif
@if ($errors->has('whatsapp_popup_message'))

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

@endif
@endif @if (!empty($permissions) && in_array('Google Login', $permissions))
@csrf
{{ __('Login via Google') }}
@if ($errors->has('google_login_status'))

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

@endif
@if ($errors->has('google_client_id'))

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

@endif
@if ($errors->has('google_client_secret'))

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

@endif
@endif
@endsection