@include('components.form.select', [ 'name' => 'article_id', 'id_name' => 'article_id', 'list' => $articles ?? null, 'value' => $offer['article_id'] ?? null, 'with_empty' => '', 'class' => 'select2 select_article', 'label' => 'Article', 'required' => true, ])
@include('components.form.select', [ 'name' => 'variation_id', 'id_name' => 'variation_id', 'list' => $variations ?? null, 'value' => $offer['variation_id'] ?? null, 'with_empty' => '', 'class' => 'select2 select_variation', 'label' => __('shop.packages.name'), 'required' => true, ])
@include('components.form.select', [ 'name' => 'tariff_id', 'id_name' => 'tariff_id', 'list' => $tariffs ?? null, 'value' => $offer['tariff_id'] ?? null, 'with_empty' => '', 'class' => 'select2 select_tariffs', 'label' => 'Tarif', 'required' => true, ])
@include('components.form.input', [ 'name' => 'weight', 'value' => $offer['weight'] ?? null, 'label' => 'Poids en g', 'required' => true, ])
@component('components.card', ['title' => 'Disponibilité', 'class' => 'mt-5'])
@include('components.form.inputs.money', [ 'name' => 'stock_current', 'value' => $offer['stock_current'] ?? 0, 'label' => 'Appro immédiate', ])
@include('components.form.inputs.money', [ 'name' => 'stock_delayed', 'value' => $offer['stock_delayed'] ?? 0, 'label' => 'Appro sur delai', ])
@include('components.form.input', [ 'name' => 'delay_type', 'value' => $offer['delay_type'] ?? null, 'label' => 'Délai type', ])
@include('components.form.toggle', [ 'name' => 'stock_ondemand', 'value' => $offer['stock_ondemand'] ?? 0, 'label' => 'Appro sur demande', 'size' => 'md', ])
@include('components.form.inputs.money', [ 'name' => 'minimum_ondemand', 'value' => $offer['minimum_ondemand'] ?? 0, 'label' => 'Minimum de quantité', ])
@endcomponent
@component('components.card', ['title' => 'Previsualisation'])
@endcomponent
@include('components.save') @include('load.layout.chevron') @include('load.form.save') @include('load.form.select2') @push('js') @endpush