This commit is contained in:
@@ -20,8 +20,7 @@ namespace AyaNova.Models
|
||||
[Required]
|
||||
public decimal TaxPaid { get; set; }
|
||||
public long? ChargeTaxCodeId { get; set; }
|
||||
[NotMapped]
|
||||
public string ChargeTaxCodeViz { get; set; }
|
||||
|
||||
public bool ReimburseUser { get; set; } = false;
|
||||
public long? UserId { get; set; }
|
||||
[NotMapped]
|
||||
@@ -29,6 +28,22 @@ namespace AyaNova.Models
|
||||
public bool ChargeToCustomer { get; set; } = false;
|
||||
|
||||
|
||||
//TAX AND TOTAL FIELDS
|
||||
public string TaxName { get; set; }
|
||||
[Required]
|
||||
public decimal TaxAPct { get; set; }
|
||||
[Required]
|
||||
public decimal TaxBPct { get; set; }
|
||||
[Required]
|
||||
public bool TaxOnTax { get; set; }
|
||||
[NotMapped]
|
||||
public decimal TaxAViz { get; set; }
|
||||
[NotMapped]
|
||||
public decimal TaxBViz { get; set; }
|
||||
[NotMapped]
|
||||
public decimal LineTotalViz { get; set; }
|
||||
|
||||
|
||||
//UTILITY FIELDS
|
||||
[NotMapped]
|
||||
public bool IsDirty { get; set; } = false;//never dirty coming from the server
|
||||
|
||||
Reference in New Issue
Block a user