@extends('layouts.front') @section('page-title', trans('crm.customer_attachments')) @section('content')
@include('partials.announcement')

@lang('crm.customer_attachments')

@include('partials.front-custom-menu')
@include('partials.messages')
@if(get_option('allow_contact_to_delete_files') == 1) @endif @if(count($files) > 0) @foreach($files as $file) @php if($file['filetype'] == 'application/pdf') { $file_path = url('/upload/clients/'.$file['rel_id'].'/'.$file['file_name']); echo ""; } else if ($file['filetype'] == 'image/jpeg') { $file_path = url('/upload/clients/'.$file['rel_id'].'/'.$file['file_name']); echo ""; // echo ""; } else { $file_path = url('/upload/clients/'.$file['rel_id'].'/'.$file['file_name']); echo ""; } @endphp @if(get_option('allow_contact_to_delete_files') == 1) @endif @endforeach @endif
@lang('crm.customer_attachments_file') @lang('crm.file_date_uploaded')@lang('crm.options')
".$file['file_name']."".$file['file_name']."".$file['file_name']."".$file['file_name']."{{ local_time_format($file["dateadded"], true) }} @if ($file['contact_id'] == Auth::user()->id) @endif
@stop @section('scripts') @stop