@component('components.card', [
'id_card' => $model . '-basket',
'title' => $title,
'class' => 'mb-3 ' . ($bgClass ?? null),
'classTitle' => 'mb-0',
'outline' => false,
])
@include('components.form.select', [
'name' => 'offer_id',
'id_name' => $model . '-offer_id',
'list' => collect($data)->pluck('name', 'id')->toArray(),
'class' => 'select2 mb-2',
])
@include('components.form.inputs.number', [
'name' => 'quantity',
'id_name' => $model . '-quantity',
'value' => 1,
])
{{ $data[0]['prices'][0]['price_taxed'] }}
€ TTC
@include('components.form.button', [
'metadata' => 'data-type=' . $model,
'class' => 'btn-success basket w-100 ' . $model,
'txt' => 'Ajouter au panier',
])
@endcomponent
@push('js')
@endpush