@php use App\Services\AddonService\IAddonService; $addonService = app(IAddonService::class); @endphp @extends('layouts/layoutMaster') @section('title', __('Settings')) @section('vendor-style') @vite([ 'resources/assets/vendor/libs/select2/select2.scss', 'resources/assets/vendor/libs/sweetalert2/sweetalert2.scss' ]) @endsection @section('vendor-script') @vite([ 'resources/assets/vendor/libs/select2/select2.js', 'resources/assets/vendor/libs/sweetalert2/sweetalert2.js' ]) @endsection @section('content') @php $breadcrumbs = [ ['name' => __('Dashboard'), 'url' => route('superAdmin.dashboard')], ['name' => __('Settings'), 'url' => ''] ]; @endphp
@csrf
{{ __('General Settings') }}
is_helper_text_enabled ? 'checked' : '' }}>
@csrf
{{ __('Branding Settings') }}
{{ __('Customize your application appearance') }}

{{ __('This logo will be displayed in the application header and login pages.') }}

{{ __('Current Logo') }}
{{ __('App Logo') }}
{{ __('Drop your logo here or click to browse') }}

{{ __('PNG, JPG or JPEG format') }}

{{ __('Max size: 2MB') }} {{ __('Transparent background recommended') }}

{{ __('This icon will appear in browser tabs and bookmarks.') }}

{{ __('Current Favicon') }}
{{ __('Favicon') }}
{{ __('Drop your favicon here or click to browse') }}

{{ __('ICO, PNG, JPG or JPEG format') }}

{{ __('Max size: 512KB') }} {{ __('32x32 or 64x64 pixels') }}
@if($settings->is_helper_text_enabled)
@endif
@csrf
{{ __('Company Settings') }}
{{ __('Manage your organization information') }}
{{ __('Company Logo') }}
{{ __('Upload Company Logo') }}

{{ __('This logo will appear on documents and reports') }}

@if($settings->company_logo) @endif
{{ __('JPG, PNG. Max: 2MB') }}
{{ __('Basic Information') }}
{{ __('Address Information') }}
{{ __('Legal Information') }}
@csrf
{{ __('Employee Settings') }}
{{ __('Default password for new employees') }}
@csrf
{{ __('Maps Settings') }}
{{ __('Your Google Maps API key for map features') }}
@csrf
{{ __('Code Prefix & Suffix') }}
{{ __('Prefix for employee codes (e.g., EMP-001)') }}
@if(Nwidart\Modules\Facades\Module::has('ProductOrder'))
{{ __('Prefix for order numbers') }}
@endif
@csrf
{{ __('Mail Settings') }}
{{ __('Configure your SMTP settings to enable email notifications, password resets, and other email features.') }}
{{ __('Currently only SMTP is supported') }}
{{ __('Your SMTP server hostname') }}
{{ __('Common ports: 587 (TLS), 465 (SSL), 25 (No encryption)') }}
{{ __('Recommended: TLS for port 587, SSL for port 465') }}
{{ __('Usually your email address') }}
{{ __('Your SMTP password or app-specific password') }}
{{ __('Email address that appears as sender') }}
{{ __('Name that appears as sender') }}
@if($settings->is_helper_text_enabled)
{{ __('Gmail Users:') }} {{ __('If using Gmail, enable "Less secure app access" or use an "App Password" if 2FA is enabled.') }}
{{ __('Office 365/Outlook:') }} {{ __('Use smtp.office365.com with port 587 and TLS encryption.') }}
{{ __('SendGrid/Mailgun:') }} {{ __('Use their SMTP credentials from your dashboard.') }}
@endif

{{ __('Test Email Configuration') }}

{{ __('Send a test email to verify your SMTP settings are working correctly before saving.') }}

{{ __('This will use your current settings (saved or unsaved) to send a test email.') }}
@if($addonService->isAddonEnabled(ModuleConstants::GOOGLE_RECAPTCHA))
@include('googlerecaptcha::settings')
@endif @if($addonService->isAddonEnabled('AgoraCall'))
@include('agoracall::settings')
@endif
@endsection @section('page-script') @vite(['resources/assets/js/settings.js']) @endsection