| {{lang('Ticket ID')}} | : | #{{ $ticket->ticket_id }} |
| {{lang('Purchase Code')}} : | : | @if(!empty(Auth::user()->getRoleNames()[0]) && Auth::user()->getRoleNames()[0] == 'superadmin') {{decrypt($ticket->purchasecode)}} @else @if(setting('purchasecode_on') == 'on') {{decrypt($ticket->purchasecode)}} @else {{ Str::padLeft(Str::substr(decrypt($ticket->purchasecode), -4), Str::length(decrypt($ticket->purchasecode)), Str::padLeft('*', 1)) }} @endif @endif @if($ticket->purchasecodesupport == 'Supported') {{lang('Support Active')}} @elseif($ticket->purchasecodesupport == 'Expired') {{lang('Support Expired')}} @else @endif |
| {{lang('Open Date')}} | : | {{ \Carbon\Carbon::parse($ticket->created_at)->timezone(timeZoneData())->format(setting('date_format'))}} |
| {{lang('CC Mail')}} | : | {{ $ccemailsend->ccemails }} |
| {{lang('Category')}} | : | @if($ticket->deleted_at != null || $ticket->status == 'Closed') ~ @else @if($ticket->category_id != null) @if($ticket->category != null) {{ $ticket->category->name}} @can('Ticket Edit') @if ($ticket->status != 'Closed') @endif @endcan @else @can('Ticket Edit') @if ($ticket->status != 'Closed') @endif @endcan @endif @else @can('Ticket Edit') @if ($ticket->status != 'Closed') @endif @endcan @endif @endif |
| {{lang('SubCategory')}} | : | @if($ticket->subcategoriess != null) {{$ticket->subcategoriess->subcategoryname}} @else {{$ticket->subcategoriess->subcategoryname}} @endif |
| {{lang('Item name')}} | : | {{$ticket->item_name}} |
| {{lang('Priority')}} | : | @if($ticket->deleted_at != null || $ticket->status == 'Closed') ~ @else @if($ticket->priority == "Low") {{ lang($ticket->priority) }} @can('Ticket Edit') @if ($ticket->status != 'Closed') @endif @endcan @elseif($ticket->priority == "High") {{ lang($ticket->priority)}} @can('Ticket Edit') @if ($ticket->status != 'Closed') @endif @endcan @elseif($ticket->priority == "Critical") {{ lang($ticket->priority)}} @can('Ticket Edit') @if ($ticket->status != 'Closed') @endif @endcan @else {{ lang($ticket->priority) }} @can('Ticket Edit') @if ($ticket->status != 'Closed') @endif @endcan @endif @endif |
| {{lang('Priority')}} | : | @can('Ticket Edit') @if($ticket->deleted_at != null || $ticket->status == 'Closed') ~ @else @if ($ticket->status != 'Closed') @endif @endif @else ~ @endcan |
| {{lang('Note')}} | : |
@can('Ticket Edit')
@if($ticket->deleted_at != null || $ticket->status == 'Closed')
~
@else
@if ($ticket->status != 'Closed')
{{ lang('Ticket Note') }}
@php $emptynote = $ticket->ticketnote()->get() @endphp
@if($emptynote->isNOtEmpty())
{{lang('Don’t have any notes yet')}}{{lang('Add your notes here')}} |
| {{lang('Status')}} | : |
@can('Ticket Edit')
@if($ticket->deleted_at != null)
@else
@if($ticket->status == 'Suspend' || $ticket->status == 'Closed')
@if(Auth::user()->can('Closed Ticket Process'))
|
| {{lang('Assign')}} | : |
@can('Ticket Assign')
@if($ticket->status == 'Suspend' || $ticket->status == 'Closed' || $ticket->deleted_at != null)
@if($ticket->selfassignuser_id != null)
@else
@endif
@else
@if($ticket->selfassignuser_id != null)
{{$ticket->selfassign->name}} (@if($ticket->selfassignuser_id != Auth::id()){{lang('Other')}}@else{{lang('You')}}@endif)
@else
{{lang('Assign')}}
@endif
@endif
@else
~
@endcan
|