@extends('layouts.app') @section('title', 'RFI Status') @section('content')

RFI #{{ $rfi->id }}

{{ 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') : '' }}.

@else

This 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

Uploaded Documents

Back to Upload @endsection