This commit is contained in:
@@ -119,12 +119,17 @@ namespace AyaNova.Api.Controllers
|
|||||||
DefaultTaxRateSaleId = AyaNova.Util.ServerGlobalBizSettings.Cache.TaxRateSaleId,
|
DefaultTaxRateSaleId = AyaNova.Util.ServerGlobalBizSettings.Cache.TaxRateSaleId,
|
||||||
WorkOrderTravelDefaultMinutes = AyaNova.Util.ServerGlobalBizSettings.Cache.WorkOrderTravelDefaultMinutes,
|
WorkOrderTravelDefaultMinutes = AyaNova.Util.ServerGlobalBizSettings.Cache.WorkOrderTravelDefaultMinutes,
|
||||||
WorkLaborScheduleDefaultMinutes = AyaNova.Util.ServerGlobalBizSettings.Cache.WorkLaborScheduleDefaultMinutes,
|
WorkLaborScheduleDefaultMinutes = AyaNova.Util.ServerGlobalBizSettings.Cache.WorkLaborScheduleDefaultMinutes,
|
||||||
|
SignatureTitle = AyaNova.Util.ServerGlobalBizSettings.Cache.SignatureTitle,
|
||||||
|
SignatureHeader = AyaNova.Util.ServerGlobalBizSettings.Cache.SignatureHeader,
|
||||||
|
SignatureFooter = AyaNova.Util.ServerGlobalBizSettings.Cache.SignatureFooter,
|
||||||
|
|
||||||
|
|
||||||
//used to drive UI in case of unlicensed or attention required
|
//used to drive UI in case of unlicensed or attention required
|
||||||
LicenseStatus = AyaNova.Core.License.ActiveKey.Status,
|
LicenseStatus = AyaNova.Core.License.ActiveKey.Status,
|
||||||
MaintenanceExpired = AyaNova.Core.License.ActiveKey.MaintenanceExpired,
|
MaintenanceExpired = AyaNova.Core.License.ActiveKey.MaintenanceExpired,
|
||||||
ServerDbId = AyaNova.Core.License.ServerDbId,
|
ServerDbId = AyaNova.Core.License.ServerDbId,
|
||||||
Company = AyaNova.Core.License.ActiveKey.RegisteredTo
|
Company = AyaNova.Core.License.ActiveKey.RegisteredTo
|
||||||
|
|
||||||
// ,
|
// ,
|
||||||
// TestTSDaysWMS=new TimeSpan(22,10,15,22,33),
|
// TestTSDaysWMS=new TimeSpan(22,10,15,22,33),
|
||||||
// TestTSHMS=new TimeSpan(5,16,33),
|
// TestTSHMS=new TimeSpan(5,16,33),
|
||||||
|
|||||||
@@ -77,12 +77,13 @@ namespace AyaNova.Models
|
|||||||
public List<string> CustomerAllowNotifyWOCreatedInTags { get; set; } = new List<string>();
|
public List<string> CustomerAllowNotifyWOCreatedInTags { get; set; } = new List<string>();
|
||||||
public List<string> CustomerAllowNotifyWOCreatedOutTags { get; set; } = new List<string>();
|
public List<string> CustomerAllowNotifyWOCreatedOutTags { get; set; } = new List<string>();
|
||||||
|
|
||||||
public bool CustomerAllowNotifyWOCompleted { get; set; }
|
public bool CustomerAllowNotifyWOCompleted { get; set; }
|
||||||
public List<string> CustomerAllowNotifyWOCompletedInTags { get; set; } = new List<string>();
|
public List<string> CustomerAllowNotifyWOCompletedInTags { get; set; } = new List<string>();
|
||||||
public List<string> CustomerAllowNotifyWOCompletedOutTags { get; set; } = new List<string>();
|
public List<string> CustomerAllowNotifyWOCompletedOutTags { get; set; } = new List<string>();
|
||||||
|
|
||||||
|
public string SignatureTitle { get; set; }
|
||||||
|
public string SignatureHeader { get; set; }
|
||||||
|
public string SignatureFooter { get; set; }
|
||||||
|
|
||||||
|
|
||||||
public GlobalBizSettings()
|
public GlobalBizSettings()
|
||||||
@@ -90,11 +91,10 @@ namespace AyaNova.Models
|
|||||||
Id = 1;//always 1
|
Id = 1;//always 1
|
||||||
SearchCaseSensitiveOnly = false;
|
SearchCaseSensitiveOnly = false;
|
||||||
UseInventory = true;
|
UseInventory = true;
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//Used internally and at client end as extended rights atop roles system in relation only to Contact (customer type users)
|
//Used internally and at client end as extended rights atop roles system in relation only to Contact (customer type users)
|
||||||
public record CustomerRightsRecord(bool CSR, bool WO, bool WOWIKI, bool UserSettings, bool NotifyServiceImminent, bool NotifyCSRAccepted, bool NotifyCSRRejected, bool NotifyWOCreated, bool NotifyWOCompleted);
|
public record CustomerRightsRecord(bool CSR, bool WO, bool WOWIKI, bool UserSettings, bool NotifyServiceImminent, bool NotifyCSRAccepted, bool NotifyCSRRejected, bool NotifyWOCreated, bool NotifyWOCompleted);
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ namespace AyaNova.Util
|
|||||||
//!!!!WARNING: BE SURE TO UPDATE THE DbUtil::EmptyBizDataFromDatabaseForSeedingOrImporting WHEN NEW TABLES ADDED!!!!
|
//!!!!WARNING: BE SURE TO UPDATE THE DbUtil::EmptyBizDataFromDatabaseForSeedingOrImporting WHEN NEW TABLES ADDED!!!!
|
||||||
private const int DESIRED_SCHEMA_LEVEL = 1;
|
private const int DESIRED_SCHEMA_LEVEL = 1;
|
||||||
|
|
||||||
internal const long EXPECTED_COLUMN_COUNT = 957;
|
internal const long EXPECTED_COLUMN_COUNT = 960;
|
||||||
internal const long EXPECTED_INDEX_COUNT = 137;
|
internal const long EXPECTED_INDEX_COUNT = 137;
|
||||||
internal const long EXPECTED_CHECK_CONSTRAINTS = 415;
|
internal const long EXPECTED_CHECK_CONSTRAINTS = 415;
|
||||||
internal const long EXPECTED_FOREIGN_KEY_CONSTRAINTS = 118;
|
internal const long EXPECTED_FOREIGN_KEY_CONSTRAINTS = 118;
|
||||||
@@ -255,6 +255,9 @@ namespace AyaNova.Util
|
|||||||
+ "workordercompletebyage INTERVAL NOT NULL DEFAULT '00:00:00', "
|
+ "workordercompletebyage INTERVAL NOT NULL DEFAULT '00:00:00', "
|
||||||
+ "workordertraveldefaultminutes INTEGER NOT NULL DEFAULT 0, "
|
+ "workordertraveldefaultminutes INTEGER NOT NULL DEFAULT 0, "
|
||||||
+ "worklaborscheduledefaultminutes INTEGER NOT NULL DEFAULT 0, "
|
+ "worklaborscheduledefaultminutes INTEGER NOT NULL DEFAULT 0, "
|
||||||
|
+ "signaturetitle TEXT, "
|
||||||
|
+ "signatureheader TEXT, "
|
||||||
|
+ "signaturefooter TEXT, "
|
||||||
|
|
||||||
+ "customerservicerequestinfohtml TEXT, "
|
+ "customerservicerequestinfohtml TEXT, "
|
||||||
+ "customerallowcsr BOOL DEFAULT FALSE, customerallowcsrintags VARCHAR(255) ARRAY, customerallowcsrouttags VARCHAR(255) ARRAY, "
|
+ "customerallowcsr BOOL DEFAULT FALSE, customerallowcsrintags VARCHAR(255) ARRAY, customerallowcsrouttags VARCHAR(255) ARRAY, "
|
||||||
|
|||||||
Reference in New Issue
Block a user