@extends('layouts.teacher') {{ config('app.name', 'Laravel') }} | Teacher | Announcements @section('main-content')
@if(Session::has('success')) @endif @if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif

Records / Notifications

Notification List
@if(count($announcements) != 0) @foreach($announcements as $key => $announcement) @endforeach @else @endif
# Class Title Content Created On Actions
{{ $key+1 }} {{$announcement->class_name}} {{ $announcement->title }} {{substr($announcement->content,0,50)}}{{strlen($announcement->content)>50?"...":""}} {{ dateformatter($announcement->created_at) }}
View {{-- Delete --}} {{--
@csrf @method('DELETE')
--}}
Notifications not found
@endsection