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

@lang('class_wise_student.managetitle')


@php $i=1; @endphp @if(isset($data)) @foreach($data as $d) @endforeach @endif
# @lang('class_wise_student.class') @lang('class_wise_student.image') @lang('common.action')
{{ $i++ }} @if($lang == 'en'){{ $d->class_name ?: $d->class_name_bn}}@else {{$d->class_name_bn ?: $d->class_name}}@endif @php $path = public_path().'/'.$d->image; @endphp @if(file_exists($path)) @lang('common.download') @endif
id) }}">@lang('common.edit')
@csrf @method('DELETE')
@push('footer_scripts') @endpush @endsection