@extends('layouts.staff_dashboard') @section('title', 'Doubt Clearance') @section('content') @php $statusFilter = $statusFilter ?? 'pending'; $pendingCount = $pendingCount ?? $pendingDoubts->total(); $answeredCount = $answeredCount ?? 0; $totalCount = $totalCount ?? $pendingDoubts->total(); @endphp
@if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif @if($errors->any())
Please fix the following errors:
    @foreach($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
Student Support

Doubt Clearance

Review student questions assigned to you and provide clear, helpful answers.

Pending: {{ $pendingCount }} Answered: {{ $answeredCount }} Total: {{ $totalCount }}
Back to Dashboard
@include('staff.doubt.partials.doubts_grid', ['doubts' => $pendingDoubts, 'statusFilter' => $statusFilter])
@if($pendingDoubts->hasPages()) {{ $pendingDoubts->links('staff.pagination.doubt') }} @endif
@endsection