@extends('layouts.admin') @section('title', $user->name) @section('heading', $user->name) @section('breadcrumb') @endsection @section('content')
Profile

Email: {{ $user->email }}

Phone: {{ $user->phone ?: '—' }}

Role: {{ $user->role->name ?? '—' }}

Status: {{ ucfirst($user->status) }}

Edit
Tasks this user created
@forelse($created as $task) @empty @endforelse
RefCustomerTitleStatus
{{ $task->ref_no }} {{ $task->customer->name ?? '—' }} {{ $task->title }} {{ $task->statusLabel() }} Open
No tasks created.
Tasks assigned to this user
@forelse($assigned as $task) @empty @endforelse
RefCustomerTitleStatusPending with
{{ $task->ref_no }} {{ $task->customer->name ?? '—' }} {{ $task->title }} {{ $task->statusLabel() }} {{ $task->pendingWithLabel() }} Open
No assigned tasks.
@endsection