@extends('layout.main') @section('content')

{{__('nav.query')}}
# {{$data->issue_id}}

@if (Auth::user()->can('legal-issues-assign-user')) @if ($data->status == 'pending') @if($data->expert_id != null)
@csrf @method('PUT')
@else @endif @endif @else @if ($data->status == 'pending')
@csrf @method('PUT')
@endif @endif
{{__('nav.title')}}
{{ $data->title}}
{{__('nav.description')}}
{{ $data->description}}
{{__('nav.reported_by')}}
{{ $data->client->name}}
{{__('nav.created_on')}}
{{$data->created_at->diffForHumans()}}
{{__('nav.last_update')}}
{{$data->updated_at->diffForHumans()}}
{{__('nav.assigned_to')}}
@if($data->expert_id != null) {{ $data->expert->name}} @else @endif
@if($data->attachment != null)
{{__('nav.uploaded_attachment')}}
{{ $data->uploaded_file_name}}
@endif @if($data->status == 'completed')
{{__('nav.advised_file')}}
{{__('nav.view_doc')}}
{{__('nav.comment')}}
{{ $data->comment}}
@endif
@if($data->status == 'in_progress')

{{__('nav.solution')}}
@csrf
{{--
--}}
{{-- --}} @error('file')
{{$message}}
@enderror
@endif
@if( Auth::user()->can('legal-issue-pending-view'))

{{__('nav.others')}}

    {{-- @forelse($others as $other)
  • {{$other->title}}
  • @empty
  • {{__('nav.not_found')}}
  • @endforelse --}}
@endif
@endsection