@extends('layouts.app') @section('content')
@include('sections.setting-sidebar')

@lang($pageTitle)

@if(user()->is_superadmin)
@else
@endif
{{-- WORKSUITESAAS --}} @if(user()->is_superadmin)

{{ config('services.google.redirect_uri') }} @lang('app.copy')

(@lang('messages.googleCalendar.addGoogleCalendarUrl'))

@else
@lang('superadmin.googleCalendarConfig')
@endif
{{-- WORKSUITESAAS --}} @if(!user()->is_superadmin && user()->permission('manage_google_calendar_setting') == 'all')

@lang("messages.googleCalendar.notificationTitle")

@endif
@lang('app.save') @if (($globalSetting->google_calendar_status == 'active' && !empty($globalSetting->google_client_id) && !empty($globalSetting->google_client_secret)) && $setting && $setting->google_calendar_verification_status == 'non_verified' && empty($setting->token) && empty($setting->name) && empty($setting->google_id)) @lang('app.verify') @endif @if (($globalSetting->google_calendar_status == 'active' && !empty($globalSetting->google_client_id) && !empty($globalSetting->google_client_secret)) && $setting && $setting->google_calendar_verification_status == 'verified' && !empty($setting->token) && !empty($setting->name) && !empty($setting->google_id)) @lang('app.disable') @endif
@endsection @push('scripts') @endpush