After code cleanup
This commit is contained in:
@@ -1,8 +1,5 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace AyaNovaQBI
|
||||
{
|
||||
@@ -12,19 +9,19 @@ namespace AyaNovaQBI
|
||||
public uint Concurrency { get; set; }
|
||||
|
||||
public long? UserId { get; set; }
|
||||
|
||||
|
||||
public string UserViz { get; set; }
|
||||
public DateTime? TravelStartDate { get; set; }
|
||||
public DateTime? TravelStopDate { get; set; }
|
||||
public long? TravelRateId { get; set; }
|
||||
|
||||
|
||||
public string TravelRateViz { get; set; }
|
||||
public string TravelDetails { get; set; }
|
||||
public decimal TravelRateQuantity { get; set; }
|
||||
public decimal NoChargeQuantity { get; set; }
|
||||
//public long? ServiceBankId { get; set; }
|
||||
public long? TaxCodeSaleId { get; set; }
|
||||
|
||||
|
||||
public string TaxCodeViz { get; set; }
|
||||
public decimal Distance { get; set; }
|
||||
|
||||
@@ -32,30 +29,30 @@ namespace AyaNovaQBI
|
||||
//Standard pricing fields (mostly to support printed reports though some show in UI)
|
||||
//some not to be sent with record depending on role (i.e. cost and charge in some cases)
|
||||
public decimal? PriceOverride { get; set; }//user entered manually overridden price, if null then ignored in calcs otherwise this *is* the price even if zero
|
||||
|
||||
|
||||
public decimal CostViz { get; set; }//cost from source record (e.g. serviceRate) or zero if no cost entered
|
||||
|
||||
|
||||
public decimal ListPriceViz { get; set; }//List price from source record (e.g. serviceRate) or zero if no cost entered
|
||||
|
||||
|
||||
public string UnitOfMeasureViz { get; set; }//"each", "hour" etc
|
||||
|
||||
|
||||
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
|
||||
|
||||
|
||||
public decimal NetViz { get; set; }//quantity * price (before taxes line total essentially)
|
||||
|
||||
|
||||
public decimal TaxAViz { get; set; }//total amount of taxA
|
||||
|
||||
|
||||
public decimal TaxBViz { get; set; }//total amount of taxB
|
||||
|
||||
|
||||
public decimal LineTotalViz { get; set; }//line total netViz + taxes
|
||||
|
||||
//workaround for notification
|
||||
|
||||
|
||||
public List<string> Tags { get; set; } = new List<string>();
|
||||
|
||||
|
||||
public string Name { get; set; }
|
||||
|
||||
|
||||
|
||||
public long WorkOrderItemId { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user