This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using Newtonsoft.Json;
|
||||
namespace AyaNova.Models
|
||||
@@ -28,13 +29,15 @@ namespace AyaNova.Models
|
||||
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