@extends('layouts.admin-main') @section('content')
# | {{ __('message.name') }} | {{ __('message.role') }} | {{ __('message.phone') }} | {{ __('message.gender') }} | {{ __('message.invitation code') }} | {{ __('message.status') }} | {{ __('message.created date') }} | {{ __('message.action') }} |
---|---|---|---|---|---|---|---|---|
{{ ++$i }} | {{ $user->name }} | @if (!empty($user->getRoleNames())) @foreach ($user->getRoleNames() as $v) @endforeach @endif | {{ $user->phone }} | {{ $user->gender=='m'?"M":"F" }} | {{ $user->invitation_code }} | @if ($user->is_active) Active @else Inactive @endif | {{ $user->created_at->format('d/m/Y H:i') }} | @if ($user->is_active) {{ __('message.deactivate') }} @else {{ __('message.activate') }} @endif @if ($user->is_active) {{ __('message.change password') }} @endif |