mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 14:22:40 +01:00
Do not show custom amount field in cart when not enabled (#873)
fixes #872
This commit is contained in:
parent
1b6eb9cab0
commit
7056aae301
1 changed files with 16 additions and 14 deletions
|
@ -94,7 +94,8 @@
|
|||
</tr>
|
||||
</script>
|
||||
|
||||
<script id="template-cart-extra" type="text/template">
|
||||
<script id="template-cart-extra" type="text/template">
|
||||
@if(Model.ShowCustomAmount){
|
||||
<tr>
|
||||
<td colspan="5" class="border-0 pb-0">
|
||||
<div class="input-group">
|
||||
|
@ -108,7 +109,8 @@
|
|||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@if (Model.ShowDiscount)
|
||||
}
|
||||
@if (@Model.ShowDiscount)
|
||||
{
|
||||
<tr>
|
||||
<td colspan="5" class="border-top-0">
|
||||
|
|
Loading…
Add table
Reference in a new issue