@extends('layouts.app') @section('title', 'RFI Status') @section('content')
{{ ucfirst($rfi->type) }} RFI · {{ $rfi->job_no }} · {{ $rfi->swo_no }}
Status: @if ($rfi->qa_status === \App\Models\Rfi::QA_PENDING) Submitted for Approval @else {{ ucfirst($rfi->qa_status) }} @endif
@if ($rfi->qa_status === \App\Models\Rfi::QA_PENDING)Your documents have been submitted and are waiting for an approver to review them. You'll see the outcome here once it's been reviewed.
@elseif ($rfi->qa_status === \App\Models\Rfi::QA_APPROVED)This RFI was approved{{ $rfi->reviewed_by ? ' by ' . $rfi->reviewed_by : '' }}{{ $rfi->reviewed_at ? ' on ' . $rfi->reviewed_at->format('Y-m-d H:i') : '' }}.
@elseThis RFI was rejected{{ $rfi->reviewed_by ? ' by ' . $rfi->reviewed_by : '' }}{{ $rfi->reviewed_at ? ' on ' . $rfi->reviewed_at->format('Y-m-d H:i') : '' }}. You may need to re-upload documents or follow up with the approver.
@endif