@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 --}}
@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)
| {{ @$slider->id }} |
@if (auth()->user()->role_id == \App\Enums\Role::ADMIN)
{{ @$slider->user->name }} |
@endif
{{ 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) }} |
@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
@include('backend.ui-components.pagination', ['data' => $data['inquiries']])
@endsection
@push('script')
@include('backend.partials.delete-ajax')
@endpush