@extends('admin.layouts.master') @section('title') {{ translate('FAQ') }} @endsection @section('content')
{{ translate('FAQ') }}
{{ translate('FAQ List') }}
{{-- @if($permissionForFAQsCategory !== null && $permissionForFAQsCategory->can_show == '1') --}} {{ translate('Manage Category') }} {{-- @endif --}} @if($permissionForFAQs !== null && $permissionForFAQs->can_create == '1') {{ translate('Add FAQ') }} @endif
@php $a=1; @endphp @foreach ($faqs as $faq) @php $a++; @endphp @endforeach
# {{ translate('Title') }} {{ translate('Category') }} {{ translate('Description') }} {{ translate('Option') }}
{{$faq->title}} {{$faq->category->name}} @if(!empty($faq->description)) {{ Str::limit($faq->description, 40) }} @else - @endif @if($permissionForFAQs !== null && $permissionForFAQs->can_edit == '1') @endif @if($permissionForFAQs !== null && $permissionForFAQs->can_delete == '1') @endif

{!! sprintf(translate('Showing %d of %d Results'), $faqs->count(), $faqs->total()) !!}

{{--

Showing {{ $faqs->count() }} of {{ $faqs->total() }} Results

--}}
    @foreach($faqs->links()->elements[0] as $page => $link)
  • {{ $page }}
  • @endforeach
@endsection @section('scripts') {{-- --}} @endsection