mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 14:22:40 +01:00
fix cart + form combination bug fixes #5031
This commit is contained in:
parent
358e122775
commit
bbff9710bf
2 changed files with 2 additions and 4 deletions
|
@ -176,7 +176,7 @@ namespace BTCPayServer.Services.Apps
|
||||||
res.Add(new InvoiceStatsItem
|
res.Add(new InvoiceStatsItem
|
||||||
{
|
{
|
||||||
ItemCode = item.Id,
|
ItemCode = item.Id,
|
||||||
FiatPrice = lineItem.Price.Value,
|
FiatPrice = lineItem.Price,
|
||||||
Date = e.InvoiceTime.Date
|
Date = e.InvoiceTime.Date
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -34,7 +34,7 @@ public class PosAppCartItem
|
||||||
public string Id { get; set; }
|
public string Id { get; set; }
|
||||||
|
|
||||||
[JsonProperty(PropertyName = "price")]
|
[JsonProperty(PropertyName = "price")]
|
||||||
public PosAppCartItemPrice Price { get; set; }
|
public decimal Price { get; set; }
|
||||||
|
|
||||||
[JsonProperty(PropertyName = "title")]
|
[JsonProperty(PropertyName = "title")]
|
||||||
public string Title { get; set; }
|
public string Title { get; set; }
|
||||||
|
@ -54,8 +54,6 @@ public class PosAppCartItemPrice
|
||||||
[JsonProperty(PropertyName = "formatted")]
|
[JsonProperty(PropertyName = "formatted")]
|
||||||
public string Formatted { get; set; }
|
public string Formatted { get; set; }
|
||||||
|
|
||||||
[JsonProperty(PropertyName = "value")]
|
|
||||||
public decimal Value { get; set; }
|
|
||||||
|
|
||||||
[JsonProperty(PropertyName = "type")]
|
[JsonProperty(PropertyName = "type")]
|
||||||
public ViewPointOfSaleViewModel.ItemPriceType Type { get; set; }
|
public ViewPointOfSaleViewModel.ItemPriceType Type { get; set; }
|
||||||
|
|
Loading…
Add table
Reference in a new issue