promotion 1.0

This commit is contained in:
Kevin Adametz 2021-12-25 02:51:22 +01:00
parent 1cc8e025a1
commit 570d428b1c
60 changed files with 1596 additions and 272 deletions

View file

@ -30,9 +30,9 @@
<div class="mt-4 mb-3">
<div class="switcher-holder btn-add-free-product">
<label class="switcher switcher-success">
<input type="radio" class="switcher-input" name="user_free_product"
value="{{ $promotion_user_product->product->id }}" data-error="#error-user_free_product"
@if($free_product_id === $promotion_user_product->product->id) checked @endif
<input type="radio" class="switcher-input" name="free_product_id"
value="{{ $promotion_user_product->id }}" data-product_id={{ $promotion_user_product->product->id }} data-error="#error-free_product_id"
@if($free_product_id === $promotion_user_product->id) checked @endif
required>
<span class="switcher-indicator">
<span class="switcher-yes">
@ -50,7 +50,7 @@
@endif
@endforeach
<div class="col-12">
<div id="error-user_free_product" class="text-center"></div>
<div id="error-free_product_id" class="text-center"></div>
<hr class="">
</div>
</div>