@extends('parents.parent_dashboard') @section('customcss') @endsection @section('admin')
{{-- Breadcrumb --}}
{{-- Main Notice Card --}}
নোটিশ বোর্ড (Notice Board)
মোট নোটিশ: {{ $notices->total() }}
{{-- 1. Desktop & Tablet View: Table --}}
@forelse($notices as $key => $notice) @empty @endforelse
ক্রমিক শিরোনাম (Title) বিবরণ (Description) সংযুক্তি প্রকাশের তারিখ অ্যাকশন
{{ $notices->firstItem() + $key }} {{ $notice->title }} {{ \Illuminate\Support\Str::limit( strip_tags(html_entity_decode($notice->description)), 80 ) }} @if($notice->attachment) ডাউনলোড @else সংযুক্তি নেই @endif {{ $notice->created_at->format('d M Y') }}
কোনো নোটিশ পাওয়া যায়নি
{{-- 2. Mobile View: Stacked Cards (No horizontal scroll) --}}
@forelse($notices as $key => $notice)
#{{ $notices->firstItem() + $key }} {{ $notice->created_at->format('d M Y') }}
{{ $notice->title }}
{{ \Illuminate\Support\Str::limit( strip_tags(html_entity_decode($notice->description)), 90 ) }}
@if($notice->attachment) ফাইল @endif
@empty
কোনো নোটিশ পাওয়া যায়নি
@endforelse
{{-- Pagination --}}
{{ $notices->links() }}
{{-- Notice Modals --}} @foreach($notices as $notice) @endforeach
@endsection @section('customjs') @endsection