Fixes
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
<div class="col-12 row-new-generic row-generic">
|
||||
|
||||
<input type="hidden" name="prices[][id]" value="">
|
||||
|
||||
|
||||
@include('Shop.Admin.PriceGenerics.partials.table-prices', ['generic' => $generic['generic'] ?? null ])
|
||||
|
||||
</div>
|
||||
@@ -4,11 +4,14 @@
|
||||
@include('Shop.Admin.Articles.partials.generic_prices.list-generic_prices')
|
||||
</div>
|
||||
|
||||
<button type="button" class="btn btn-sm btn-primary add-new-generic_price">Associer un tarif générique<i class="fa fa-plus"></i></button>
|
||||
|
||||
|
||||
@include('components.select-tree', ['name' => "article_price_generic_id", 'value' => $price['article_price_generic_id'] ?? null, 'list' => $price_generics ?? null, 'required' => false, 'class' => 'form-control-sm w-100'])
|
||||
|
||||
<div class="row mt-3">
|
||||
<div class="col-6">
|
||||
@include('components.select-tree', ['name' => "article_price_generic_id", 'value' => $price['article_price_generic_id'] ?? null, 'list' => $price_generics ?? null, 'required' => false, 'class' => 'form-control-sm w-100'])
|
||||
</div>
|
||||
<div class="col-6">
|
||||
<button type="button" class="btn btn-sm btn-primary add-new-generic_price">Associer un tarif générique <i class="fa fa-plus"></i></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@push('js')
|
||||
<script>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<div class="col-12 row-new-price row-price">
|
||||
|
||||
<input type="hidden" name="prices[][id]" value="">
|
||||
<input type="hidden" name="prices[0][article_id]" value="{{ $id ?? null }}">
|
||||
|
||||
<div class="card card-light">
|
||||
<div class="card-body pt-2">
|
||||
|
||||
Reference in New Issue
Block a user