Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public virtual decimal Total { get
- {
- return SubTotal + TaxTotal;
- } }
- public virtual decimal TaxTotal { get
- {
- return _lineItems.Where(ticketLineItem => ticketLineItem.Item.IsTaxable).Sum(ticketLineItem => (ticketLineItem.Total * Lease.County.TaxRatePercent));
- } }
- public virtual decimal SubTotal
- {
- get
- {
- return _lineItems.Sum(x => x.Total);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement