@extends('user.layout') @php $userDefaultLang = \App\Models\User\Language::where([['user_id', \Illuminate\Support\Facades\Auth::id()], ['is_default', 1]])->first(); $userLanguages = \App\Models\User\Language::where('user_id', \Illuminate\Support\Facades\Auth::id())->get(); Config::set('app.timezone', $userBs->timezoneinfo->timezone); @endphp @section('content')
{{ __('Testimonials') }}
@if (!is_null($userDefaultLang)) @if (!empty($userLanguages)) @endif @endif
{{ __('Add Testimonial') }}
@if (is_null($userDefaultLang))

{{ __('NO LANGUAGE FOUND') }}

@else @if (count($testimonials) == 0)

{{ __('NO TESTIMONIAL FOUND') }}

@else
@if ($userBs->theme !== 'home_nine') @endif @foreach ($testimonials as $key => $testimonial) @if ($userBs->theme !== 'home_nine') @endif @endforeach
{{ __('Image') }}{{ __('Name') }} {{ __('Publish Date') }} {{ __('Serial Number') }} {{ __('Actions') }}
{{ strlen($testimonial->name) > 30 ? mb_substr($testimonial->name, 0, 30, 'UTF-8') . '...' : $testimonial->name }} @php $date = \Carbon\Carbon::parse($testimonial->created_at); @endphp {{ $date->translatedFormat('jS F, Y') }} {{ $testimonial->serial_number }} {{ __('Edit') }}
@csrf
@endif @endif
@endsection