fix logic and tests, update docker CI file

This commit is contained in:
root
2026-03-09 15:58:44 -04:00
parent 1cb3573d4b
commit 79e44fe037
188 changed files with 1776 additions and 524 deletions
@@ -41,7 +41,12 @@ class InvoicePdfServiceTest extends TestCase
'parent_id' => 10,
'firstname' => 'Kid',
'lastname' => 'User',
'school_id' => 1,
'school_id' => 'S1',
'age' => 8,
'gender' => 'Male',
'photo_consent' => 1,
'year_of_registration' => '2025',
'school_year' => '2025-2026',
'is_active' => 1,
]);
@@ -49,11 +54,14 @@ class InvoicePdfServiceTest extends TestCase
'class_section_id' => 1,
'class_section_name' => '1A',
'class_id' => 1,
'semester' => 'Fall',
'school_year' => '2025-2026',
]);
DB::table('student_class')->insert([
'student_id' => 100,
'class_section_id' => 1,
'semester' => 'Fall',
'school_year' => '2025-2026',
'is_event_only' => 0,
]);
@@ -62,7 +70,9 @@ class InvoicePdfServiceTest extends TestCase
'student_id' => 100,
'parent_id' => 10,
'class_section_id' => 1,
'enrollment_date' => '2025-01-01',
'enrollment_status' => 'enrolled',
'semester' => 'Fall',
'school_year' => '2025-2026',
]);