@if(in_array('tickets',$modules) && in_array('type_wise_ticket',$activeWidgets))
@if(!empty(json_decode($typeWiseTicket)))
@else
@lang('messages.noTicketFound')
@endif
@endif
@if(in_array('tickets',$modules) && in_array('status_wise_ticket',$activeWidgets))
@if(!empty(json_decode($statusWiseTicket)))
@else
@lang('messages.noTicketFound')
@endif
@endif
@if(in_array('tickets',$modules) && in_array('channel_wise_ticket',$activeWidgets))
@if(!empty(json_decode($channelWiseTicket)))
@else
@lang('messages.noTicketFound')
@endif
@endif
@if(in_array('tickets',$modules) && in_array('new_tickets',$activeWidgets))
@lang('modules.dashboard.newTickets')
@forelse($newTickets as $key=>$newTicket)
-
{{ ($key+1) }}. {{ ucfirst($newTicket->subject) }}
{{ ucwords($newTicket->created_at->diffForHumans()) }}
@empty
-
@lang("messages.noTicketFound")
@endforelse
@endif