@extends('layouts.app') @section('content')
Garanties
@if(!empty($contrat->id_pret)) @endif
@foreach ($fields as $name => $attribue)
{{ !empty($attribue->label) ? $attribue->label : $name }} @switch($attribue->type) @case('date') {{(new DateTime($attribue->value))->format('d/m/Y')}} @break @case('select') @if(key_exists($attribue->value,$attribue->options)) {{$attribue->options[$attribue->value]}} @else {{ $attribue->value }} @endif @break @case('money') {{ App\Lib\Format::number($attribue->value)}} @break @default {{$attribue->value}} @endswitch
@endforeach
{{$garantie->caracteristique}}
Pièces jointes
@php $i = 0; @endphp @foreach ($pieces as $pj) @php $i++ @endphp
{{$i}}
{{$pj->original_name}}
@endforeach @if($i==0) Aucune pièce jointe pour cette garantie @endif
Calendrier de remboursement Voulez vous réellement valider ce calendrier de remboursement de prêt ? @endsection @section('script') @endsection