@extends('admin.layout') @section('title', 'Technician jobs') @section('content') @include('admin.jobs._tabs', ['on' => 'jobs'])
@can('jobs.manage') New job@endcan
@if ($list->isEmpty())

No jobs yet. Customers request them from the store; you can also add one yourself.

@else
@foreach ($list as $j) @endforeach
RefTypeCustomerWhereWhenTechnicianStatus
{{ $j->ref }}{{ $j->typeLabel() }}{{ $j->customer_name }}
{{ $j->phone }}
{{ $j->state }}{{ $j->preferred_date ?: 'Not set' }}
{{ $j->windowLabel() }}
{{ $j->technician->name ?? 'Not assigned' }}{{ $j->statusLabel() }}
@endif @endsection