@if (in_array('tickets', $modules) && in_array('type_wise_ticket', $activeWidgets))
@endif
@if (in_array('tickets', $modules) && in_array('status_wise_ticket', $activeWidgets))
@endif
@if (in_array('tickets', $modules) && in_array('channel_wise_ticket', $activeWidgets))
@endif
@if (in_array('tickets', $modules) && in_array('new_tickets', $activeWidgets))
@forelse ($newTickets as $item)
|
{{ ucfirst($item->subject) }}
{{ $item->requester->name }}
|
{{ $item->updated_at->format(global_setting()->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