Total Price => Total Cost
This commit is contained in:
@@ -11,6 +11,6 @@ namespace MileageTraker.Web.ViewModels.Vehicle
|
||||
public IList<VehicleCostItem> CostItems { get; set; }
|
||||
|
||||
[Currency]
|
||||
public decimal TotalPrice { get { return CostItems.Sum(i => i.TotalPrice); } }
|
||||
public decimal TotalCost { get { return CostItems.Sum(i => i.TotalPrice); } }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user