@extends('admin.layouts.app') @section('title', get_setting('site_name').' | '.__('PF Yearly Summary')) @section('content') @php $types = ['OPENING_BALANCE','INTEREST','CONTRIB_EMP','CONTRIB_EMPLOYER','LOAN_DISBURSE','LOAN_REPAY','WITHDRAWAL','ADJUST']; @endphp
{{ __('Totals from PF ledger by calendar month and entry type (organization-wide).') }}
| {{ __('Month') }} | @foreach($types as $t){{ $t }} | @endforeach{{ __('Month Total') }} |
|---|---|---|
| {{ \Carbon\Carbon::create(2000, $m, 1)->format('F') }} | @foreach($types as $t){{ number_format((float) ($monthly[$m][$t] ?? 0), 2) }} | @endforeach{{ number_format($rowTotal, 2) }} |