@include('admin.fund.partials.settings_toggle', [
'name' => 'loans_enabled',
'label' => __('Enable employee loan requests'),
'checked' => old('loans_enabled', $row->loans_enabled ?? true),
'help' => __('When off, staff cannot submit loan requests from their portal. Admin may still manage loans if allowed below.'),
])
@include('admin.fund.partials.settings_toggle', [
'name' => 'loan_affects_balance',
'label' => __('Loan affects fund balance (ledger-linked)'),
'checked' => old('loan_affects_balance', $row->loan_affects_balance ?? true),
'help' => __('On: disbursement reduces balance; repayment increases balance. Off: loan tracking and payroll deduction only — no LOAN_DISBURSE/REPAY ledger entries (independent sub-ledger).'),
])
{{ __('Equal principal (normal): loan amount ÷ months. Amortization schedule: fixed monthly payment with interest from the yearly rate below.') }}
{{ __('Same rate for equal-principal service charge and amortization interest. Applied per installment when full payment is made on or after the 16th of the due month. No service charge/interest if paid by the 15th.') }}
{{ __('Set to 0 to make guarantors optional on loan applications.') }}
@include('admin.fund.partials.settings_toggle', [
'name' => 'allow_admin_loan_override',
'label' => __('Allow admin to edit pending loan applications'),
'checked' => old('allow_admin_loan_override', $row->allow_admin_loan_override ?? true),
'help' => __('Admin can change amount, period, dates, guarantors before approval.'),
])
@include('admin.fund.partials.settings_toggle', [
'name' => 'admin_can_create_loans',
'label' => __('Allow admin to create loans (backend entry)'),
'checked' => old('admin_can_create_loans', $row->admin_can_create_loans ?? true),
'help' => __('Create loan records from admin without employee request — useful for migrating ongoing loans.'),
])