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;"> ВКонтакте