fix enrollment for the new school-year
Tests / PHPUnit (push) Successful in 1m26s

This commit is contained in:
root
2026-08-07 23:43:31 -04:00
parent b6f3b14e7b
commit 1ef2800f12
66 changed files with 8997 additions and 498 deletions
@@ -2,7 +2,6 @@
namespace App\Commands;
use App\Services\RegistrationOpeningEmailService;
use CodeIgniter\CLI\BaseCommand;
use CodeIgniter\CLI\CLI;
@@ -32,7 +31,7 @@ class SendRegistrationOpeningEmail extends BaseCommand
return;
}
$service = new RegistrationOpeningEmailService();
$service = service('enrollmentRegistrationEmail');
$summary = $service->sendForDate($date, $force, $email, $dryRun);
foreach ($summary['messages'] as $message) {