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