Invoice Information
| Store |
@Model.StoreName
|
| Invoice Id |
@Model.Id |
@if (!string.IsNullOrEmpty(Model.TypedMetadata.OrderUrl))
{
| Order Id |
@if (string.IsNullOrEmpty(Model.TypedMetadata.OrderId))
{
View Order
}
else
{
@Model.TypedMetadata.OrderId
}
|
}
@if (Model.TypedMetadata.PaymentRequestId is not null)
{
| Payment Request Id |
@Model.TypedMetadata.PaymentRequestId
|
}
| State |
@if (Model.CanMarkStatus)
{
}
else
{
@Model.State
@if (Model.StatusException != InvoiceExceptionStatus.None)
{
@String.Format(" ({0})", Model.StatusException.ToString())
;
}
}
|
| Created Date |
@Model.CreatedDate.ToBrowserDate() |
| Expiration Date |
@Model.ExpirationDate.ToBrowserDate() |
| Monitoring Date |
@Model.MonitoringDate.ToBrowserDate() |
| Transaction Speed |
@Model.TransactionSpeed |
| Total Fiat Due |
@Model.Fiat |
@if (!string.IsNullOrEmpty(Model.RefundEmail))
{
| Refund Email |
@Model.RefundEmail
|
}
@if (!string.IsNullOrEmpty(Model.NotificationUrl))
{
| Notification Url |
@Model.NotificationUrl |
}
@if (!string.IsNullOrEmpty(Model.RedirectUrl))
{
| Redirect Url |
@Model.RedirectUrl
|
}
@if (Model.PosData.Count == 0)
{
Product Information
@if (!string.IsNullOrEmpty(Model.TypedMetadata.ItemCode))
{
| Item code |
@Model.TypedMetadata.ItemCode |
}
@if (!string.IsNullOrEmpty(Model.TypedMetadata.ItemDesc))
{
| Item Description |
@Model.TypedMetadata.ItemDesc |
}
| Price |
@Model.Fiat |
@if (Model.TaxIncluded is not null)
{
| Tax Included |
@Model.TaxIncluded |
}
}
@if (Model.TypedMetadata.BuyerName is not null ||
Model.TypedMetadata.BuyerEmail is not null ||
Model.TypedMetadata.BuyerPhone is not null ||
Model.TypedMetadata.BuyerAddress1 is not null ||
Model.TypedMetadata.BuyerAddress2 is not null ||
Model.TypedMetadata.BuyerCity is not null ||
Model.TypedMetadata.BuyerState is not null ||
Model.TypedMetadata.BuyerCountry is not null ||
Model.TypedMetadata.BuyerZip is not null
)
{
Buyer Information
@if (Model.TypedMetadata.BuyerName is not null)
{
| Name |
@Model.TypedMetadata.BuyerName |
}
@if (Model.TypedMetadata.BuyerEmail is not null)
{
| Email |
@Model.TypedMetadata.BuyerEmail
|
}
@if (Model.TypedMetadata.BuyerPhone is not null)
{
| Phone |
@Model.TypedMetadata.BuyerPhone |
}
@if (Model.TypedMetadata.BuyerAddress1 is not null)
{
| Address 1 |
@Model.TypedMetadata.BuyerAddress1 |
}
@if (Model.TypedMetadata.BuyerAddress2 is not null)
{
| Address 2 |
@Model.TypedMetadata.BuyerAddress2 |
}
@if (Model.TypedMetadata.BuyerCity is not null)
{
| City |
@Model.TypedMetadata.BuyerCity |
}
@if (Model.TypedMetadata.BuyerState is not null)
{
| State |
@Model.TypedMetadata.BuyerState |
}
@if (Model.TypedMetadata.BuyerCountry is not null)
{
| Country |
@Model.TypedMetadata.BuyerCountry |
}
@if (Model.TypedMetadata.BuyerZip is not null)
{
| Zip |
@Model.TypedMetadata.BuyerZip |
}
}
@if (Model.PosData.Count != 0)
{
Product information
@if (!string.IsNullOrEmpty(Model.TypedMetadata.ItemCode))
{
| Item code |
@Model.TypedMetadata.ItemCode |
}
@if (!string.IsNullOrEmpty(Model.TypedMetadata.ItemDesc))
{
| Item Description |
@Model.TypedMetadata.ItemDesc |
}
| Price |
@Model.Fiat |
| Tax included |
@Model.TaxIncluded |
}