Esempio n. 1
0
 private static void SendTaskToSupervisor(int taskId, string supervisor, string nextStatus, decimal budget, string comment)
 {
     Data_Utilities.SetTaskResponsible(taskId, supervisor);
     Data_Utilities.SetTaskExtraBudget(taskId, budget);
     Data_Utilities.SetTaskStatus(taskId, nextStatus);
     Data_Utilities.SetTaskExtraComment(taskId, comment);
 }
Esempio n. 2
0
 private static void SendTaskToSubteam(int taskId, string nextStatus, decimal requiredBudget, string comment)
 {
     Data_Utilities.SetTaskResponsible(taskId, "");
     Data_Utilities.SetTaskStatus(taskId, nextStatus);
     Data_Utilities.SetTaskExtraComment(taskId, comment);
     if (requiredBudget > 0)
     {
         Data_Utilities.SetTaskExtraBudget(taskId, 0m);
         Data_Utilities.SetTaskBudget(taskId, requiredBudget);
     }
 }