@extends('layouts.master') @section('content') @push('header_styles') @endpush
@component('components.breadcrumb') @slot('title') @lang('suggestion.viewtitle') @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('suggestion.create') }} @endslot @endif @slot('action_button1_class') btn-primary @endslot @endcomponent

@lang('suggestion.managetitle')


@php $i=1; @endphp @if(isset($data)) @foreach($data as $d) @endforeach @endif
# @lang('suggestion.date') @lang('suggestion.classname') @lang('suggestion.title') @lang('suggestion.image') @lang('common.action')
{{ $i++ }} {{ $d->date }} @if($lang == 'en'){{ $d->class_name ?: $d->class_name_bn}}@else {{$d->class_name_bn ?: $d->class_name}}@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