@extends('backend.layouts.app') @section('title', 'Feedback') @section('content')
Use the date filter (From/To) to narrow down export data.
| # | Ticket Number | Feedback Type | Feedback Category | Feedback | Send At | Send By | Status | Action |
|---|---|---|---|---|---|---|---|---|
| {{ ($feedbacks->currentPage() - 1) * $feedbacks->perPage() + $loop->iteration }} | {{ $fb->ticket_no }} | {{ $types[$fb->type] ?? $fb->type ?? '-' }} | {{ $categories[$fb->cat] ?? $fb->cat ?? '-' }} | {{ \Illuminate\Support\Str::limit($fb->subject, 40) }} {{ \Illuminate\Support\Str::limit(strip_tags($fb->feedback), 60) }} |
{{ $fb->created_at ? $fb->created_at->format('h:i A') : '-' }}
{{ $fb->created_at ? $fb->created_at->format('d-m-Y') : '-' }}
|
{{ $fb->name ?? '-' }}
@if($fb->email)
{{ $fb->email }}
@endif
|
@php $statusClass = match ($fb->status) { 'PENDING' => 'bg-warning-50 text-warning-600 dark:bg-warning-500/10 dark:text-warning-400', 'READ' => 'bg-error-50 text-error-600 dark:bg-error-500/10 dark:text-error-400', 'REPLIED' => 'bg-success-50 text-success-600 dark:bg-success-500/10 dark:text-success-400', 'CLOSED' => 'bg-gray-100 text-gray-600 dark:bg-gray-800 dark:text-gray-400', default => 'bg-gray-100 text-gray-600 dark:bg-gray-800 dark:text-gray-400', }; @endphp {{ $statuses[$fb->status] ?? $fb->status }} | |
No feedback foundFeedback from users will appear here. |
||||||||