@forelse ($tickets as $ticket)

{{ __('Ticket') }} #{{ $ticket->ticket_no }}

@if ($ticket->status == TICKET_STATUS_OPEN)

{{ __('Open') }}

@elseif ($ticket->status == TICKET_STATUS_INPROGRESS)

{{ __('Inprogress') }}

@elseif ($ticket->status == TICKET_STATUS_REOPEN)

{{ __('Reopen') }}

@elseif ($ticket->status == TICKET_STATUS_RESOLVED)

{{ __('Resolved') }}

@else

{{ __('Close') }}

@endif
{{ __('Title') }}

{{ Str::limit($ticket->title, 30, '...') }}

{{ __('Details') }}

{{ Str::limit($ticket->details, 60, '...') }}

{{ __('Attachments') }}
@if ($ticket->status == TICKET_STATUS_OPEN) {{ __('Details') }} @elseif ($ticket->status == TICKET_STATUS_INPROGRESS) {{ __('Details') }} @elseif ($ticket->status == TICKET_STATUS_RESOLVED) {{ __('Details') }} @else {{ __('Details') }} @endif
@empty

{{ __('Empty Ticket') }}

@endforelse