This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using Newtonsoft.Json;
|
||||
namespace AyaNova.Models
|
||||
@@ -23,18 +24,20 @@ namespace AyaNova.Models
|
||||
public bool SearchCaseSensitiveOnly { get; set; }
|
||||
public bool UseInventory { get; set; }
|
||||
|
||||
//TAX CODE DEFAULTS
|
||||
public long? TaxPartPurchaseId {get;set;}
|
||||
public long? TaxPartSaleId {get;set;}
|
||||
public long? TaxRateSaleId {get;set;}
|
||||
|
||||
//TAX CODE DEFAULTS
|
||||
public long? TaxPartPurchaseId { get; set; }
|
||||
public long? TaxPartSaleId { get; set; }
|
||||
public long? TaxRateSaleId { get; set; }
|
||||
|
||||
[Required]
|
||||
public TimeSpan WorkOrderCompleteByAge { get; set; } = TimeSpan.Zero;//was workorderclosebyage
|
||||
|
||||
public GlobalBizSettings()
|
||||
{
|
||||
Id = 1;//always 1
|
||||
SearchCaseSensitiveOnly = false;
|
||||
UseInventory = true;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -255,7 +255,8 @@ namespace AyaNova.Util
|
||||
+ "useinventory BOOL DEFAULT TRUE, "
|
||||
+ "taxpartpurchaseid BIGINT, "
|
||||
+ "taxpartsaleid BIGINT, "
|
||||
+ "taxratesaleid BIGINT "
|
||||
+ "taxratesaleid BIGINT, "
|
||||
+ "workordercompletebyage INTERVAL NOT NULL"
|
||||
+ ")");
|
||||
|
||||
//create global ops BACKUP settings table
|
||||
|
||||
Reference in New Issue
Block a user