@extends('layouts.page') @section('title') @if(Auth::user()->department() != 'ds') Projects @endif {{ $project->name() == 'cdp_ttp_project' ? 'CDP TTP Projects' : $project->title() }} {{ $incharge->person->full_name }} Attachments @endsection @section('navs') @endsection @section('content')
@foreach ($incharge->files() as $file)
Warning: Undefined variable $incharge in /var/www/html/pruthvi/resources/views/project/attachments.blade.php on line 29

Warning: Attempt to read property "person" on null in /var/www/html/pruthvi/resources/views/project/attachments.blade.php on line 29
Name File
{{ $incharge->label($file) }} @if ($file == 'photo')
Warning: Undefined variable $file in /var/www/html/pruthvi/resources/views/project/attachments.blade.php on line 36

Warning: Attempt to read property "" on null in /var/www/html/pruthvi/resources/views/project/attachments.blade.php on line 36
{{ EasyForm::viewImage($file, null, $person->$file) }} @elseif (!in_array($file,['dec_copy','theological_cetificates_1','theological_cetificates_2','theological_cetificates_3']))
Warning: Undefined variable $file in /var/www/html/pruthvi/resources/views/project/attachments.blade.php on line 40

Warning: Attempt to read property "" on null in /var/www/html/pruthvi/resources/views/project/attachments.blade.php on line 40
{{ EasyForm::viewFile($file, null, $person->$file) }} @else
Warning: Undefined variable $incharge in /var/www/html/pruthvi/resources/views/project/attachments.blade.php on line 44

Warning: Undefined variable $file in /var/www/html/pruthvi/resources/views/project/attachments.blade.php on line 44

Warning: Attempt to read property "" on null in /var/www/html/pruthvi/resources/views/project/attachments.blade.php on line 44
{{ EasyForm::viewFile($file, null, $incharge->$file) }} @endif
@if (Auth::user()->can('change_details', $project))
Fatal error: Uncaught Error: Call to undefined function route() in /var/www/html/pruthvi/resources/views/project/attachments.blade.php:50 Stack trace: #0 {main} thrown in /var/www/html/pruthvi/resources/views/project/attachments.blade.php on line 50