From 5558bda14bb35ecd32f8d23368052e4bd99f43f0 Mon Sep 17 00:00:00 2001 From: anazaryan Date: Mon, 25 Nov 2024 13:29:28 +0400 Subject: [PATCH] fix workers error and email buttons --- app/Http/Controllers/Admin/WorkersController.php | 2 +- resources/views/emails/send_already_registered.blade.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Http/Controllers/Admin/WorkersController.php b/app/Http/Controllers/Admin/WorkersController.php index 81c9b92..b7e3527 100644 --- a/app/Http/Controllers/Admin/WorkersController.php +++ b/app/Http/Controllers/Admin/WorkersController.php @@ -26,7 +26,7 @@ class WorkersController extends Controller } $status_work = Job_title::query()->active()->orderBy('name')->get(); - $users = User::with('jobtitles')->worker()->realuser(); + $users = User::with(['jobtitles', 'workers'])->realuser(); $all_worker = $users->count(); $find_status_work = ""; diff --git a/resources/views/emails/send_already_registered.blade.php b/resources/views/emails/send_already_registered.blade.php index eb8bb1d..34766a9 100644 --- a/resources/views/emails/send_already_registered.blade.php +++ b/resources/views/emails/send_already_registered.blade.php @@ -19,12 +19,12 @@
+ style="background: #20A0E1;font-size: 16px;font-weight: 700;margin:0 16px 32px 16px;border-radius: 8px;height: 44px;line-height: 44px;text-decoration: none;color:#fff;display: inline-block;vertical-align: top;padding: 0 32px;"> Телеграм + style="background: #2787F5;font-size: 16px;font-weight: 700;margin:0 16px 32px 16px;border-radius: 8px;height: 44px;line-height: 44px;text-decoration: none;color:#fff;display: inline-block;vertical-align: top;padding: 0 32px;"> ВКонтакте -- 1.7.10.4