@php if (!$testimonial || !is_object($testimonial)) { return; } $profileImagePath = 'storage/lms/testimonials/' . $testimonial->profile_image; $defaultImage = 'lms/frontend/assets/images/placeholder/profile.jpg'; $imageSrc = $testimonial->profile_image && fileExists('lms/testimonials', $testimonial->profile_image) ? asset($profileImagePath) : asset($defaultImage); $translations = parse_translation($testimonial); @endphp
Testimonial profile
{!! show_rating($translations['rating'] ?? $testimonial->rating ?? 0) !!}
{!! clean($translations['comments'] ?? $testimonial->comments ?? '') !!}
{{ $translations['name'] ?? $testimonial->name ?? '' }}

{{ $translations['designation'] ?? $testimonial->designation ?? '' }}

Quote Icon