@extends('layouts.squelette') @section('css_header') @endsection @section('titre') {{ __('Dossiers') }} @endsection @section('titre_header') {{ __('Dossier') }} @endsection @section('titre_page') @isset($contract->con_id) {{ __('Dossier :') }} {{ $contract->con_title }} @else {{ __('Ajout de dossier') }} @endisset @endsection @section('panel_boutons') {{ __('Retour') }} @endsection @section('contenu')

{{ __('Informations contrat') }}

{{ __('Type de contrat') }}
{!! @$contract->con_typeContract=='R' ? ''.trans('Règlementaire').'' : ''.trans('Préventive').'' !!}
{{ __('Désignation') }}
{!! @$contract->con_title !!}
{{ __('N° référence') }}
{{ @$contract->con_refNumber }}
{{ __('Date de début') }}
{{ date('d/m/Y', strtotime($contract->con_startDate)) }}
{{ __('Date de fin') }}
{{ date('d/m/Y', strtotime($contract->con_endDate)) }}
{{ __('Description / commentaire') }}
{!! @$contract->con_description !!}
{{-- TABLEAUX DES DI --}}
@foreach ($interventions as $inter) @endforeach
# {{ __('Période') }} {{ __('#DI') }} {{ __('Etat') }} {{ __('Affectation') }} {{ __('Date d\'achèvement') }} {{ __('Actions') }}
{!! $inter->int_number !!} {{ date('d/m/Y', strtotime($inter->conInt_date1)) }} - {{ date('d/m/Y', strtotime($inter->conInt_date2)) }} {!! $inter->int_number !!} {!! $inter->sta_nameFr !!} {{ $inter->int_planningDate!='' ? date('d/m/Y', strtotime($inter->int_planningDate)) : '' }} {{ $inter->proReq_achievementDate!='' ? date('d/m/Y', strtotime($inter->proReq_achievementDate)) : '' }}
{{-- TABLEAUX DES FICHIERS --}}

@if ($contract->con_showFilesSiteInterface ==1)

{{ __('Documents du contrat') }}

@foreach ($files as $file) @endforeach
{{ __('Description') }} {{ __('Nom') }} {{ __('Type') }} {{ __('Actions') }}
{!! $file->conFil_description !!} {!! $file->conFil_oldName !!} {!! get_icon_file($file->conFil_ext) !!}

@endif

{{ __('Documents des interventions') }}

@foreach ($di_files as $file) @if( $file->intFilCat_forSiteContracts==1) @endif @endforeach
# {{ __('Description') }} {{ __('Nom') }} {{ __('Type') }} {{ __('Actions') }}
#{!! $file->int_number !!} {!! $file->intFilCat_nameFr !!}
{!! $file->intFil_description !!}
{!! $file->intFil_oldName !!} {!! get_icon_file($file->intFil_ext) !!}
@endsection @section('js_footer') @endsection