This commit is contained in:
2021-05-26 23:39:48 +00:00
parent c92691135c
commit 6fb7da11ca
3 changed files with 43 additions and 17 deletions

View File

@@ -29,7 +29,7 @@ namespace AyaNova.Models
[Required]
public LoanUnitRateUnit Rate { get; set; }
public decimal Cost { get; set; }//cost from source record (e.g. serviceRate) or zero if no cost entered
public decimal Cost { get; set; }//cost from source record (e.g. serviceRate) or zero if no cost entered
public decimal ListPrice { get; set; }//List price from source record (e.g. serviceRate) or zero if no cost entered
//Standard pricing fields (mostly to support printed reports though some show in UI)
@@ -37,7 +37,7 @@ public decimal Cost { get; set; }//cost from source record (e.g. serviceRate) or
public decimal? PriceOverride { get; set; }//user entered manually overridden price, if null then ignored in calcs otherwise this *is* the price even if zero
[NotMapped]
[NotMapped]
public string UnitOfMeasureViz { get; set; }//"each", "hour" etc
[NotMapped]
public decimal PriceViz { get; set; }//per unit price used in calcs after discounts or manual price if non-null or just ListPrice if no discount or manual override