@extends('layouts.user') @section('content')
Your last request ({{ $appliedRequest->request_code }}) was applied on {{ $appliedRequest->applied_at?->format('d M, Y h:i A') }}. Next request allowed after {{ \Carbon\Carbon::parse(auth()->user()->next_state_change_allowed_at)->format('d M, Y h:i A') }}.
Your request ({{ $scheduledRequest->request_code }}) has been approved and is scheduled for {{ $scheduledRequest->requested_effective_date->format('d M, Y') }}.
It will be applied automatically on the effective date. You cannot submit a new request until then.
You have a pending request ({{ $pendingRequest->request_code }}) awaiting admin review.
From: {{ $pendingRequest->currentState->name ?? 'N/A' }} @if($pendingRequest->currentDistrict) ({{ $pendingRequest->currentDistrict->name }}) @endif To: {{ $pendingRequest->requestedState->name ?? 'N/A' }} @if($pendingRequest->requestedDistrict) ({{ $pendingRequest->requestedDistrict->name }}) @endif
Submitted: {{ $pendingRequest->created_at->format('d M, Y h:i A') }} ({{ $pendingRequest->created_at->diffForHumans() }})
Note: You cannot submit a new request until the admin approves or rejects your pending request. View Full History
You have a pending state change request awaiting admin approval. Please wait for admin review.
@elseif(isset($scheduledRequest) && $scheduledRequest)An approved request is scheduled for {{ $scheduledRequest->requested_effective_date->format('d M, Y') }}. New submissions are blocked until it is applied.
@elseif(isset($appliedRequest) && $appliedRequest && $coolingPeriodActive)Your last change was applied on {{ $appliedRequest->applied_at?->format('d M, Y') }}. Next request allowed after {{ \Carbon\Carbon::parse(auth()->user()->next_state_change_allowed_at)->format('d M, Y') }}.
@elseA blocking condition prevents submitting a new request right now.
@endif View Request History