@foreach ($organization->files($project->fcra) as $file)
Name File
{{ $organization->label($file) }} @if ($file == 'fcra_copy') No: {{ $organization->fcra_no }} @endif
Warning: Undefined variable $organization in /var/www/html/pruthvi/resources/views/organization/view_section_attachment.blade.php on line 18

Warning: Undefined variable $file in /var/www/html/pruthvi/resources/views/organization/view_section_attachment.blade.php on line 18

Warning: Attempt to read property "" on null in /var/www/html/pruthvi/resources/views/organization/view_section_attachment.blade.php on line 18
{{ EasyForm::viewImageFile($file, null, $organization->$file, 'View') }}
@if (Auth::user()->can('change_details', $project) || ($file == 'fcra_copy'))
Fatal error: Uncaught Error: Call to undefined function route() in /var/www/html/pruthvi/resources/views/organization/view_section_attachment.blade.php:24 Stack trace: #0 {main} thrown in /var/www/html/pruthvi/resources/views/organization/view_section_attachment.blade.php on line 24