@extends('layouts.app') @section('title', $wo->work_order_number) @section('content')
{{ $wo->customer->display_name }} · {{ title_case_words($wo->type) }} · {{ title_case_words($wo->status) }} · {{ $wo->priority }}
{{ $wo->description }}
| Item | Qty | Unit cost | Total | Added | |
|---|---|---|---|---|---|
| {{ $material->product?->name ?? $material->description }}
@if ($material->product)
{{ $material->product->sku }}
@endif |
{{ $material->quantity }} | {{ money($material->unit_cost) }} | {{ money($material->total_cost) }} | {{ $material->created_at->format('d M H:i') }} | |
| @include('components.empty-state', ['icon' => '📦', 'title' => 'No materials recorded', 'message' => 'Add stock items consumed during the job.', 'action' => '']) | |||||