Initial commit
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
using PowderCoating.Core.Entities;
|
||||
|
||||
namespace PowderCoating.Web.ViewModels;
|
||||
|
||||
public class OnlinePaymentsViewModel
|
||||
{
|
||||
public DateTime From { get; set; }
|
||||
public DateTime To { get; set; }
|
||||
public decimal TotalCollected { get; set; }
|
||||
public decimal TotalRefunded { get; set; }
|
||||
public decimal SurchargesCollected { get; set; }
|
||||
public decimal NetRevenue => TotalCollected - TotalRefunded;
|
||||
public List<Invoice> Invoices { get; set; } = new();
|
||||
public List<Refund> Refunds { get; set; } = new();
|
||||
}
|
||||
Reference in New Issue
Block a user