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

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

Email: {{ $customer->email ?: '—' }}

Address: {{ $customer->address ?: '—' }}

City: {{ $customer->city ?: '—' }}

Notes: {{ $customer->notes ?: '—' }}

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

@if(auth()->user()->allows('manage-customers')) Edit @endif @if(\App\Support\WorkflowAccess::canCreate()) New fix task @endif
Fix tasks
@forelse($tasks as $task) @empty @endforelse
Ref Title Priority Status Pending with
{{ $task->ref_no }} {{ $task->title }} {{ ucfirst($task->priority) }} {{ $task->statusLabel() }} {{ $task->pendingWithLabel() }} @if(\App\Support\WorkflowAccess::canViewTask($task)) Open @endif
No fix tasks for this customer yet.
@endsection