@extends('backoffice.layout.master') @section('setSectionTitle', __('Documenti aziendali')) @section('setContent')

{{ __('Documenti necessari') }}:

@foreach ($files_necessary as $type) @php $file = $organization_files->where('type', $type)->first(); @endphp @endforeach
{{ __('Tipo file') }} {{ __('Nome file') }} {{ __('Caricato il') }} {{ __('Approvazione') }} {{ __('Azioni') }}
{{ __($type) }} {{ $file ? $file->refFile->file_name : '' }} @if ($file) {{ Carbon\Carbon::parse($file->created_at)->format('d M Y - H:i') }} @else {{ __('Non caricato') }} @endif @if ($file && !is_null($file->approved_at)) {{ Carbon\Carbon::parse($file->approved_at)->format('d M Y - H:i') }} @elseif ($file) {{ __('In fase di verifica') }} @else @endif @if ($file) {{ __('Scarica') }} @endif

{{ __('Carica un file obbligatorio') }}:

@csrf
@endsection