@extends('layouts.app') @push('styles') @endpush @php $editTicketPermission = user()->permission('edit_tickets'); $deleteTicketPermission = user()->permission('delete_tickets'); $manageTypePermission = user()->permission('manage_ticket_type'); $manageAgentPermission = user()->permission('manage_ticket_agent'); $manageChannelPermission = user()->permission('manage_ticket_channel'); @endphp @section('filter-section')
{{ $ticket->subject }}
@lang('modules.tickets.requestedOn') {{ $ticket->created_at->timezone(global_setting()->timezone)->format(global_setting()->date_format . ' ' . global_setting()->time_format) }}
@if ($ticket->status == 'open') @php $statusColor = 'red'; @endphp @elseif($ticket->status == 'pending') @php $statusColor = 'yellow'; @endphp @elseif($ticket->status == 'resolved') @php $statusColor = 'dark-green'; @endphp @elseif($ticket->status == 'closed') @php $statusColor = 'blue'; @endphp @endif