Fixed many feature failures around preferences, route coverage, administrator enrollment, assignment section names, attendance tracking controller access, finance PDF generation, and finance notification logging.
API CI/CD / Validate (composer + pint) (push) Successful in 3m15s
API CI/CD / Test (PHPUnit) (push) Failing after 5m4s
API CI/CD / Build frontend assets (push) Successful in 1m3s
API CI/CD / Security audit (push) Failing after 49s
API CI/CD / Deploy to shared hosting (PHP) (push) Has been skipped

This commit is contained in:
root
2026-07-07 21:26:47 -04:00
parent e13df69885
commit e0dfc3ec82
46 changed files with 19799 additions and 75 deletions
@@ -4,6 +4,7 @@ namespace App\Services\Billing;
use App\Models\AdditionalCharge;
use App\Models\EventCharges;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Log;
class BillingTotalsService
@@ -71,7 +72,7 @@ class BillingTotalsService
$rows = [];
try {
$builder = AdditionalCharge::query()
$builder = DB::table((new AdditionalCharge)->getTable())
->select('charge_type', 'amount')
->where('status', 'applied');
+7
View File
@@ -210,6 +210,13 @@ class ChargeService
}
$charge = EventCharges::query()->create($data);
EventCharges::query()
->whereKey($charge->id)
->update([
'event_name' => $eventId > 0 ? null : $eventName,
'amount' => round($amount, 2),
]);
$charge->refresh();
$this->invoiceGeneration->generateInvoice($parentId, $schoolYear);