fix logic and tests, update docker CI file
This commit is contained in:
@@ -30,7 +30,7 @@ class InvoiceGenerationService
|
||||
->where('parent_id', $parentId)
|
||||
->where('school_year', $schoolYear)
|
||||
->get()
|
||||
->map(fn ($r) => (array) $r)
|
||||
->map(fn ($r) => $r->toArray())
|
||||
->all();
|
||||
|
||||
if (empty($enrollments)) {
|
||||
|
||||
Reference in New Issue
Block a user