@extends('layouts.app') @section('title', 'Job Info') @section('content')
{{-- --}} @foreach ($jobs as $job) {{-- Stock Length (pc) Column --}} {{-- --}} @endforeach
Job No Job Address Site Length (mm)St ock Length (pc)Created At Waste's Action
{{ \Str::limit($job->job_no ?? 'N/A', 100) }} {{ \Str::limit($job->address ?? 'N/A', 100) }} {{ \Str::limit($job->site ?? 'N/A', 100) }} {{ \Str::limit($job->length ?? 'N/A', 100) }} @if (isset($job->used_pieces) && count($job->used_pieces) > 0) @foreach ($job->used_pieces as $piece) {{ \Str::limit($piece['length'], 100) }} / {{ $piece['qty'] }}pc
@endforeach @else N/A @endif
{{ $job->created_at ? $job->created_at->format('Y-m-d') : 'N/A' }} View {{-- --}}
{{-- --}} @endsection @push('styles') @endpush