@extends('backend.master') @section('title') {{ @$data['title'] }} @endsection @section('content')
{{-- bradecrumb Area S t a r t --}} {{-- bradecrumb Area E n d --}}

{{ $data['title'] }}

@if (hasPermission('homework_create')) {{ ___('common.add') }} @endif
@if (hasPermission('homework_update') || hasPermission('homework_delete')) @endif @forelse ($data['notice-boards'] ?? [] as $key => $row) @if (hasPermission('homework_update') || hasPermission('homework_delete')) @endif @empty @endforelse
{{ ___('common.sr_no') }} {{ ___('common.title') }} {{ ___('common.Department') }} {{ ___('common.Accessbility') }} {{ ___('common.Visibility') }} {{ ___('common.date') }} {{ ___('common.publish_date') }} {{ ___('account.description') }} {{ ___('common.attachment') }} {{ ___('common.status') }}{{ ___('common.action') }}
{{ ++$key }} {{ $row->title }} {{ $row->id }} {{ @$row->department->name }} @if ($row->student) {{ $row->student->full_name }} - {{ $row->class->name }} ({{ $row->section->name }}) @elseif($row->class && $row->section) {{ @$row->class->name }} ({{ @$row->section->name }}) - {{ ___('common.All Students') }} @elseif($row->class) {{ $row->class->name }} - {{ ___('common.All Students') }} @endif {{ $row->visible_role_names ? $row->visible_role_names : ___('common.To All') }} {{ date('d-m-Y', strtotime(@$row->date)) }} {{ date('d-m-Y H:i a', strtotime(@$row->publish_date)) }} {!! \Illuminate\Support\Str::limit(strip_tags(@$row->description), 40) !!} @if ($row->status == App\Enums\Status::ACTIVE) {{ ___('common.active') }} @else {{ ___('common.inactive') }} @endif

{{ ___('common.no_data_available') }}

{{ ___('common.please_add_new_entity_regarding_this_table') }}

@endsection @push('script') @include('backend.partials.delete-ajax') @endpush