@extends('layouts/layoutMaster') @section('title', ' Horizontal Layouts - Forms') @section('vendor-style') @endsection @section('vendor-script') @endsection @section('page-script') @endsection @section('content')

{{$complex->name}} (Complex)/ Attached Files

File List
@foreach($complex->files as $file)
@if($file->file_ext == 'pdf') {{$file->file_name}} @elseif($file->file_ext == 'xls') {{$file->file_name}} @elseif($file->file_ext == 'doc') {{$file->file_name}} @else {{$file->file_name}} @endif

{{$file->file_name}}

@endforeach
@endsection