@extends('layouts.app') @section('title', $complaint->complaint_no . ' - PMMS') @section('content')
{{ __('app.complaint.show.final_verify.hint') }}
{{ __('app.complaint.show.review.hint') }}
{{ __('app.complaint.show.contact.none_recorded') }}
@else{{ __('app.complaint.show.contact.success_hint') }}
@elseif ($complaint->contactAttempts->count() >= 2){{ __('app.complaint.show.contact.max_reached_hint') }}
@else @endif| {{ __('app.complaint.show.work_orders.table.no') }} | {{ __('app.complaint.show.work_orders.table.title') }} | {{ __('app.complaint.show.work_orders.table.category') }} | {{ __('app.complaint.show.work_orders.table.location') }} | {{ __('app.complaint.show.work_orders.table.priority') }} | {{ __('app.complaint.show.work_orders.table.status') }} | {{ __('app.complaint.show.work_orders.table.inspection') }} |
|---|---|---|---|---|---|---|
| {{ $workOrder->work_order_no }} | {{ $workOrder->title }} | {{ $workOrder->category?->name ?? __('app.complaint.show.work_orders.category_pending') }} @if ($workOrder->category_other_note) ({{ $workOrder->category_other_note }}) @endif | {{ $workOrder->location ?? '-' }} | {{ $workOrder->priority ?? __('app.complaint.show.work_orders.priority_pending') }} | {{ $workOrder->status ?? __('app.complaint.show.work_orders.pending_approval') }} |
{{-- Permintaan tambahan pengguna: Tenant WAJIB nampak tarikh
inspection bersama nama staff yang akan datang, terus di sini
(bukan perlu klik masuk Work Order Detail dahulu). --}}
@if ($workOrder->inspections->isNotEmpty())
@foreach ($workOrder->inspections as $inspection)
{{ $inspection->inspection_date->format('d/m/Y') }}{{ $inspection->inspection_time ? ' '.$inspection->inspection_time : '' }}
— {{ __('app.complaint.show.work_orders.staff_label', ['name' => $inspection->assignedStaff?->name ?? '-']) }}
@endforeach
@elseif ($workOrder->status === 'OPEN')
{{ __('app.complaint.show.work_orders.not_scheduled') }}
@else
-
@endif
|
{{ __('app.complaint.show.attachment.empty') }}
@else @include('partials.attachment-gallery', ['attachments' => $complaint->attachments, 'downloadRoute' => 'attachments.download']) @endif{{ __('app.complaint.show.timeline.empty') }}
@else{{ __('app.complaint.show.audit.empty') }}
@else