@extends('layouts.master') @section('content') @push('header_styles') @endpush
@component('components.breadcrumb') @slot('title') @lang('notice.addtitle') @endslot @slot('breadcrumb1') @lang('common.dashboard') @endslot @slot('breadcrumb1_link') {{ route('dashboard') }} @endslot @if (\App\Traits\RolePermissionTrait::checkRoleHasPermission('role', 'create')) @slot('action_button1') @lang('common.add_new') @endslot @slot('action_button1_link') {{ route('notices.create') }} @endslot @endif @slot('action_button1_class') btn-primary @endslot @endcomponent

@lang('notice.managetitle')


@php $i=1; @endphp @if(isset($data)) @foreach($data as $d) @endforeach @endif
# @lang('notice.type') @lang('notice.title') @lang('notice.image') @lang('actions.action')
{{ $i++ }} @if($d->type == 1) @lang('notice.notice') @endif @if($d->type == 2) @lang('notice.magazine') @endif @if($lang == 'en'){{ $d->title ?: $d->title_bn}} @else {{$d->title_bn ?: $d->title}}@endif @lang('common.download')
id) }}">@lang('common.edit')
@csrf @method('DELETE')
@push('footer_scripts') @endpush @endsection