This commit is contained in:
2021-05-27 17:50:20 +00:00
parent 8b1d1f22a2
commit 881bf57116
3 changed files with 70 additions and 5 deletions

View File

@@ -14,16 +14,39 @@ namespace AyaNova.Models
public string Notes { get; set; }
public long UnitId { get; set; }
[NotMapped]
public string UnitViz { get; set; }
public long? VendorSentToId { get; set; }
[NotMapped]
public string VendorSentToViz { get; set; }
public long? VendorSentViaId { get; set; }
[NotMapped]
public string VendorSentViaViz { get; set; }
public string RMANumber { get; set; }
public string TrackingNumber { get; set; }
public decimal RepairCost { get; set; }
public decimal RepairPrice { get; set; }
public decimal ShippingCost { get; set; }
public decimal ShippingPrice { get; set; }
public DateTime? SentDate { get; set; }
public DateTime? ETADate { get; set; }
public DateTime? ReturnDate { get; set; }
public long? TaxCodeId { get; set; }
[NotMapped]
public string TaxCodeViz { get; set; }
[NotMapped]
public decimal CostViz { get; set; }//Total cost shipping + repairs
[NotMapped]
public decimal PriceViz { get; set; }//Total price shipping + repairs
[NotMapped]
public decimal NetViz { get; set; }//=priceViz for standardization not because it's necessary (before taxes line total essentially)
[NotMapped]
public decimal TaxAViz { get; set; }//total amount of taxA
[NotMapped]
public decimal TaxBViz { get; set; }//total amount of taxB
[NotMapped]
public decimal LineTotalViz { get; set; }//line total netViz + taxes
//UTILITY FIELDS