@can('share ticket by mail')
md:max-w-3xl
{{__('send')}}
{{__('messages.share ticket with email')}}
shareTicketViaMail
@livewire('add-button-component', ['value' => __('messages.share')])
@if ($ticket->account && $ticket->account->email)
{{$ticket->account->email}}
@endif
@endcan
@if($ticket->ticket_source_id)
{{trans_choice('messages.Sources',1) . " :-" . $ticket->ticket_source->name}}
@endif
{{__('hr_messages.Description')}}
{{$ticket->description}}
#
{{__('messages.from')}}
{{__('messages.to')}}
{{__('messages.By')}}
{{__('messages.comment')}}
{{__('messages.Created At')}}
@forelse ($ticket->ticket_status_histories as $key =>$ticket_status_history)
#{{++$key}}
{{__('messages.from')}}
status_from_id)
style="background-color:{{$ticket_status_history->from_status->color}}
@endif
">
{{($ticket_status_history->status_from_id)?$ticket_status_history->from_status->name:'-'}}
{{__('messages.to')}}
status_to_id)
style="background-color:{{$ticket_status_history->to_status->color}}
@endif
">
{{($ticket_status_history->status_to_id)?$ticket_status_history->to_status->name:'-'}}
{{__('messages.By')}}{{($ticket_status_history->last_updated_by)?$ticket_status_history->last_updated_by_user->name:''}}
{{__('messages.comment')}}
@if($ticket_status_history->comment_id)
@if($ticket_status_history->comment_detail->url)
{{$ticket_status_history->comment_detail->comment}}
@else
{{$ticket_status_history->comment_detail->comment}}
@endif
@endif
{{__('messages.Created At')}}{{$ticket_status_history->created_at}}
{{__('messages.comment')}}
@if($ticket_status_history->comment_id)
@if($ticket_status_history->comment_detail->url)
{{__('messages.download')}}
@else
-
@endif
@endif
@empty
{{__('messages.Empty Result')}}
@endforelse
{{__('messages.ticket concerned users')}}
#
{{ __('messages.User') }}
{{ __('messages.message') }}
{{ __('messages.Created by') }}
{{ __('messages.Created At') }}
@forelse ($ticket->ticket_users as $key=>$ticket_user)
#{{++$key }}
{{ __('messages.User') }} {{ $ticket_user->user->name }}
{{ __('messages.message') }} {{ $ticket_user->msg}}
{{ __('messages.Created By') }}
{{ $ticket_user->created_by ? $ticket_user->created_by_user->name : '-' }}
{{ __('messages.Created At') }}
{{ $ticket_user->created_at }}
@empty
{{ __('messages.Empty Result') }}
@endforelse