@extends('layouts.admin.app') @section('content') INBOX Home Inbox @csrf Search @if($search != 0) @if($search != 0) Searched By: {{$search}} Clear @endif @endif @csrf @foreach (['danger', 'warning', 'success', 'info'] as $msg) @if(Session::has('alert-' . $msg)) {{ Session::get('alert-' . $msg) }} @endif @endforeach Inbox Mark as Unread Move To Trash # Site Contact type Name Ticket Id Date @php $i=0; @endphp @foreach($paginatedData as $key => $data) @if($data->spam == 1) @continue @endif @php $i++; @endphp @php $conversionCount = App\Http\pagginationHelper::conversionCount(strtolower($data->sitename), $data->id); @endphp {{ $data->sitename }} {{$data->contact_type}} {{ $data->name }} @if(count($conversionCount) > 1) {{count($conversionCount)}} @endif {{ $data->email }}-{{ $data->mobile }} {{ $data->ticket_id }} - @if(strlen($data->subject) > 75) {!! substr($data->subject, 0, 74) !!}... @else {!! $data->subject !!} @endif {{ date('M j', strtotime($data->updated_at)) }} @if($data->view_status == 1) @endif @endforeach @if ($paginatedData->hasPages()) @if ($paginatedData->onFirstPage()) @else Previous @endif @foreach(range(1, $paginatedData->lastPage()) as $i) @if($i >= $paginatedData->currentPage() - 2 && $i <= $paginatedData->currentPage() + 2) @if ($i == $paginatedData->currentPage()) {{ $i }} @else {{ $i }} @endif @endif @endforeach @if ($paginatedData->hasMorePages()) Next @else @endif @endif @endsection
Searched By: {{$search}} Clear