Commit b31627c31ccf6fcc1e63fc6fc7ceba3a021cbb35

Authored by Hayk Nazaryan
Exists in master

Merge branch 'master' of http://gitlab.nologostudio.ru/alarionov/rekamore-su

Showing 2 changed files Side-by-side Diff

resources/views/admin/employer/edit.blade.php
... ... @@ -30,6 +30,14 @@
30 30 </label><br>
31 31  
32 32 <label class="block text-sm">
  33 + <span class="text-gray-700 dark:text-gray-400">Email(Login)</span>
  34 + <input name="user_email" id="email" readonly
  35 + class="block w-full mt-1 text-sm dark:border-gray-600 dark:bg-gray-700 focus:border-purple-400 focus:outline-none focus:shadow-outline-purple dark:text-gray-300 dark:focus:shadow-outline-gray form-input"
  36 + placeholder="Почта(Логин)" value="{{ $employer->users->email }}"
  37 + />
  38 + </label><br>
  39 +
  40 + <label class="block text-sm">
33 41 <span class="text-gray-700 dark:text-gray-400">Email</span>
34 42 <input name="email" id="email"
35 43 class="block w-full mt-1 text-sm dark:border-gray-600 dark:bg-gray-700 focus:border-purple-400 focus:outline-none focus:shadow-outline-purple dark:text-gray-300 dark:focus:shadow-outline-gray form-input"
resources/views/admin/employer/index.blade.php
... ... @@ -178,7 +178,8 @@
178 178 <p class="font-semibold">{{$user->name_company}}</p>
179 179 @endif
180 180 <p class="font-semibold">{{$user->name}}</p>
181   - <p class="font-semibold">{{ empty($user->employers->email) ? $user->email : $user->employers->email }}</p>
  181 +{{-- <p class="font-semibold">{{ empty($user->employers->email) ? $user->email : $user->employers->email }}</p>--}}
  182 + <p class="font-semibold">{{ $user->email }}</p>
182 183 <p class="text-xs text-gray-600 dark:text-gray-400">
183 184 {{ empty($user->employers->telephone) ? $user->telephone : $user->employers->telephone }}
184 185 </p>