@extends('layouts.app') @section('title', 'My support tickets') @push('stylesheets') @include('partials.index-datatable-styles') @include('partials.filter-card-styles') @endpush @section('contents')
@php $supportTicketsHeaderAction = can('support_tickets', 'submit') ? 'New request' : null; $supportTicketsHeaderToolbar = view('support.partials.ticket-flow-video-tutorial', ['mode' => 'button'])->render(); @endphp
@forelse ($tickets as $ticket) {{ $ticket->displayLabel() }} {{ \Illuminate\Support\Str::limit(strip_tags($ticket->message), 90) }} @if ($ticket->isOpen()) Open @else Closed @endif {{ $ticket->created_at->format('d M Y, H:i') }} Details @if ($ticket->isOpen() && can('support_tickets', 'chat')) Chat @endif @empty @endforelse
@include('support.partials.ticket-flow-video-tutorial', ['mode' => 'modal']) @endsection @push('scripts') @include('partials.index-datatable-scripts') @endpush