Fix Pint formatting

This commit is contained in:
root
2026-06-09 01:25:14 -04:00
parent 6be4875c5e
commit 20a0b6c4e5
1485 changed files with 11318 additions and 10273 deletions
@@ -2,9 +2,9 @@
namespace App\Services\Parents;
use App\Models\Enrollment;
use App\Models\Event;
use App\Models\EventCharges;
use App\Models\Enrollment;
use App\Models\Student;
use App\Services\Invoices\InvoiceGenerationService;
@@ -13,8 +13,7 @@ class ParentEventParticipationService
public function __construct(
private ParentConfigService $configService,
private InvoiceGenerationService $invoiceGeneration
) {
}
) {}
public function overview(int $parentId): array
{
@@ -27,7 +26,7 @@ class ParentEventParticipationService
$charges = [];
foreach ($chargesList as $charge) {
$key = $charge['student_id'] . ':' . $charge['event_id'];
$key = $charge['student_id'].':'.$charge['event_id'];
$charges[$key] = [
'participation' => $charge['participation'],
'date' => $charge['updated_at'] ?? $charge['created_at'],
@@ -107,6 +106,7 @@ class ParentEventParticipationService
if ($existing) {
$existing->delete();
}
continue;
}