@extends('layout.layout') @section('title', 'Student Freeze/Unfreeze Requests') @section('content')
| Student Name | Type | Status | Requested Date | Actions |
|---|---|---|---|---|
| {{ $request->student->full_name ?? '' }} | @if ($request->type === 'freeze') Freeze @else Unfreeze @endif | @if ($request->status === 'pending') Pending @elseif ($request->status === 'solved') Solved @elseif ($request->status === 'unsolved') Unsolved @endif | {{ $request->created_at->format('M d, Y - H:i') }} |
Details
@if ($request->admin_id == auth()->id() && $request->status === 'pending')
@if ($request->type === 'freeze')
{{-- Generate Invoice button --}}
@endif
{{-- Mark as Unsolved button --}}
@endif
{{-- Generate Invoice Modal --}}
@if ($request->admin_id == auth()->id() && $request->status === 'pending' && $request->type === 'freeze')
@endif
{{-- Unsolved Modal --}}
@if ($request->admin_id == auth()->id() && $request->status === 'pending')
@endif
|