This commit is contained in:
@@ -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)
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user