{{--
Subscription accordion shared by the full-page history and the AJAX
report fragment.
$packageHistory - PackageProfile collection with packageHistory eager loaded
$packages, $packages_price - lookups keyed by package id
--}}
@if ($packageHistory->isEmpty())
No payments recorded against this subscription.
@else| Payment date | Paid | Due |
|---|---|---|
| {{ date('d M Y', strtotime($payment->payment_date)) }} | {{ number_format($payment->paid, 2) }} | {{ number_format($payment->due, 2) }} |
| Total paid | {{ number_format($paidSoFar, 2) }} |