@extends('admin.layout') {{-- this style will be applied when the direction of language is right-to-left --}} @includeIf('admin.partials.rtl-style') @section('content') @php $vendor_id = App\Models\Listing\Listing::where('id', $listing_id)->pluck('vendor_id')->first(); if ($vendor_id != 0) { $dowgraded = App\Http\Helpers\VendorPermissionHelper::packagesDowngraded($vendor_id); $listingCanAdd = packageTotalListing($vendor_id) - vendorTotalListing($vendor_id); } @endphp
{{ __('FAQs') }}
@includeIf('admin.partials.languages')
@if ($vendor_id != 0)
@endif @if ($slug) @endif
@if (count($faqs) == 0)

{{ __('NO FAQ FOUND') . '!' }}

@else
@foreach ($faqs as $faq) @endforeach
{{ __('Question') }} {{ __('Serial Number') }} {{ __('Actions') }}
{{ strlen($faq->question) > 50 ? mb_substr($faq->question, 0, 50, 'UTF-8') . '...' : $faq->question }} {{ $faq->serial_number }}
@csrf
@endif
{{-- create modal --}} @include('admin.listing.faq.create') {{-- edit modal --}} @include('admin.listing.faq.edit') {{-- Check Limit modal --}} @includeIf('admin.listing.check-limit') @endsection