-
-
- @if (isProcessing)
- {
-
- The invoice has detected a payment but is still waiting to be settled.
-
- }
- else if (!isSettled)
- {
-
- The invoice is not settled.
-
- }
- else
- {
- if (Model.ReceiptOptions.ShowQR is true)
- {
-
- }
-
-
-
-
- @DisplayFormatter.Currency(Model.Amount, Model.Currency, DisplayFormatter.CurrencyFormat.Symbol)
-
-
-
- Date
- - @Model.Timestamp.ToBrowserDate()
-
- @if (!string.IsNullOrEmpty(Model.OrderId))
- {
-
-
- Order ID
- - @Model.OrderId
-
- }
-
- }
-
-
+
@if (isProcessing)
{
-
This page will refresh periodically until the invoice is settled.
+
+ The invoice has detected a payment but is still waiting to be settled.
+
}
- else if (isSettled)
+ else if (!isSettled)
{
- if (Model.AdditionalData?.Any() is true)
- {
-
- }
- if (Model.Payments?.Any() is true)
- {
-
-
Payment Details
-
-
-
-
- Date |
- Paid |
- Payment |
-
-
-
- @foreach (var payment in Model.Payments)
- {
-
- @payment.ReceivedDate.ToBrowserDate() |
- @payment.PaidFormatted |
- @payment.AmountFormatted @payment.PaymentMethod |
-
- @if (!string.IsNullOrEmpty(payment.Destination))
- {
-
-
- Destination
- |
-
-
- |
-
- }
- @if (!string.IsNullOrEmpty(payment.PaymentProof))
- {
-
-
- Payment Proof
- |
-
-
- |
-
- }
- }
-
-
-
-
- @foreach (var payment in Model.Payments)
- {
-
-
@payment.PaidFormatted = @payment.AmountFormatted @payment.PaymentMethod, Rate: @payment.RateFormatted
- @if (!string.IsNullOrEmpty(payment.PaymentProof))
- {
-
Proof: @payment.PaymentProof
- }
-
- }
-
-
- }
+
+ The invoice is not settled.
+
}
- @if (!string.IsNullOrEmpty(Model.OrderUrl))
+ else
{
-
Return to @(string.IsNullOrEmpty(Model.StoreName) ? "store" : Model.StoreName)
+ if (Model.ReceiptOptions.ShowQR is true)
+ {
+
+ }
+
+
+
+
- @DisplayFormatter.Currency(Model.Amount, Model.Currency, DisplayFormatter.CurrencyFormat.Symbol)
+
+
+
- Date
+ - @Model.Timestamp.ToBrowserDate()
+
+ @if (!string.IsNullOrEmpty(Model.OrderId))
+ {
+
+
- Order ID
+ - @Model.OrderId
+
+ }
+
}
+
+ @if (isProcessing)
+ {
+
This page will refresh periodically until the invoice is settled.
+ }
+ else if (isSettled)
+ {
+ if (Model.AdditionalData?.Any() is true)
+ {
+
+ }
+ if (Model.Payments?.Any() is true)
+ {
+
+
Payment Details
+
+
+
+
+ Date |
+ Paid |
+ Payment |
+
+
+ @foreach (var payment in Model.Payments)
+ {
+
+
+ @payment.ReceivedDate.ToBrowserDate() |
+ @payment.PaidFormatted |
+ @payment.AmountFormatted @payment.PaymentMethod |
+
+ @if (!string.IsNullOrEmpty(payment.Destination))
+ {
+
+
+ Destination
+ |
+
+
+ |
+
+ }
+ @if (!string.IsNullOrEmpty(payment.PaymentProof))
+ {
+
+
+ Payment Proof
+ |
+
+
+ |
+
+ }
+
+ }
+
+
+
+ @foreach (var payment in Model.Payments)
+ {
+
+
@payment.PaidFormatted = @payment.Amount @payment.PaymentMethod, Rate: @payment.RateFormatted
+ @if (!string.IsNullOrEmpty(payment.PaymentProof))
+ {
+
Proof: @payment.PaymentProof
+ }
+
+ }
+
+
+ }
+ }
+ @if (!string.IsNullOrEmpty(Model.OrderUrl))
+ {
+
Return to @(string.IsNullOrEmpty(Model.StoreName) ? "store" : Model.StoreName)
+ }