jackson25
jackson25
FFilament
Created by jackson25 on 4/12/2024 in #❓┊help
help me to make notification for this
$prospects = \App\Models\Prospect::all(); foreach ($prospects as $prospect) { $relanceDate = \Carbon\Carbon::parse($prospect->relance); $RDVDate = \Carbon\Carbon::parse($prospect->RDV); if ($relanceDate->copy()->subDay()->isToday()) { Notification::make() ->title('Tomorrow is relance with') ->sendToDatabase($recipient); } if ($RVDDate->copy()->subDay()->isToday()) { Notification::make() ->title('Tomorrow is an appointment with') ->sendToDatabase($recipient); } }
1 replies
FFilament
Created by jackson25 on 4/11/2024 in #❓┊help
notification
Hello ! i want to set notification before a day on date of an appointment in my recource column is rdv(wich is column of appointments ) any help please ?
4 replies