-
app/Models/User.php
Open in GitHubuse Illuminate\Contracts\Auth\MustVerifyEmail; use Illuminate\Foundation\Auth\User as Authenticatable; class User extends Authenticatable implements MustVerifyEmail { // public function getNameAttribute() { if($this->first_name) { return "{$this->first_name} {$this->last_name}"; } return __('bap.user') . ":" . $this->id; } // }
-
resources/views/livewire/admin/user/index.blade.php
Open in GitHub// ... <div class="font-weight-medium">{{ $user->name }}</div> // ...