@if (in_array('tickets', user_modules()) && in_array('type_wise_ticket', $activeWidgets))
@endif
@if (in_array('tickets', user_modules()) && in_array('status_wise_ticket', $activeWidgets))
@endif
@if (in_array('tickets', user_modules()) && in_array('channel_wise_ticket', $activeWidgets))
@if(isset($ticketChannelChart['colors']) && $ticketChannelChart['labels'])
@endif
@endif
@if (in_array('tickets', user_modules()) && in_array('new_tickets', $activeWidgets))
@forelse ($newTickets as $item)
|
{{ $item->subject }}
{{ $item->requester->name }}
|
{{ $item->updated_at->translatedFormat(company()->date_format) }} |
@php
if ($item->priority == 'low') {
$priority = 'dark-green';
}
elseif ($item->priority == 'medium') {
$priority = 'blue';
}
elseif ($item->priority == 'high') {
$priority = 'yellow';
}
elseif ($item->priority == 'urgent') {
$priority = 'red';
}
@endphp
|
@empty
|
@endforelse
@endif