@extends('layouts.usermaster') @section('styles') @endsection @section('content')

{{lang('FAQ’s', 'menu')}}

@foreach($faqcats as $faqcat) @php $faq = $faqcat->faqdetails()->where('status', '1')->paginate('5'); @endphp @if($faq->isNotEmpty())

{{$faqcat->faqcategoryname}}

@if($faq > '5')
{{lang('View All')}}
@endif
@foreach ($faq as $faqs)

@if($faqs->privatemode == 1) @if(Auth::guard('customer')->check() && Auth::guard('customer')->user()) {!!$faqs->answer!!} @else

{{lang('You must be logged in and have valid account to access this content.')}}

@endif @else {!!$faqs->answer!!} @endif
@endforeach
@endif @endforeach @if(App\Models\FAQ::get()->all() == null)

{{lang('There are no new FAQ’s')}}

{{lang('This faq section will be updated shortly.')}}

@endif @if($faqcats->all() == null)

{{lang('There are no new FAQ’s')}}

{{lang('This faq section will be updated shortly.')}}

@endif
@endsection @section('scripts') @endsection