fix: 🐛 Merge missing hidden product in form
This commit is contained in:
parent
da19554a46
commit
25db97d0a4
|
@ -223,12 +223,16 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="mt-auto border rounded border-secondary">
|
<div class="mt-auto border rounded border-secondary">
|
||||||
<div class="d-flex justify-content-between p-2">
|
<div class="d-flex justify-content-between p-2">
|
||||||
<span class="d-inline-block mr-4" x-text="'{{ __('Price') }}' + ' (' + product.billing_period + ')'">
|
<span class="d-inline-block mr-4"
|
||||||
|
x-text="'{{ __('Price') }}' + ' (' + product.billing_period + ')'">
|
||||||
</span>
|
</span>
|
||||||
<span class="d-inline-block"
|
<span class="d-inline-block"
|
||||||
x-text="product.price + ' {{ CREDITS_DISPLAY_NAME }}'"></span>
|
x-text="product.price + ' {{ CREDITS_DISPLAY_NAME }}'"></span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div>
|
||||||
|
<input type="hidden" name="product" x-model="selectedProduct">
|
||||||
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<button type="submit" x-model="selectedProduct" name="product"
|
<button type="submit" x-model="selectedProduct" name="product"
|
||||||
:disabled="product.minimum_credits > user.credits || product.doesNotFit == true ||
|
:disabled="product.minimum_credits > user.credits || product.doesNotFit == true ||
|
||||||
|
|
Loading…
Reference in a new issue