@extends('layouts.admin') @section('content')
INFORMATION DU CLIENT
@if($errors->has('nom_complet'))

{{ $errors->first('nom_complet') }}

@endif

{{ trans('cruds.client.fields.first_name_helper') }}

@if($errors->has('adresse'))

{{ $errors->first('adresse') }}

@endif

{{ trans('cruds.client.fields.last_name_helper') }}

@if($errors->has('telephone'))

{{ $errors->first('telephone') }}

@endif

@if($errors->has('email'))

{{ $errors->first('email') }}

0 @endif

@if($errors->has('numcompte'))

{{ $errors->first('numcompte') }}

@endif

@if($errors->has('gestcompt'))

{{ $errors->first('gestcompt') }}

@endif


Carte d'identité du Client



@if($client->cir) image @endif


@if($client->civ) image @endif

@can('client_modifier') Modifier les informations du client @endcan @can('client_supprimer')
@endcan
COMMANDE CLIENT
@can('commission_voire') @endcan @foreach($commandes as $key => $commande) @can('commission_voire') @endcan @endforeach
Réf. Date Produit Montant Complément Commission Agence Echéance Banque Auteur Livraison Action
{{ $commande->ref ?? '' }} {{ Carbon\Carbon::parse($commande->date_commande)->format('d/m/Y') }} @foreach($commande->fk_product as $prod) {{ $prod . ' / ' }} @endforeach {{ number_format(($commande->total_ttc > 250000 ) ? 250000 : $commande->total_ttc, 0 , '', ' ') ?? '' }} {{ number_format( ($commande->total_ttc > 250000 ) ? $commande->total_ttc - 250000 : 0, 0 , '', ' ') ?? '' }} {{ number_format($commande->commission, 0 , '', ' ') ?? '' }} {{ $commande->banque ?? '' }} {{ $commande->echeance ?? '' }} {{ $commande->avis_banque ?? '' }} {{ $commande->name ?? '' }} {{ $commande->fk_statut ?? '' }} @can('commande_voire') @endcan @can('commande_modifier') @endcan @can('commande_supprimer')
@endcan
@endsection