@extends('layouts.app')
@section('content')
Good {{ now()->hour < 12 ? 'morning' : (now()->hour < 17 ? 'afternoon' : 'evening') }}, {{ explode(' ', auth()->user()->name)[0] }}
{{ $awaiting }}
Waiting on approval or parts
{{ $overdue }}
Past promised date
@if(auth()->user()->isAdmin())
@money($cashToday)
Received today
@money($cashMonth)
Received this month
@money($owing)
Customers still owe
@endif
| Job | Customer | Device | Technician | Status |
@forelse($recent as $j)
| {{ $j->job_no }} | {{ $j->customer->name }} | {{ $j->deviceName() }} |
{{ $j->technician->name ?? 'Unassigned' }} | {{ $j->statusLabel() }} |
@empty| No jobs yet. Create the first one with "New repair job". |
@endforelse
@if($myJobs->count())
@endif
@forelse($lowParts as $p)
- {{ $p->name }}{{ $p->qty }} left
@empty- All parts are above their minimum level.
@endforelse
@endsection