@extends('layouts.frontendDashboard.master') @section('title', 'Contact Us') @push('style') @endpush @section("body-start")
@endsection @section("content")
@if(!empty($contactUs)) @foreach($contactUs as $key => $item) @endforeach @endif
# {{__('Name') }} {{__('Subject') }} {{__('Country') }} {{__('Category Name') }} {{__('Message') }} {{__('Type') }} {{__('Attachments') }} {{__('Date') }} {{__('Action') }}
{{ $loop->iteration }} {{ !empty($item->name) ? $item->name : '' }} {{ !empty($item->subject) ? $item->subject : '' }} {{ !empty($item->country ) ? $item->country : '' }} {{ !empty($item->email ) ? $item->email : '' }} {{ !empty($item->category_name ) ? $item->category_name : '' }} {!!\Illuminate\Support\Str::limit($item->message, 50)!!} @if(isset($item->type)) @if($item->type == 1) Account Request @elseif($item->type == 2) About Us @else Contact Us @endif @endif @if(!empty($item->file )) @endif {{ !empty($item->created_at) ? date("d-m-Y", strtotime($item->created_at)) : '' }}
@endsection