@if (in_array('tickets', user_modules()) && in_array('total_tickets', $activeWidgets))
@endif @if (in_array('tickets', user_modules()) && in_array('total_unassigned_ticket', $activeWidgets))
@endif
@if (in_array('tickets', user_modules()) && in_array('type_wise_ticket', $activeWidgets))
@if (array_sum($ticketTypeChart['values']) > 0) @endif
@endif @if (in_array('tickets', user_modules()) && in_array('status_wise_ticket', $activeWidgets))
@if (array_sum($ticketStatusChart['values']) > 0) @endif
@endif @if (in_array('tickets', user_modules()) && in_array('channel_wise_ticket', $activeWidgets))
@if(isset($ticketChannelChart['colors']) && $ticketChannelChart['labels']) @if (array_sum($ticketChannelChart['values']) > 0) @endif @endif
@endif @if (in_array('tickets', user_modules()) && in_array('new_tickets', $activeWidgets))
@forelse ($newTickets as $item)
{{ $item->requester->name }}
{{ $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