mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-01-19 05:33:31 +01:00
Do not show product information if there are no product information
This commit is contained in:
parent
06622bfbfd
commit
21558d25b1
@ -253,6 +253,10 @@
|
||||
</table>
|
||||
</div>
|
||||
<div class="d-flex flex-column gap-5">
|
||||
@if (!string.IsNullOrEmpty(Model.TypedMetadata.ItemCode) ||
|
||||
!string.IsNullOrEmpty(Model.TypedMetadata.ItemDesc) ||
|
||||
Model.TypedMetadata.TaxIncluded is not null)
|
||||
{
|
||||
<div>
|
||||
<h3 class="mb-3">Product Information</h3>
|
||||
<table class="table mb-0">
|
||||
@ -279,6 +283,7 @@
|
||||
}
|
||||
</table>
|
||||
</div>
|
||||
}
|
||||
@if (Model.TypedMetadata.BuyerName is not null ||
|
||||
Model.TypedMetadata.BuyerEmail is not null ||
|
||||
Model.TypedMetadata.BuyerPhone is not null ||
|
||||
|
Loading…
Reference in New Issue
Block a user