@extends('layouts.base') @section('content') @section('breadcrumb') @endsection @php $canLotsWrite = auth()->user()->canAccessPartnerLotsWrite(); $address = $program->addresses->first(); $lotDocumentTypeFilterOptions = collect(\App\Enums\DocumentTypeLot::selectableCases()) ->map(fn ($type) => ['value' => $type->value, 'label' => $type->label()]) ->all(); $lotOptionStateFilterOptions = collect(\App\Enums\OptionState::selectableCases()) ->map(fn ($state) => ['value' => $state->value, 'label' => $state->label()]) ->all(); $activeLotTab = strtolower((string) request('tab', 'informations')); if (! in_array($activeLotTab, ['options', 'documents', 'notes'], true)) { $activeLotTab = 'informations'; } $lotInternalNotes = $lot->notes()->with('user')->orderByDesc('created_at')->get(); try { $lotType = $lot->type; $lotTypeValid = $lotType && $lotType !== \App\Enums\ProductType::NON_DEFINI; } catch (\Throwable $e) { $lotType = null; $lotTypeValid = false; } @endphp
{{ session('success') }}
{{ session('error') }}
{{ $fieldValue }}
@elseif($field->type === \App\Enums\FieldType::CHECKBOX)@if($fieldValue == '1') Activé @else Désactivé @endif
@elseif($field->type === \App\Enums\FieldType::DATE){{ \Carbon\Carbon::parse($fieldValue)->format('d/m/Y') }}
@else{{ $fieldValue }}
@endif @if($field->description) {{ $field->description }} @endifAucun espace extérieur ajouté
Ajoutez les espaces extérieurs inclus avec ce lot
{{ $description->text }}
Aucun document
{{ $note->content }}