@extends('admin.layouts.app') @section('title', get_setting('site_name').' | GF Settings') @section('content') @include('admin.fund.partials.settings_styles') @include('employee.fund.partials.emp_fund_styles', ['wrap' => 'adm-fund'])

{{ __('Gratuity Fund (GF) Settings') }}

{{ __('Configure accrual rules, loan policy, and withdrawal settings.') }}

@if((int) get_setting('gf') !== 1) {{ __('GF feature is OFF') }} @else {{ __('GF feature is ON') }} @endif
{{ __('Configuration') }}
@csrf
{{ __('If set, staff cannot request/approve loans above this percentage of their GF balance. Leave empty/0 for no limit.') }}
@include('admin.fund.partials.loan_policy_settings_fields')
{{ __('Leave empty/0 for no limit.') }}
@include('admin.fund.partials.withdrawal_policy_settings_fields') @include('admin.fund.partials.settings_toggle', [ 'name' => 'allow_manual_percent_override', 'label' => __('Allow manual percent override per staff'), 'checked' => old('allow_manual_percent_override', $row->allow_manual_percent_override), 'help' => __('When enabled, admin can set custom GF accrual percent per staff on the account screen.'), ])
{{ __('Separation & settlement') }}
@include('admin.fund.partials.separated_until_settlement_settings', ['fund' => 'gf'])
@endsection