{{ Form::label('article_id', 'Article') }} @include('components.select', ['name' => 'article_id', 'id_name' => 'article_id', 'list' => $articles ?? null, 'value' => $offer['article_id'] ?? null, 'with_empty' => '', 'class' => 'select2 select_article'])
{{ Form::label('variation_id', 'Déclinaison') }} @include('components.select', ['name' => 'variation_id', 'id_name' => 'variation_id', 'list' => $variations ?? null, 'value' => $offer['variation_id'] ?? null, 'with_empty' => '', 'class' => 'select2 select_variation'])
{{ Form::label('tariff_id', 'Tarif') }} @include('components.select', ['name' => 'tariff_id', 'id_name' => 'tariff_id', 'list' => $tariffs ?? null, 'value' => $offer['tariff_id'] ?? null, 'with_empty' => '', 'class' => 'select2 select_tariffs'])
@component('components.card', ['title' => 'Previsualisation'])
@endcomponent
@component('components.card', ['title' => 'Disponibilité'])
{{ Form::label('stock_current', 'Appro immédiate') }} @include('components.money', ['name' => 'stock_current', 'value' => $offer['stock_current'] ?? 0])
{{ Form::label('stock_delayed', 'Appro sur delai') }} @include('components.money', ['name' => 'stock_delayed', 'value' => $offer['stock_delayed'] ?? 0])
{{ Form::label('delay_type', 'Délai type') }} @include('components.input', ['name' => 'delay_type', 'value' => $offer['delay_type'] ?? null])
{{ Form::label('stock_ondemand', 'Appro sur demande') }} @include('components.toggle', ['name' => 'stock_ondemand', 'value' => $offer['stock_ondemand'] ?? 0])
{{ Form::label('minimum_ondemand', 'Minimum de quantité') }} @include('components.money', ['name' => 'minimum_ondemand', 'value' => $offer['minimum_ondemand'] ?? 0])
@endcomponent
@include('components.save') @include('load.layout.chevron') @include('load.form.save') @include('load.form.select2') @push('js') @endpush