@extends('admin.main') @section('element')
Produit de crédit
Code produit {{$produit->id_produit}}
@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((string)$attribue->value,$attribue->options)) {{$attribue->options[(string)$attribue->value]}} @else {{ $attribue->value }} @endif @break @case('money') {{ App\Lib\Format::number($attribue->value)}} @break @default {{$attribue->value}} @endswitch
@endforeach
{{-- Contrat de prêt Voulez vous réellement autoriser le déblocage de ce prêt ? --}} Produit
Voulez vous réellement supprimer ce produit ?
@csrf
@endsection @section('script') @endsection