@extends('layouts.staff_dashboard') @section('title', 'Allocate POD Questions') @section('content')
{{-- Success Message --}} @if(!empty($successMessage))
{{ $successMessage }}
@endif @if(session('error'))
{{ session('error') }}
@endif

POD Questions Allocation

{{ $courseName ?? 'N/A' }} {{ $moduleName ?? 'N/A' }} {{ $topicName ?? 'N/A' }} {{ $allocatedate ?? 'Select Date' }} @if($allocatedate && $isPastDate) Past Date (View Only) @endif
@csrf
@csrf
@if($allocatedate) @include('staff.pod.partials.allocate_pod_rows', [ 'questions' => $questions, 'serialStart' => 1, 'allocatedQuestionIds' => $allocatedQuestionIds ?? [], 'isPastDate' => $isPastDate ?? false ]) @else

Select a Date First

Please select an allocation date above to view and allocate questions.

@endif
@if($allocatedate && $questions->count() > 0)
@include('staff.pagination.pod', ['questions' => $questions])
@endif
@endsection