@extends('school.layouts.app') @section('content')
Create, review and approve homework broadcasts for your school.
| Status | Homework | Subject | Sender | Date | Actions |
|---|---|---|---|---|---|
| {{ $hw->status }} |
{{ $hw->title ?: 'Untitled Broadcast' }} @if(($hw->unread_replies ?? 0) > 0) NEW @endif {{ $hw->message }} @if($hw->attachment) @endif |
{{ $hw->subject_name ?? 'General' }} |
{{ $hw->staff_name }} {{ $hw->designation }} |
{{ \Carbon\Carbon::parse($hw->created_at)->format('d M, Y') }} |
{{-- ✅ UNREAD COUNT BADGE --}}
@if(($hw->unread_replies ?? 0) > 0)
{{ $hw->unread_replies }}
@endif
@if($hw->status == 'pending')
@endif
|
|
No broadcasts found. |
|||||