This commit is contained in:
2021-07-26 17:15:07 +00:00
parent 6bcee0dd88
commit e0d6f14156

View File

@@ -1331,10 +1331,10 @@ namespace AyaNova.Util
}
//--------- quote status
//--------- QUOTE STATUS
/////////////////////////////////////////////////////
//WorkorderStatus
//QuoteStatus
{
{
@@ -1342,7 +1342,7 @@ namespace AyaNova.Util
stat.Name = "Submitted";
stat.Active = true;
stat.Color = "#c00000";
stat.Completed = false;
stat.Completed = true;
stat.Locked = true;
stat.SelectRoles = AuthorizationRoles.BizAdmin | AuthorizationRoles.Sales | AuthorizationRoles.Accounting;
stat.RemoveRoles = AuthorizationRoles.BizAdmin | AuthorizationRoles.Sales | AuthorizationRoles.Accounting;
@@ -1366,8 +1366,8 @@ namespace AyaNova.Util
stat.Name = "Awarded";
stat.Active = true;
stat.Color = "#80ffff";
stat.Completed = false;
stat.Locked = false;
stat.Completed = true;
stat.Locked = true;
stat.SelectRoles = AuthorizationRoles.BizAdmin | AuthorizationRoles.Sales | AuthorizationRoles.Accounting;
stat.RemoveRoles = AuthorizationRoles.BizAdmin | AuthorizationRoles.Sales | AuthorizationRoles.Accounting | AuthorizationRoles.Service;
stat.Notes = "Waiting for work order to be generated";
@@ -1439,7 +1439,7 @@ namespace AyaNova.Util
stat.Active = true;
stat.Color = "#8080ff";
stat.Completed = false;
stat.Locked = true;
stat.Locked = false;
stat.SelectRoles = AuthorizationRoles.BizAdmin | AuthorizationRoles.Sales | AuthorizationRoles.Accounting;
stat.RemoveRoles = AuthorizationRoles.BizAdmin | AuthorizationRoles.Sales | AuthorizationRoles.Accounting;
stat.Notes = "New quote required; Sales to complete this Quote for submission";
@@ -3611,7 +3611,7 @@ namespace AyaNova.Util
{
var WoState = new QuoteState()
{
QuoteStatusId = (long)SeedQuoteStatus.InProcess,
QuoteStatusId = 3,//In progress
UserId = RandomServiceTechUserId(),
Created = woDate.AddMinutes(5)
};