@php $hasTestimonialContent = isset($testimonial_title) && ( !empty($testimonial_title->title) || !empty($testimonial_title->subtitle) ); @endphp @if(($testimonials && $testimonials->isNotEmpty()) || $hasTestimonialContent)
@if(!empty($testimonial_title->title))

{{ $testimonial_title->title }}

@endif @if(!empty($testimonial_title->subtitle))

{{ $testimonial_title->subtitle }}

Apply Now @endif
@if($testimonials && $testimonials->isNotEmpty())
@foreach ($testimonials as $testimonial)

{{ $testimonial->getTranslation('feedback', app()->getLocale()) }}

{{ $testimonial->getTranslation('name','ar') }}

{{ $testimonial->designation }}

@endforeach
@endif
@endif