@php use App\Models\SuperAdmin\SaSettings; 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', ]) @endsection @section('vendor-script') @vite([ 'resources/assets/vendor/libs/select2/select2.js', ]) @endsection @section('content')
@lang('Settings')
@csrf
General Settings
{{--
--}}
is_helper_text_enabled ? 'checked' : '' }}>
@csrf
Mobile App Settings
@if($settings->is_helper_text_enabled) @endif
@csrf
Employee Settings
is_biometric_verification_enabled ? 'checked' : '' }}>
is_device_verification_enabled ? 'checked' : '' }}>
is_multiple_check_in_enabled ? 'checked' : '' }}>
Allow employees to check in and out multiple times in a single day. Each check-in/out cycle will be recorded as a separate attendance record.
is_auto_check_out_enabled ? 'checked' : '' }}>
Automatically check out employees at a specified time if they haven't checked out manually.
Time at which employees will be automatically checked out if they haven't checked out manually.
@csrf
Tracking Settings
@csrf
Code Prefix & Suffix
@if(Nwidart\Modules\Facades\Module::has('ProductOrder'))
@endif
@csrf
Maps Settings
@php $usePerTenantMapKey = tenancy()->central(function () { $saSettings = SaSettings::first(); return $saSettings ? ($saSettings->use_per_tenant_map_key ?? false) : false; }); @endphp @if($usePerTenantMapKey)
@else @endif
@csrf
Company Settings
Company Logo
@if($settings->company_logo) @endif
Click on the logo to change it. Allowed formats: JPG, PNG, Max size: 2MB
@if($addonService->isAddonEnabled(ModuleConstants::AI_CHATBOT))
@csrf
AI Settings Beta
Enter the API key to enable Chat GPT integrations.
enable_ai_chat_global ? 'checked' : '' }} onchange="toggleAIOptions(this)">
When disabled, all AI features will be turned off globally.
enable_ai_for_admin ? 'checked' : '' }}>
Allow administrators to access AI features.
enable_ai_for_employee_self_service ? 'checked' : '' }}>
Enable AI features for employee self-service in mobile app.
enable_ai_for_business_intelligence ? 'checked' : '' }}>
Enable AI for advanced business intelligence insights.
@if($settings->is_helper_text_enabled) @endif
@endif @if($addonService->isAddonEnabled(ModuleConstants::PAYROLL))
@csrf
Payroll Settings
auto_payroll_processing ?? false) ? 'checked' : '' }}>
@lang('Payroll Adjustments')
@if($payrollAdjustments->count() > 0)
@foreach($payrollAdjustments as $adjustment) @endforeach
@lang('Name') @lang('Code') @lang('Type') @lang('Applicability') @lang('Amount') @lang('Percentage') @lang('Actions')
{{ $adjustment->name }} {{ $adjustment->code }} @if($adjustment->type === 'benefit') @lang('Benefit') @else @lang('Deduction') @endif @if($adjustment->applicability === 'global') @lang('Global') @else @lang('Employee-Specific') @endif {{ $settings->currency_symbol . number_format($adjustment->amount, 2) }} {{ $adjustment->percentage ?? '-' }}%
@csrf @method('DELETE')
@else

@lang('No payroll adjustments found for this employee.')

@endif
@if($settings->is_helper_text_enabled) @endif
@endif
@endsection @if($addonService->isAddonEnabled(ModuleConstants::PAYROLL)) @include('payroll::partials.add_orUpdate_payroll_adjustment_global') @endif @section('page-script') @endsection