@extends('organization::panel.organization.layouts.master') @section('title') {{ @$data['title'] }} @endsection @section('content')
{{-- breadecrumb Area S t a r t --}} @include('backend.ui-components.breadcrumb', [ 'title' => @$data['title'], 'routes' => [ route('dashboard') => ___('common.Dashboard'), '#' => @$data['title'], ], 'buttons' => 1, ]) {{-- breadecrumb Area E n d --}}
@include('backend.ui-components.per-page')
@if (auth()->user()->role_id == \App\Enums\Role::ADMIN) {{ table_header('', [ 'ID', 'Organization', 'name', 'Email', 'Phone', 'Status', 'course', 'Created_at' ] ) }} @else {{ table_header('', [ 'ID', 'name', 'Email', 'Phone', 'Status', 'course', 'Created_at' ] ) }} @endif @forelse ($data['inquiries'] as $key => $slider) @if (auth()->user()->role_id == \App\Enums\Role::ADMIN) @endif @empty @include('backend.ui-components.empty_table', [ 'colspan' => '8', 'message' => ___( 'message.Please add a new entity or manage the data table to see the content here'), ]) @endforelse
{{ @$slider->id }}{{ @$slider->user->name }}{{ Str::limit(@$slider->name, 20) }} {{ Str::limit(@$slider->email, 20) }} {{ Str::limit(@$slider->phone, 20) }} {{ statusBackend(@$slider->status->class, $slider->status->name) }} {{ @$slider->course->title }} {{ showDate(@$slider->created_at) }}
@include('backend.ui-components.pagination', ['data' => $data['inquiries']])
@endsection @push('script') @include('backend.partials.delete-ajax') @endpush