@section('page-title', 'Bank Report')

{{ __('Banks Report') }}

{{ __('Employee bank details and local converted salary') }}

← {{ __('Back to Reports') }}

{{ $employees->count() }} {{ __('employees') }}

@foreach($employees as $emp) @php $baseCurrency = \App\Models\Currency::base(); $baseSalary = $emp->base_salary ?? 0; if ($baseCurrency && $baseCurrency->exchange_rate && $baseCurrency->exchange_rate > 0) { $localSalary = (float)$baseSalary * (float)$baseCurrency->exchange_rate; $symbol = $baseCurrency->to_currency ?? $baseCurrency->code ?? 'USD'; } else { $localSalary = $baseSalary; $symbol = 'USD'; } @endphp @endforeach
{{ __('Staff No') }} {{ __('Employee') }} {{ __('Account Name') }} {{ __('Account Number') }} {{ __('Bank Name') }} {{ __('Branch') }} {{ __('Salary') }} ({{ __('Local') }})
{{ $emp->employee_id ?? 'N/A' }} {{ $emp->first_name }} {{ $emp->last_name }} {{ $emp->bank_account_name ?? '' }} {{ $emp->bank_account_number ?? '' }} {{ $emp->bank_name ?? '' }} {{ $emp->bank_branch ?? '' }} {{ $symbol }} {{ number_format($localSalary, 2) }}