multiple bug fixes including sender ID filtering

This commit is contained in:
Kwesi Banson Jnr
2026-04-16 14:22:04 +00:00
parent 72180de8e4
commit 5dbe76dbd4
380 changed files with 175085 additions and 203 deletions

View File

@@ -0,0 +1,43 @@
<?php
namespace App\Console\Commands;
use Illuminate\Console\Command;
use App\Http\Controllers\HolidaysController;
class ProcessHolidayAlert extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'holidayalerts:send';
/**
* The console command description.
*
* @var string
*/
protected $description = 'Send Upcoming Holiday Alerts to team members';
/**
* Create a new command instance.
*
* @return void
*/
public function __construct(HolidaysController $hoidays_alerts)
{
parent::__construct();
$this->hoidays_alerts = $hoidays_alerts;
}
/**
* Execute the console command.
*
* @return mixed
*/
public function handle()
{
$this->hoidays_alerts->getHolidayDetails();
}
}