fixed shortcode edit issues plus refactoring

This commit is contained in:
Kwesi Banson Jnr
2026-02-05 08:38:07 +00:00
parent 063572463b
commit 9cd017fb9a
20 changed files with 655 additions and 117 deletions

View File

@@ -8,6 +8,8 @@ use App\Models;
use Spatie\Activitylog\Models\Activity;
use Illuminate\Contracts\Mail\Mailer;
use App\Jobs\SendTestEmail;
use App\Notifications\EmailNotification;
class UtilityController extends Controller
{
@@ -247,5 +249,16 @@ class UtilityController extends Controller
}
public function sendEmailNotification(Request $request){
$user = Models\StaffMember::find(1);
// Create a new instance of your notification
$notification = new EmailNotification('This is a test notification.', 'https://example.com');
// Send the notification
$user->notify($notification);
}
}
// https://www.tokyvideo.com/video/sheena-the-queen-of-the-jungle-1984-movie-with-tanya-roberts-ted-wass-donovan-scott