@extends('layouts.base') @section('content') @section('breadcrumb') @endsection

Option #{{ $option->id }} @if($option->code) Code: {{ $option->code }} @endif

Créée le {{ $option->created_at->format('d/m/Y à H:i') }} @if($option->updated_at->ne($option->created_at)) • Modifiée le {{ $option->updated_at->format('d/m/Y à H:i') }} @endif

Informations générales
{{ $option->token }}
{{ $option->state->label() }}

{{ $option->state->description() }}

@if($option->date_end) {{ $option->date_end->format('d/m/Y à H:i') }} @else Non définie @endif
Application et paramètres
@if($option->application) {{ $option->application->name }} @else - @endif
@if($option->saleParameter)
Durée: {{ $option->saleParameter->option_duration_day }} jour(s) Rang: {{ $option->saleParameter->option_rang }} @if($option->saleParameter->option_renouvellable) Renouvelable @endif
@else - @endif
Lot
@if($option->product)
@if($option->product->program) {{ $option->product->name }} @else {{ $option->product->name }} @endif
@if($option->product->program) {{ $option->product->program->name }} @else - @endif
@else

Aucun lot associé

@endif
Client
@if($option->client)
{{ $option->client->email ?? '-' }}
@if($option->user) @endif @else

Aucun client associé

@endif
@endsection