Fiscal Year
{{ $procurementPlan->fiscal_year }}
Version
v{{ $procurementPlan->version }}
Status
@php
$statusColors = [
'draft' => 'badge-gray',
'pending_approval' => 'badge-amber',
'approved' => 'badge-green',
'rejected' => 'badge-red',
'amended' => 'badge-blue',
];
@endphp
{{ ucfirst(str_replace('_', ' ', $procurementPlan->status)) }}
Created By
{{ $procurementPlan->creator->name ?? 'N/A' }} on {{ $procurementPlan->created_at->format('d M Y') }}
@if($procurementPlan->approver)
Approved By
{{ $procurementPlan->approver->name ?? 'N/A' }} on {{ $procurementPlan->approved_at->format('d M Y') }}
@endif
@if($procurementPlan->status == 'rejected' && $procurementPlan->rejection_comment)
Rejection Comment
{{ $procurementPlan->rejection_comment }}
@endif
@if($procurementPlan->status == 'pending_approval' && auth()->user()->can('update', $procurementPlan))
Approval Action
Reject Plan
@endif