feat(Reminder process): add 4 reminder phases for membership (Retzien)
All checks were successful
Deploy Roxane to Preprod / deploy (push) Successful in 1m21s

This commit is contained in:
2026-09-06 17:03:14 +02:00
parent 98893924ac
commit ba11ee7120
61 changed files with 967 additions and 162 deletions

View File

@@ -2,7 +2,24 @@
use Illuminate\Foundation\Inspiring;
use Illuminate\Support\Facades\Artisan;
use Illuminate\Support\Facades\Schedule;
Artisan::command('inspire', function () {
$this->comment(Inspiring::quote());
})->purpose('Display an inspiring quote');
Schedule::command('members:renewal-process --phase=reminder_1')
->yearlyOn(12, 1, '09:00')
->description('1ère relance renouvellement adhésion');
Schedule::command('members:renewal-process --phase=reminder_2')
->yearlyOn(12, 15, '09:00')
->description('2ème relance renouvellement adhésion');
Schedule::command('members:renewal-process --phase=reminder_3')
->yearlyOn(1, 5, '09:00')
->description('3ème relance renouvellement adhésion');
Schedule::command('members:renewal-process --phase=deactivate')
->yearlyOn(1, 28, '09:00')
->description('Désactivation comptes non renouvelés');