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

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

@if ($data->published_date == null) {{__('nav.edit')}}
@csrf @method('PUT')
@else
@csrf @method('PUT')
@endif
{{__('nav.title')}}
{{ $data->title}}
{{__('nav.author')}}
{{$data->author}}
@if($data->type == 2)
{{__('nav.uploaded_file')}}
{{ $data->file_name}}
@endif
Status
@if ($data->published_date == null) @else @endif
{{__('nav.created_on')}}
{{$data->created_at->diffForHumans()}}
{{__('nav.last_update')}}
{{$data->updated_at->diffForHumans()}}
{{-- @if($data->status == 2)
{{__('nav.advised_file')}}
{{ $data->advice_file_name}}
{{__('nav.comment')}}
{{ $data->comment}}
@endif --}}
@if($data->status == 1)

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

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

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