This commit is contained in:
@@ -22,6 +22,7 @@ namespace AyaNova.DataList
|
||||
UiFieldDataType = (int)UiFieldDataType.Text,
|
||||
SqlIdColumnName = "aworkorderstatus.id",
|
||||
SqlValueColumnName = "aworkorderstatus.name",
|
||||
SqlColorColumnName = "aworkorderstatus.color",
|
||||
IsRowId = true
|
||||
});
|
||||
|
||||
|
||||
@@ -32,9 +32,10 @@ namespace AyaNova.Biz
|
||||
_formFieldKeys.Add(t.ToString());
|
||||
}
|
||||
}
|
||||
//No type form keys:
|
||||
//No type / not corebiz form keys:
|
||||
_formFieldKeys.Add("Contact");
|
||||
_formFieldKeys.Add(AyaType.ServiceBank.ToString());
|
||||
_formFieldKeys.Add(AyaType.WorkOrderStatus.ToString());
|
||||
}
|
||||
return _formFieldKeys;
|
||||
}
|
||||
@@ -885,6 +886,14 @@ namespace AyaNova.Biz
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region WorkOrderStatus
|
||||
{
|
||||
List<FormField> l = new List<FormField>();
|
||||
l.Add(new FormField { TKey = "WorkOrderStatusNotes", FieldKey = "WorkOrderStatusNotes" });
|
||||
_formFields.Add(AyaType.WorkOrderStatus.ToString(), l);
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region CustomerServiceRequest
|
||||
{
|
||||
List<FormField> l = new List<FormField>();
|
||||
|
||||
@@ -1033,7 +1033,7 @@ namespace AyaNova.Util
|
||||
WorkOrderStatus stat = new WorkOrderStatus();
|
||||
stat.Name = "Closed";
|
||||
stat.Active = true;
|
||||
stat.Color = "#000000";
|
||||
stat.Color = "#ffffff";
|
||||
stat.Completed = true;
|
||||
stat.Locked = true;
|
||||
stat.SelectRoles = AuthorizationRoles.DispatchFull | AuthorizationRoles.BizAdminFull;
|
||||
|
||||
Reference in New Issue
Block a user