@extends('backend.layouts.grid') @section('title', __('Push Notification')) @section('link', route('admin.pushNotification.create')) @section('content')
@if(count($notificationList) > 0) @php $count=0; @endphp @foreach ($notificationList as $notification) @php $count++; @endphp @if(!empty($notification->image)) @else @endif @endforeach
{{ __('#') }} {{ __('Campus') }} {{ __('Shift') }} {{ __('Class') }} {{ __('Section') }} {{ __('Student') }} {{ __('Title') }} {{ __('Image') }} {{ __('Action') }}
{{ $count }} {{ $notification->campus }} {{ $notification->shift }} {{ $notification->class_id }} @if($notification->section == 0) {{ 'All' }} @else {{ studentSection($notification->section) }} @endif {{ ($notification->student_id == 0)?"All":$notification->student_id }} {{ $notification->title }}
@else @include('backend.includes.empty') @endif
@endsection