@extends('layouts.app')
@section('title', 'Statement of Account')
@section('content')
@php
$mid = trim((string) ($profile->middlename ?? ''));
$fullName = trim($profile->firstname . ' ' . ($mid !== '' ? $mid[0] . '. ' : '') . $profile->surname);
@endphp
This student has an unpaid promissory note that must be settled.
Total under promissory arrangement: ₱{{ number_format($soa['promissoryTotal'], 2) }} — included in your outstanding balance.
You have an unpaid back account from a previous school year.
Total outstanding back account: ₱{{ number_format($soa['backAccountTotal'], 2) }} — this is separate from this year's balance below.
Your Statement of Account has not been generated. Please visit the Cashier's office or check back soon.
Your official printable SOA has not been generated by the Cashier yet. Your fee breakdown and payment history below are up to date.
Monthly Fees (× {{ $soa['installmentCount'] }} months)
Enrollment Fees
Payment Status
{{ $soa['payStatus'] }}
| OR Number | Date | Method | Amount Paid | Running Balance |
|---|---|---|---|---|
| {{ $p['or_number'] }} | {{ \Carbon\Carbon::parse($p['paid_at'])->format('M j, Y') }} | {{ $p['method'] }} | ₱{{ number_format($p['amount'], 2) }} | {{ $p['running'] < 0 ? '−₱' . number_format(abs($p['running']),2) : '₱' . number_format($p['running'], 2) }} |
| Total Paid | ₱{{ number_format($soa['totalPaid'], 2) }} | |||