@extends('layouts.student') @section('title', 'Deferment Request') @section('content')
| # | Date Submitted | Reason | Status | Attachment |
|---|---|---|---|---|
| {{ $index + 1 }} | {{ \Carbon\Carbon::parse($req->created_at)->format('d M Y') }} | {{ $req->reason }} | @if ($req->status === 'approved') Approved @elseif ($req->status === 'rejected') Rejected @else Pending @endif | @if ($req->attachment) View @else N/A @endif |