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
@@ -72,6 +72,7 @@ class FinancialReportServiceTest extends TestCase
'refund_amount' => 5,
'status' => 'Paid',
'refund_paid_amount' => 5,
'refunded_at' => '2025-01-03 10:00:00',
]);
DB::table('discount_usages')->insert([
@@ -81,6 +82,8 @@ class FinancialReportServiceTest extends TestCase
'parent_id' => 10,
'discount_amount' => 10,
'school_year' => '2025-2026',
'used_at' => '2025-01-04 10:00:00',
'created_at' => '2025-01-04 10:00:00',
]);
DB::table('expenses')->insert([
@@ -93,6 +96,7 @@ class FinancialReportServiceTest extends TestCase
'school_year' => '2025-2026',
'semester' => 'Fall',
'status' => 'approved',
'created_at' => '2025-01-05 12:00:00',
]);
DB::table('reimbursements')->insert([
@@ -104,6 +108,7 @@ class FinancialReportServiceTest extends TestCase
'status' => 'Paid',
'school_year' => '2025-2026',
'semester' => 'Fall',
'created_at' => '2025-01-06 12:00:00',
]);
$service = new FinancialReportService(