@if(session('error'))
{{ session('error') }}
@endif
@include('system.components.notifications') @if(empty($irbRequest) || $irbRequest->id == null || $irbRequest->status == \App\IrbRequest::PROPOSED || $irbRequest->status == \App\IrbRequest::REVISED)
@lang('tr.Request Details')
{{ csrf_field() }}
{!! Form::select('type', array(''=>__('tr.Select Type'))+\App\IrbRequest::typeslabels(), $irbRequest?->type, array('id'=> 'type', 'class'=>'form-control', 'required'=>'yes')) !!}
@if($irbRequest->attachment_id != null) @endif @if($irbRequest->reviewer_file_id == null)
@endif
@if($irbRequest->reviewer_file_id > 0)
@if($irbRequest->proposal_file_v2_id != null) @endif
@endif @if($irbRequest->reviewer_file_id == null)
@if($irbRequest->consent_id != null) @endif
@endif
@elseif(!empty($irbRequest))
@lang('tr.IRB Request Information')
{{-- --}} @if($irbRequest->proposal_file_v2_id > 0) @endif
@lang('tr.Title') {{ $irbRequest->title }}
@lang('tr.Requester') {{ $irbRequest->requester->lang('name') }}
@lang('tr.Description') {{ $irbRequest->description }}
@lang('tr.DOI') {{ $irbRequest->doi }} @if($irbRequest->status == \App\IrbRequest::ACCEPTED || $irbRequest->status == \App\IrbRequest::REVISED) @endif
@lang('tr.Status') {{ \App\IrbRequest::irbsStatus()[$irbRequest->status] }} @if(($irbRequest->status == \App\IrbRequest::REVISED || $irbRequest->status == \App\IrbRequest::ACCEPTED) && !empty($irbRequest->comment)) , {{$irbRequest->comment}} @endif
@lang('tr.Proposal') @if($irbRequest->attachment_id > 0) {{$irbRequest->attachment->name()}} @endif
@lang('tr.Proposal V2') {{$irbRequest->proposalV2->name()}}
@lang('tr.Consent') @if($irbRequest->consent_id > 0) {{$irbRequest->consent->name()}} @endif
@endif @if($irbRequest->status == \App\IrbRequest::ACCEPTED) @include('system.archive.component_new', ['name'=>'archive1', 'archive'=>$irbRequest->archive, 'addFolders'=>false , 'addPages'=>false, 'otherFiles'=>true , 'pathName'=>__('tr.Files'), 'contentsTypes'=>$irbRequest->contentsTypes(), 'actAsOwner'=>true, 'readOnly'=>false])
{{ csrf_field() }}
@endif