@extends('adminlte::page') @section('title', 'Contact us') @section('content_header')

Contact us

@stop @section('content')
@csrf @php $pay_filter = ""; if(isset($_GET['category'])){ $pay_filter = $_GET['category']; } @endphp
N/A Verified Flag With Name With Message @foreach ($store as $contact1) @php $contact = $contact1->first(); //echo "
"; print_r($contact); exit; @endphp
												
@php $url = $contact->current_url; $cleanPath = $url; $baseUrls = [ 'https://visament.com', 'http://172.105.63.118/visament_working_dir/public', ]; foreach ($baseUrls as $base) { if (Str::startsWith($url, $base)) { $cleanPath = Str::replaceFirst($base, '', $url); break; } } @endphp {{----}} @php $no++; $k++; @endphp @endforeach
Serial No Reason Name Email Mobile number Message Added at User time Source URL Total Requests Verify Flag Send Mail Action
{{ $no }} @if(isset($contact->reason->name) && !empty($contact->reason->name)) {{ $contact->reason->name }} @else N/A @endif {{$contact->first_name }} {{$contact->last_name }} {{$contact->email }} +{{$contact->country_code }} {{$contact->mobile_no }} @php $message = $contact->message ?? ''; $words = explode(' ', $message); $shortMessage = implode(' ', array_slice($words, 0, 10)); @endphp {{ $shortMessage }} @if(count($words) > 10)... Read More @endif {{ \Carbon\Carbon::parse($contact->created_at)->format('d/m/Y h:i A') }} @if ($contact->user_time) @php try { $dt = \Carbon\Carbon::createFromFormat('n/j/Y, g:i:s A', $contact->user_time); } catch (\Exception $e) { $dt = \Carbon\Carbon::parse($contact->user_time); } @endphp {{ $dt->format('h:i A') }} @endif {{ $cleanPath }} appointments) > 1) style="width:150px;word-break:break-all;font-size:14px;cursor:pointer;" onclick="show_bw({{$k}},'{{$contact->email}}');" @else style="width:150px;word-break:break-all;font-size:14px;" @endif >@if(count($contact->appointments) > 1) {{ count($contact->appointments) }} @else {{ count($contact->appointments) }} @endif is_verified == 1 ? 'checked' : '' }}> is_verified == 2 ? 'checked' : '' }}>
Delete
@section('css') @stop @section('js') @stop @stop