@extends('layouts.app') @section('title', $customer->name) @section('content')

{{ $customer->name }}

{{ $customer->phone }} @if($customer->email) · {{ $customer->email }} @endif @if($customer->address) · {{ $customer->address }} @endif
New repair job New invoice Edit @if(auth()->user()->isAdmin())
@csrf @method('DELETE')
@endif
@if($customer->notes)
{{ $customer->notes }}
@endif
Repair history ({{ $customer->jobs->count() }})
    @forelse($customer->jobs as $j)
  • {{ $j->job_no }} {{ $j->deviceName() }}
    {{ $j->received_at->format('M j, Y') }}
    {{ $j->statusLabel() }}
  • @empty
  • No repairs yet.
  • @endforelse
Invoices ({{ $customer->invoices->count() }})
    @forelse($customer->invoices as $i)
  • {{ $i->invoice_no }}
    {{ $i->issue_date->format('M j, Y') }}
    @money($i->total)
    {{ ucfirst($i->status) }}
  • @empty
  • No invoices yet.
  • @endforelse
@endsection