@extends('admin.layouts.app') @section('title',get_setting('site_name').' Settings') @section('content') @push('css') @endpush @include('admin.website_settings.partials.styles')

{{ __('Website Settings') }}

{{ __('Configure site identity, features, branding, email, and integrations.') }}

@csrf
{{ __('Site identity') }}
{{ __('Regional & calculation') }}
@php $roundingMode = get_setting('amount_rounding_mode', 'floor'); @endphp {{ __('Whole-number rounding for payroll, funds, loans, tax, and salary amounts.') }} {{ __('9.52 → Floor 9 · Ceil 10 · Round 10 · 9.49 → Floor 9 · Ceil 10 · Round 9') }}
@php $staffListSort = get_setting('staff_list_sort', 'user_id_asc'); @endphp {{ __('Default order for employee lists in PF / GF / SWF reports, finance-year member snapshots, and GL exports. SID uses employee user id.') }}
{{ __('Data retention') }}
{{ __('Older login details, activity logs, and notifications are removed daily. Minimum 1 day.') }}
@include('admin.website_settings.partials.features_tab')
@csrf
{{ __('Branding assets') }}
@if(get_setting('system_logo_white') != null)
@endif {{ __('Used in the admin panel side menu') }}
@if(get_setting('site_icon') != null)
@endif
@if(get_setting('admin_login_background') != null)
@endif
@if(get_setting('company_seal') != null)
@endif
{{ __('Mail configuration') }}
@csrf
{{ __('Test SMTP configuration') }}
@csrf
{{ __('Instruction') }}

{{ __('Please be careful when configuring SMTP. Incorrect settings can break registration, notifications, and payslip email.') }}

{{ __('For Non-SSL') }}
  • {{ __('Use sendmail if SMTP causes issues') }}
  • {{ __('Set Mail Host per your mail client settings') }}
  • {{ __('Set Mail port as 587') }}
  • {{ __('Set Mail Encryption as ssl if tls fails') }}
{{ __('For SSL') }}
  • {{ __('Use sendmail if SMTP causes issues') }}
  • {{ __('Set Mail Host per your mail client settings') }}
  • {{ __('Set Mail port as 465') }}
  • {{ __('Set Mail Encryption as ssl') }}
{{ __('Google Maps API key') }}

{{ __('Used when staff sign in/out from the web with browser location (reverse geocoding). Stored in the database; you can change it anytime.') }}

@csrf
{{ __('Leave blank only if you clear the key; empty saves as empty (fallback: GOOGLE_MAPS_API_KEY in .env).') }}
{{ __('How to get the API key') }}
  1. {{ __('Open') }} Google Cloud Console {{ __('and select or create a project.') }}
  2. {{ __('Enable the “Geocoding API” for that project (APIs & Services → Library → Geocoding API → Enable).') }}
  3. {{ __('Go to APIs & Services → Credentials → Create credentials → API key.') }}
  4. {{ __('Restrict the key (recommended): Application restrictions → HTTP referrers (your HRM domain) or IP; API restrictions → limit to Geocoding API only.') }}
  5. {{ __('Copy the key and paste it above, then click Update.') }}
@endsection @section('modal') {{-- Push Notification Setup--}} {{-- Facebook Chat--}} @endsection @section('script') @endsection