mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-03-11 01:35:22 +01:00
smaller printed receipts (#5856)
This commit is contained in:
parent
93f37b506b
commit
e21a8df0f3
1 changed files with 14 additions and 1 deletions
|
@ -174,7 +174,20 @@
|
|||
{
|
||||
<tr>
|
||||
<td class="text-nowrap text-secondary">Destination</td>
|
||||
<td class="text-break">@payment.Destination</td>
|
||||
<td class="text-break">
|
||||
@if (payment.Destination.Length > 69)
|
||||
{
|
||||
<span>
|
||||
<span>@payment.Destination[..30]</span>
|
||||
<span>...</span>
|
||||
<span>@payment.Destination.Substring(payment.Destination.Length - 30, 30)</span>
|
||||
</span>
|
||||
}
|
||||
else
|
||||
{
|
||||
@payment.Destination
|
||||
}
|
||||
</td>
|
||||
</tr>
|
||||
}
|
||||
@if (!string.IsNullOrEmpty(payment.PaymentProof))
|
||||
|
|
Loading…
Add table
Reference in a new issue