@extends('backend.layout') {{-- this style will be applied when the direction of language is right-to-left --}} @includeIf('backend.partials.rtl-style') @section('content') @if ($themeInfo->theme_version == 1)
{{ __('Testimonial Section') }}
@includeIf('backend.partials.languages')
@csrf
@error('title')

{{ $message }}

@enderror
@error('text')

{{ $message }}

@enderror

@if (!empty($data->image)) image @else ... @endif
{{ __('Choose Image') }}
@error('image')

{{ $message }}

@enderror
@error('review_text')

{{ $message }}

@enderror
@endif
{{ __('Testimonials') }}
@includeIf('backend.partials.languages')
{{ __('Add') }}
@if (count($testimonials) == 0)

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

@else
@foreach ($testimonials as $testimonial) @endforeach
{{ __('Image') }} {{ __('Name') }} {{ __('Occupation') }} {{ __('Serial Number') }} {{ __('Actions') }}
client {{ $testimonial->name }} {{ $testimonial->occupation }} {{ $testimonial->serial_number }}
@csrf
@endif
{{-- create modal --}} @include('backend.home-page.testimonial-section.create') {{-- edit modal --}} @include('backend.home-page.testimonial-section.edit') @endsection