add test batches

This commit is contained in:
root
2026-06-08 23:45:55 -04:00
parent c792b8be05
commit 8d4d610b82
1480 changed files with 22587 additions and 10762 deletions
@@ -11,7 +11,8 @@ class AdministratorEnrollmentRefundService
{
public function __construct(
protected FeeCalculationService $feeCalculationService
) {}
) {
}
public function processRefunds(array $parentIds, string $schoolYear, int $editorUserId): array
{
@@ -35,9 +36,8 @@ class AdministratorEnrollmentRefundService
->latest('created_at')
->first();
if (! $invoice) {
if (!$invoice) {
$errors[] = "No invoice found for parent ID {$pid} (for refund calc).";
continue;
}