@extends('backend.layouts.grid') @section('title', __('Popup Notice')) @section('link', route('admin.popup-notice.create')) @section('content')
@if(count($noticeList) > 0) @php $count=0; @endphp @foreach ($noticeList as $notice) @php $count++; @endphp @endforeach
{{ __('#') }} {{ __('Campus') }} {{ __('Shift') }} {{ __('Class') }} {{ __('Section') }} {{ __('Student') }} {{ __('Notice') }} {{ __('Action') }}
{{ $count }} {{ $notice->campus }} {{ $notice->shift }} {{ ($notice->class_id == 0)?"All":$notice->class_id }} @if($notice->section == 0) {{ "All" }} @elseif($notice->section == 1) {{ "A1" }} @elseif($notice->section == 2) {{ "A2" }} @elseif($notice->section == 3) {{ "A3" }} @elseif($notice->section == 4) {{ "A4" }} @elseif($notice->section == 5) {{ "A5" }} @elseif($notice->section == 6) {{ "A6" }} @endif {{ ($notice->student_id == 0)?"All":$notice->student_id }} {{ $notice->image }}
@else @include('backend.includes.empty') @endif
@endsection