@extends('layouts.app') @section('title', 'Documents | Project Details') @section('content')
@include('project.head')
@include('project.nav')
@if(session('success'))
{{ session('success') }}
@endif @if ($errors->any())
{!! implode('
', $errors->all(':message')) !!}
@endif

Documents

@if($rams_pdf)
@if($rams_pdf->employee_access==1) @endif
@if($rams_pdf->type=='jpg' || $rams_pdf->type=='jpeg' || $rams_pdf->type=='gif' || $rams_pdf->type=='png') @else @endif

{{$rams_pdf->name}}

{{ date('jS M Y h:ia', strtotime($rams_pdf->created_at)) }}

{{$rams_pdf->notes}}

@endif @foreach($documents as $document)
@if($document->employee_access==1) @endif
@if($document->type=='jpg' || $document->type=='jpeg' || $document->type=='gif' || $document->type=='png') @else @endif

{{$document->name}}

{{ date('jS M Y h:ia', strtotime($document->created_at)) }}

{{$document->notes}}

@endforeach
@csrf
@endsection @section('js') @endsection