@extends('layouts.staff_dashboard') @section('title', 'Allocate Quiz Sets') @section('content') @php use Carbon\Carbon; $today = Carbon::today()->format('Y-m-d'); $currentQuizName = null; // Check if today's date matches the allocated date if ($allocatedate === $today && !empty($allocatedQuizSets)) { $currentQuizName = reset($allocatedQuizSets); // Get first quiz name } @endphp