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

{{ __('SWF Account') }}

{{ $staff->user?->name }} ยท {{ $staff->user?->id }}

{{ __('Account settings') }}
@if((int) get_setting('swf') !== 1)
{{ __('SWF feature is OFF. You can view statements, but cannot modify settings/accounts until SWF is enabled.') }}
@endif
@csrf
{{ __('Enrollment & rates') }}
@include('admin.partials.fund_account_opening_interest', [ 'featureOn' => (int) get_setting('swf') === 1, 'openingRoute' => route('swf.accounts.opening_balance', $staff->id), 'openingUpdateRoute' => route('swf.accounts.opening_balance.update', $staff->id), 'openingDestroyRoute' => route('swf.accounts.opening_balance.destroy', $staff->id), 'interestRoute' => route('swf.accounts.interest', $staff->id), 'interestUpdateRoute' => 'swf.accounts.interest.update', 'interestDestroyRoute' => 'swf.accounts.interest.destroy', ])
@endsection