@extends('backend.layouts.grid') @section('title', __('Notice Board')) @section('link', route('admin.noticeBoard.create')) @section('content')
| {{ __('#') }} | {{ __('Campus') }} | {{ __('Shift') }} | {{ __('Class') }} | {{ __('Section') }} | {{ __('Student') }} | {{ __('Title') }} | {{ __('Content') }} | {{ __('Notice Date') }} | {{ __('Created Date') }} | {{ __('Action') }} | ||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $noticeBoard->id }} | {{ str_replace(',',', ',$noticeBoard->campus) }} | {{ $noticeBoard->shift }} | {{ shortertext($noticeBoard->class_id, 50) }} | @if($noticeBoard->section == 0) {{ 'All' }} @else {{ studentSection($noticeBoard->section) }} @endif | {{ ($noticeBoard->student_id == 0)?"All":$noticeBoard->student_id }} | {{ shortertext($noticeBoard->title, 30) }} | @if($noticeBoard->notice_type == 1)@else | {!! shortertext($noticeBoard->content, 70) !!} | @endif{{ date('d M, Y', strtotime($noticeBoard->notice_date)) }} | {{ vDate($noticeBoard->created_at) }} |
|