From 7cc4cd45ffbe0f65c170c143d06f9d30b83214cd Mon Sep 17 00:00:00 2001 From: dhanabalan Date: Wed, 28 Jan 2026 17:07:58 +0530 Subject: [PATCH] Added approval trigger mail inisde the scheduler --- app/Console/Commands/Scheduler.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Console/Commands/Scheduler.php b/app/Console/Commands/Scheduler.php index e2de398..c7af09e 100644 --- a/app/Console/Commands/Scheduler.php +++ b/app/Console/Commands/Scheduler.php @@ -39,7 +39,7 @@ class Scheduler extends Command public function handle() { - // $this->call('approval:trigger-mails'); + $this->call('approval:trigger-mails'); // --- Production Rules --- $productionRules = AlertMailRule::where('module', 'ProductionQuantities') @@ -112,6 +112,7 @@ class Scheduler extends Command break; } } + // foreach ($invoiceRules as $rule) { // switch ($rule->schedule_type) {