@extends('admin.layouts.app')
@php
$testimonial_data = @$testimonial_data;
$allow_image_ext = collect(config('common.allow_image_ext'))->implode(', ');
$upload_image_ext = collect(config('common.allow_image_ext'))->implode('|');
$upload_img_size = config("common.upload_img_size");
$allowed_img_size = config("common.upload_img_size")*1024;
@endphp
@section('content')
Testimonials
List of Testimonial
@if(check_route_access('testimonials.add.form'))
@endif
@include('admin.includes.status')
Title |
Client Name |
Client Country |
Status |
Action |
@if (!empty($testimonial_data))
@foreach($testimonial_data as $testimonial)
@php
$status = ($testimonial->status == 1) ? "Active" : "De-Active";
$status_class = ($testimonial->status == 1) ? "success" : "danger";
$imgurl = empty(get_url('testimonial/'.$testimonial->id.'/crop/'.$testimonial->image))
? url("assets/images/noimage.png")
: get_url('testimonial/'.$testimonial->id.'/crop/'.$testimonial->image);
@endphp
{{ $testimonial->title }} |
{{ $testimonial->client_name }} |
{{ get_country_name($testimonial->client_country) }} |
{{ $status }}
|
@if(check_route_access('testimonials.edit.form'))
@endif
@if(check_route_access('testimonials.delete'))
@endif
|
@endforeach
@endif
@endsection
@section('scripts')
@endsection