public bool IsPaid() { return(Amount == SalesReceiptLines.Sum(a => a.AmountPaid)); }
private decimal GetAvailableAmountToAllocate() { return(SalesReceiptLines.Sum(a => a.AmountPaid) - CustomerAllocations.Sum(a => a.Amount)); }
public decimal GetAmountPaid() { return(SalesReceiptLines.Sum(a => a.AmountPaid)); }