This commit is contained in:
2021-02-19 16:13:41 +00:00
parent d8e5f73823
commit b8a35b1eb2
4 changed files with 93 additions and 27 deletions

View File

@@ -42,6 +42,11 @@ namespace AyaNova.Models
[NotMapped, JsonIgnore]
public AyaType AyaType { get => AyaType.PurchaseOrder; }
[NotMapped]
public bool DisplayWarehouses { get; set; }
[NotMapped]
public bool DisplayPartRequest { get; set; }
}//eoc
}//eons

View File

@@ -34,7 +34,7 @@ namespace AyaNova.Models
public PurchaseOrder PurchaseOrder { get; set; }
//mirror fields to save a roundtrip to the UI, not persisted
//server populated fields not db fields
[NotMapped]
public string DisplayPartNumber { get; set; }
[NotMapped]
@@ -46,6 +46,16 @@ namespace AyaNova.Models
[NotMapped]
public string DisplayTaxCode { get; set; }
[NotMapped]
public decimal DisplayNetTotal { get; set; }
[NotMapped]
public decimal DisplayTaxA { get; set; }
[NotMapped]
public decimal DisplayTaxB { get; set; }
[NotMapped]
public decimal DisplayLineTotal { get; set; }