@extends('layouts/app') @section('content') @if(isset($get_testimonial)) @php $form_action = "testimonial.update" @endphp @else @php $form_action = "testimonial.create" @endphp @endif

Testimonial

Add Testimonial
@csrf
@error('name')
{{ $message }}
@enderror
@error('rate_count')
{{ $message }}
@enderror
@error('designation')
{{ $message }}
@enderror
@error('title')
{{ $message }}
@enderror
@error('image')
{{ $message }}
@enderror
@if(isset($get_testimonial->image)) @endif
@error('status')
{{ $message }}
@enderror
@error('description')
{{ $message }}
@enderror
Testimonial List
@if($alltestimonial) @foreach ($alltestimonial as $testimonial) @endforeach @endif
Image Name Title Created Date Status Action
{{ $loop->iteration }} {{ $testimonial->name }} {{ $testimonial->title }} {{ \Carbon\Carbon::parse($testimonial->created_at)->format('d F Y h:i A') }}
status == 1) ? 'checked' : '' }} onchange="ChangeStatus('testimonals',{{ $testimonial->id }});" >
@csrf @method('DELETE')
@endsection