@php $lot = $option->lot()->first(); $program = $lot->program()->first(); @endphp
Option @if($option->status->name === "ENVOYEE") à confirmer @else {{ $option->status->value }}@endif
@if ($option->lot->program !== null) {{ $option->lot->address->city }} @endif @if ($option->lot->program !== null) @endif @if ($option->lot->program !== null) {{ $option->lot->address->zip_code }} @endif
@if ($program !== null) {{ $program->name }} @else programme désactivé @endif N° {{ $lot->number }} {{ $lot->type }} {{ $lot->surface }} {{ $lot->floor }}
{{ $lot->price->formatted }} @if ($program !== null) @forelse($program->taxations as $taxation) éligible au {{ $taxation->name }} @empty @endforelse @if ($program->commercialOperations->cashback())
icon cashback Récupérez {{ $lot->commercialOperations->cashback()->calculPrice($lot->price->value)->formatted }}
@endif @forelse ($program->commercialOperations->opesCom() as $ope_com)
icon cashback {{ $ope_com->type }}
@empty @endforelse @endif
@if ($program !== null)
{{-- @if($option->reservation_md !== null) @foreach ($option->workflow_md["tache_groupe"] as $tache_md) @if($tache_md['id_vente_workflow_instance_tache_statut'] == App\Enums\Workflow\TaskStatus::EN_COURS->value)

{{ $tache_md["nom"] }}

{{ $tache_md["info"] }} @isset($tache_md["vente_workflow_instance_tache_explications"])

{!! $tache_md["vente_workflow_instance_tache_explications"] !!}

@endisset @isset($tache_md["vente_workflow_instance_tache_nom"])

{{ $tache_md["vente_workflow_instance_tache_nom"] }}

@endisset @endif @endforeach @endif --}}
@if($option->id_option_demande_statut_md == 2)
@elseif($option->id_option_demande_statut_md == 3) Rejetée @elseif($option->id_option_demande_statut_md == 4) @elseif($option->id_option_demande_statut_md == 5) Annulée @else @endif
@else
Ce programme est désactivé

Veuillez contacter le service commercial

@endif