@extends('layouts.app') @section('content')

Loan Category

Loan Applications by Month ({{ now()->year }})

Applications
Loan Applications
{{ $loanApplicationCount }}

Memberships
{{ $membershipCount }}

Membership Changes
{{ $membershipChangeCount }}

Refunds
{{ $refundCount }}

Saving Adjustment
-{{ number_format($fromPercentage, 1) }}% +{{ number_format($toPercentage, 1) }}%
  • (Reduce): Tsh: {{ number_format($fromAmount) }} ({{ number_format($fromPercentage,1) }}%)
  • (Increase): Tsh: {{ number_format($toAmount) }} ({{ number_format($toPercentage,1) }}%)
Overview Deductions
Category Count / Amount
URA Members {{ $uraMembersCount }}
Salary Loans (769) {{ $salaryLoansCount }}
Salary Loans (769A) {{ $salaryLoans769ACount }}
Total Salary Loans (769) TSh {{ number_format($salaryLoansSum, 2) }}
Total Salary Loans (769A) TSh {{ number_format($salaryLoans769ASum, 2) }}
@foreach($deductionsByDept as $dept) @endforeach
Department Contribution Count Salary Loans (769) Count Salary Loans (769A) Count Salary Loans (769) Total Salary Loans (769A) Total
{{ $dept->deptName }} {{ $dept->contributionCount }} {{ $dept->salaryLoans769Count }} {{ $dept->salaryLoans769ACount }} TSh {{ number_format($dept->salaryLoans769Sum, 2) }} TSh {{ number_format($dept->salaryLoans769ASum, 2) }}
Grand Total {{ $grandTotalContributions }} {{ $grandTotalSalaryLoans769Count }} {{ $grandTotalSalaryLoans769ACount }} TSh {{ number_format($grandTotalSalaryLoans769Sum, 2) }} TSh {{ number_format($grandTotalSalaryLoans769ASum, 2) }}
@endsection