@include('layout/frontend/_header')
@if( $singleProjectDet )
@if ( count($singleProjectDet['project_attachment']) > 0 ) @foreach( $singleProjectDet['project_attachment'] as $k => $v ) @break @endforeach @else @endif

{{$singleProjectDet['title']}}

@if( $singleProjectDet['project_status']==0 )

{{'On-going'}} @elseif( $singleProjectDet['project_status']==1 ) {{'Completed'}} @elseif( $singleProjectDet['project_status']==2 ) {{'On-Hold'}} @endif
{{ date('d', strtotime($singleProjectDet['start_date'])) }} {{ date('M', strtotime($singleProjectDet['start_date'])) }} {{ date('Y', strtotime($singleProjectDet['start_date'])) }} to {{ date('d', strtotime($singleProjectDet['end_date'])) }} {{ date('M', strtotime($singleProjectDet['end_date'])) }} {{ date('Y', strtotime($singleProjectDet['end_date'])) }}

Description

{{ $singleProjectDet['description'] }}

@if(($singleProjectDet['project_partners_name'] !='') || ($singleProjectDet['project_partners_links'] !='')) @if($singleProjectDet['project_partners_name'] !='') @endif @if($singleProjectDet['project_partners_links']) @endif
Project Partners Link
@foreach($projectpartnername as $ps) {{$ps}}
@endforeach
@foreach($projectpartnerlink as $pl) @if($pl !='') Click Here
@endif @endforeach
@endif @if($getlocation) @if($locationcount >0 ) Locations: @foreach($getlocation as $gs) @if($gs->project_state !='') {{ ucfirst($gs->project_state) }}@if($gs->project_city =='') @endif @endif @if($gs->project_city !='') ({{ ucfirst($gs->project_city) }}) @endif @endforeach @endif @endif
@if($singleProjectDet['author_name'] !='') Project Lead: {{$singleProjectDet['author_name']}}
@endif @if($singleProjectDet['link_to_project_iki_side'] !='') Project Links:   Click Here
@endif @if($singleProjectDet['link'] !='') Link to Project Site: {{$singleProjectDet['link']}}
@endif @if($singleProjectDet['commissioned_by'] !='') Commissioned By: {{$singleProjectDet['commissioned_by']}}
@endif
@if ( count($singleProjectDet['project_attachment']) > 0 ) @foreach( $singleProjectDet['project_attachment'] as $k => $v )

{{$v['attachment']}}

@endforeach @endif
@if ( $singleProjectDet['tags'] ) @endif @if ( $singleProjectDet['allDocs'] && count($singleProjectDet['allDocs']) > 0 ) @foreach( $singleProjectDet['allDocs'] as $k => $v ) @if ( $k != 'Other' ) @if ( $currentUserRole != '' ) @if( isset($counts[$k]) ) @if ( isset($counts[$k]['logged_in']) && $counts[$k]['logged_in'] >= 1 && !isset($counts[$k]['public']) )

{{ $k }}

@elseif ( isset($counts[$k]['public']) && $counts[$k]['public'] >= 1 && !isset($counts[$k]['logged_in']) )

{{ $k }}

@elseif ( isset($counts[$k]['logged_in']) && $counts[$k]['logged_in'] >= 1 && isset($counts[$k]['public']) && $counts[$k]['public'] >= 1 )

{{ $k }}

@endif @endif @else @if( isset($counts[$k]) ) @if ( isset($counts[$k]['public']) && $counts[$k]['public'] >= 1 )

{{ $k }}

@endif @endif @endif @endif @foreach( $v as $i => $j ) @if ( $j['permissions_access'] == 'public' ) @if ( $j['document_types'] != 'Video' && $j['document_types'] != 'Other' )
   {{ $j['document_titles'] }}
@else @if ( $j['document_types'] == 'Document Links' )
{{$j['document_links']}} {{ $j['document_titles'] }}
@endif @if ( $j['document_types'] == 'Video' )
{{ $j['document_titles'] }}
@else

{{ $j['other_values'] }}


@endif @endif @else @if ( $currentUserRole != '' ) @if ( $j['document_types'] != 'Video' && $j['document_types'] != 'Other' && $j['document_types'] != 'Document Links' )
   {{ $j['document_titles'] }}
@else @if ( $j['document_types'] == 'Document Links' )
{{$j['document_links']}} {{ $j['document_titles'] }}
@endif @if ( $j['document_types'] == 'Video' )
{{ $j['document_titles'] }}
@else @endif @endif @endif @endif @endforeach @endforeach @endif
@else

No new records found

@endif
@include('layout/frontend/_footer')