mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 14:22:40 +01:00
Hiding NetworkFee row in invoice if not applicable
This commit is contained in:
parent
894dca2eef
commit
2e822c5878
1 changed files with 3 additions and 3 deletions
|
@ -124,7 +124,7 @@
|
||||||
{{srvModel.orderAmountFiat}}
|
{{srvModel.orderAmountFiat}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="line-items__item" v-show="srvModel.networkFee > 0">
|
<div class="line-items__item" v-show="srvModel.isMultiCurrency || srvModel.txCountForFee > 0">
|
||||||
<div class="line-items__item__label">
|
<div class="line-items__item__label">
|
||||||
<span>{{$t("Network Cost")}}</span>
|
<span>{{$t("Network Cost")}}</span>
|
||||||
</div>
|
</div>
|
||||||
|
@ -132,8 +132,8 @@
|
||||||
<span v-if="srvModel.isMultiCurrency">
|
<span v-if="srvModel.isMultiCurrency">
|
||||||
{{ srvModel.networkFee }} {{ srvModel.cryptoCode }}
|
{{ srvModel.networkFee }} {{ srvModel.cryptoCode }}
|
||||||
</span>
|
</span>
|
||||||
<span v-else>
|
<span v-else-if="srvModel.txCountForFee > 0">
|
||||||
{{$t("txCount", {count: srvModel.txCountForFee})}} x {{ srvModel.networkFee }} {{ srvModel.cryptoCode }}
|
{{$t("txCount", {count: srvModel.txCount})}} x {{ srvModel.networkFee }} {{ srvModel.cryptoCode }}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Reference in a new issue