@extends('layouts.base') @section('content') @section('breadcrumb') @endsection
{{ $application->name }}
| Numéro | Mandant | Agent | Type | Nature | Relation CGP | Commission | Lots | Dates |
|---|---|---|---|---|---|---|---|---|
| {{ $mandat->numero ?: 'N/A' }} | @if($mandat->mandant && $mandat->mandant->mandantable) @if($mandat->mandant->mandantable instanceof \App\Models\User) {{ $mandat->mandant->mandantable->fullName() }} @elseif($mandat->mandant->mandantable instanceof \App\Models\Company) {{ $mandat->mandant->mandantable->name }} @endif @else Non défini @endif | @if($mandat->user) {{ $mandat->user->fullName() }} @else N/A @endif | @if($mandat->type) {{ $mandat->type->label() }} @else — @endif | @if($mandat->nature) {{ $mandat->nature->label() }} @else — @endif | @if($mandat->relation_type) {{ $mandat->relation_type->roleLabel() }} @else — @endif | @if($mandat->commission && $mandat->commission_type) {{ number_format($mandat->commission, 2, ',', ' ') }} {{ $mandat->commission_type->unite() }} @else — @endif | @if($mandat->products->count() > 0) {{ $mandat->products->count() }} lot(s) @else Aucun @endif |
@if($mandat->date_signature)
{{ $mandat->date_signature->format('d/m/Y') }}
@endif
@if($mandat->date_expiration)
{{ $mandat->date_expiration->format('d/m/Y') }}
@endif
|