Commit 5558bda14bb35ecd32f8d23368052e4bd99f43f0
1 parent
fb60f75ef5
Exists in
master
fix workers error and email buttons
Showing 2 changed files with 3 additions and 3 deletions Side-by-side Diff
app/Http/Controllers/Admin/WorkersController.php
... | ... | @@ -26,7 +26,7 @@ class WorkersController extends Controller |
26 | 26 | } |
27 | 27 | |
28 | 28 | $status_work = Job_title::query()->active()->orderBy('name')->get(); |
29 | - $users = User::with('jobtitles')->worker()->realuser(); | |
29 | + $users = User::with(['jobtitles', 'workers'])->realuser(); | |
30 | 30 | $all_worker = $users->count(); |
31 | 31 | |
32 | 32 | $find_status_work = ""; |
resources/views/emails/send_already_registered.blade.php
... | ... | @@ -19,12 +19,12 @@ |
19 | 19 | </b> |
20 | 20 | <div style="text-align:center;margin-top: 32px;font-size: 0;"> |
21 | 21 | <a href="https://t.me/rekamore_su" target="_blank" |
22 | - style="background: #20A0E1;font-size: 16px;font-weight: 700;margin:0 16px;border-radius: 8px;height: 44px;line-height: 44px;text-decoration: none;color:#fff;display: inline-block;vertical-align: top;padding: 0 32px;"> | |
22 | + 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;"> | |
23 | 23 | <img src="{{asset('images/emails/24.png')}}" alt="" style="width: 17px; height: 14px; margin-right:5px;"> |
24 | 24 | Телеграм |
25 | 25 | </a> |
26 | 26 | <a href="https://vk.com/rekamore_su" target="_blank" |
27 | - style="background: #2787F5;font-size: 16px;font-weight: 700;margin:0 16px;border-radius: 8px;height: 44px;line-height: 44px;text-decoration: none;color:#fff;display: inline-block;vertical-align: top;padding: 0 32px;"> | |
27 | + 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;"> | |
28 | 28 | <img src="{{asset('images/emails/25.png')}}" alt="" style="width: 17px; height: 14px; margin-right:5px;"> |
29 | 29 | ВКонтакте |
30 | 30 | </a> |