@extends('technician.layouts.app')
@section('title', 'History Details')
@section('content')
@php($booking = $assignment->serviceBooking)
@php($visit = $assignment->serviceVisit)
Completed Job Details
{{ $booking->booking_no }}
Customer & Service
Customer{{ $booking->customer->customer_name ?? '-' }}
Service Schedule{{ \Carbon\Carbon::parse($booking->service_date)->format('d M Y') }}{{ $booking->service_time ? ' ยท ' . \Carbon\Carbon::parse($booking->service_time)->format('h:i A') : '' }}
Service Address{{ $booking->service_address ?? '-' }}
Instructions{{ $assignment->instructions ?: 'No special instructions' }}
Visit History
Job Status{{ $assignment->work_status }}
Check-In{{ $visit?->checked_in_at?->format('d M Y, h:i A') ?? 'Not recorded' }}
Check-Out{{ $visit?->checked_out_at?->format('d M Y, h:i A') ?? 'Not recorded' }}
@if($booking->images->isNotEmpty())