diff --git a/Logic/Communications/OutboundComm.cs b/Logic/Communications/OutboundComm.cs index 1e072770..66c62d11 100644 --- a/Logic/Communications/OutboundComm.cs +++ b/Logic/Communications/OutboundComm.cs @@ -103,6 +103,7 @@ namespace Swarmops.Logic.Communications payload.Strings[NotificationString.BudgetAmountFloat] = amountRequested.ToString(CultureInfo.InvariantCulture); payload.Strings[NotificationString.RequestReason] = purpose; payload.Strings[NotificationString.BudgetName] = budget.Name; + payload.Strings[NotificationString.ConcernedPersonName] = concernedPerson.Canonical; OutboundComm comm = OutboundComm.Create(null, null, budget.Organization, CommResolverClass.Unknown, null, CommTransmitterClass.CommsTransmitterMail, diff --git a/Logic/Tasks/TaskAdvanceDebt.cs b/Logic/DashboardTasks/TaskAdvanceDebt.cs similarity index 87% rename from Logic/Tasks/TaskAdvanceDebt.cs rename to Logic/DashboardTasks/TaskAdvanceDebt.cs index 3656e209..2d7f6bb7 100644 --- a/Logic/Tasks/TaskAdvanceDebt.cs +++ b/Logic/DashboardTasks/TaskAdvanceDebt.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; using System.Globalization; using System.Text; -namespace Swarmops.Logic.Tasks +namespace Swarmops.Logic.DashboardTasks { public class TaskAdvanceDebt: TaskBase { diff --git a/Logic/Tasks/TaskAttestationLate.cs b/Logic/DashboardTasks/TaskAttestationLate.cs similarity index 86% rename from Logic/Tasks/TaskAttestationLate.cs rename to Logic/DashboardTasks/TaskAttestationLate.cs index aa61067b..e7ecdc7c 100644 --- a/Logic/Tasks/TaskAttestationLate.cs +++ b/Logic/DashboardTasks/TaskAttestationLate.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; using System.Text; using Swarmops.Logic.Financial; -namespace Swarmops.Logic.Tasks +namespace Swarmops.Logic.DashboardTasks { public class TaskAttestationLate: TaskBase { diff --git a/Logic/Tasks/TaskBase.cs b/Logic/DashboardTasks/TaskBase.cs similarity index 90% rename from Logic/Tasks/TaskBase.cs rename to Logic/DashboardTasks/TaskBase.cs index d1d10145..2e88c435 100644 --- a/Logic/Tasks/TaskBase.cs +++ b/Logic/DashboardTasks/TaskBase.cs @@ -2,7 +2,7 @@ using System; using System.Collections.Generic; using System.Text; -namespace Swarmops.Logic.Tasks +namespace Swarmops.Logic.DashboardTasks { public class TaskBase { diff --git a/Logic/Tasks/TaskExpenseClaim.cs b/Logic/DashboardTasks/TaskExpenseClaim.cs similarity index 88% rename from Logic/Tasks/TaskExpenseClaim.cs rename to Logic/DashboardTasks/TaskExpenseClaim.cs index 4475d0dd..1d7584f8 100644 --- a/Logic/Tasks/TaskExpenseClaim.cs +++ b/Logic/DashboardTasks/TaskExpenseClaim.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; using System.Text; using Swarmops.Logic.Financial; -namespace Swarmops.Logic.Tasks +namespace Swarmops.Logic.DashboardTasks { public class TaskExpenseClaim: TaskBase { diff --git a/Logic/Tasks/TaskGroup.cs b/Logic/DashboardTasks/TaskGroup.cs similarity index 97% rename from Logic/Tasks/TaskGroup.cs rename to Logic/DashboardTasks/TaskGroup.cs index 56d920a0..23f1e8f4 100644 --- a/Logic/Tasks/TaskGroup.cs +++ b/Logic/DashboardTasks/TaskGroup.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; using System.Text; using Swarmops.Logic.Support; -namespace Swarmops.Logic.Tasks +namespace Swarmops.Logic.DashboardTasks { public class TaskGroup { diff --git a/Logic/Tasks/TaskInboundInvoice.cs b/Logic/DashboardTasks/TaskInboundInvoice.cs similarity index 88% rename from Logic/Tasks/TaskInboundInvoice.cs rename to Logic/DashboardTasks/TaskInboundInvoice.cs index e8e1f5a7..3eb09779 100644 --- a/Logic/Tasks/TaskInboundInvoice.cs +++ b/Logic/DashboardTasks/TaskInboundInvoice.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; using System.Text; using Swarmops.Logic.Financial; -namespace Swarmops.Logic.Tasks +namespace Swarmops.Logic.DashboardTasks { public class TaskInboundInvoice: TaskBase { diff --git a/Logic/Tasks/TaskPayout.cs b/Logic/DashboardTasks/TaskPayout.cs similarity index 85% rename from Logic/Tasks/TaskPayout.cs rename to Logic/DashboardTasks/TaskPayout.cs index bbeedff6..9349a3b6 100644 --- a/Logic/Tasks/TaskPayout.cs +++ b/Logic/DashboardTasks/TaskPayout.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; using System.Text; using Swarmops.Logic.Financial; -namespace Swarmops.Logic.Tasks +namespace Swarmops.Logic.DashboardTasks { public class TaskPayout: TaskBase { diff --git a/Logic/Tasks/TaskReceiptValidation.cs b/Logic/DashboardTasks/TaskReceiptValidation.cs similarity index 87% rename from Logic/Tasks/TaskReceiptValidation.cs rename to Logic/DashboardTasks/TaskReceiptValidation.cs index 3da5ccca..9a3b6fb8 100644 --- a/Logic/Tasks/TaskReceiptValidation.cs +++ b/Logic/DashboardTasks/TaskReceiptValidation.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; using System.Text; using Swarmops.Logic.Financial; -namespace Swarmops.Logic.Tasks +namespace Swarmops.Logic.DashboardTasks { public class TaskReceiptValidation: TaskBase { diff --git a/Logic/Tasks/TaskSalary.cs b/Logic/DashboardTasks/TaskSalary.cs similarity index 89% rename from Logic/Tasks/TaskSalary.cs rename to Logic/DashboardTasks/TaskSalary.cs index 383e4835..41b7a7d0 100644 --- a/Logic/Tasks/TaskSalary.cs +++ b/Logic/DashboardTasks/TaskSalary.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; using System.Text; using Swarmops.Logic.Financial; -namespace Swarmops.Logic.Tasks +namespace Swarmops.Logic.DashboardTasks { public class TaskSalary: TaskBase { diff --git a/Logic/Tasks/TaskVolunteer.cs b/Logic/DashboardTasks/TaskVolunteer.cs similarity index 87% rename from Logic/Tasks/TaskVolunteer.cs rename to Logic/DashboardTasks/TaskVolunteer.cs index 1a308226..f242b23f 100644 --- a/Logic/Tasks/TaskVolunteer.cs +++ b/Logic/DashboardTasks/TaskVolunteer.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; using System.Text; using Swarmops.Logic.Swarm; -namespace Swarmops.Logic.Tasks +namespace Swarmops.Logic.DashboardTasks { public class TaskVolunteer: TaskBase { diff --git a/Logic/Tasks/Tasks.cs b/Logic/DashboardTasks/Tasks.cs similarity index 96% rename from Logic/Tasks/Tasks.cs rename to Logic/DashboardTasks/Tasks.cs index 2e2501a0..5a80d95d 100644 --- a/Logic/Tasks/Tasks.cs +++ b/Logic/DashboardTasks/Tasks.cs @@ -7,7 +7,7 @@ using Swarmops.Logic.Security; using Swarmops.Logic.Structure; using Swarmops.Basic.Enums; -namespace Swarmops.Logic.Tasks +namespace Swarmops.Logic.DashboardTasks { public class Tasks: List { diff --git a/Logic/Logic.csproj b/Logic/Logic.csproj index cc12dc8f..b8b20e1b 100644 --- a/Logic/Logic.csproj +++ b/Logic/Logic.csproj @@ -269,17 +269,17 @@ - - - - - - - - - - - + + + + + + + + + + + diff --git a/Logic/Swarm/Person.cs b/Logic/Swarm/Person.cs index c4fbd81a..dacd7940 100644 --- a/Logic/Swarm/Person.cs +++ b/Logic/Swarm/Person.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; using System.Drawing; using System.Globalization; using System.Text; -using Swarmops.Logic.Tasks; +using Swarmops.Logic.DashboardTasks; using Swarmops; using System.Text.RegularExpressions; using Swarmops.Basic.Enums; @@ -968,9 +968,9 @@ namespace Swarmops.Logic.Swarm set { OptionalData.SetOptionalDataString(ObjectOptionalDataType.BlogUrl, value); } } - public Tasks.Tasks Tasks + public DashboardTasks.Tasks Tasks { - get { return Logic.Tasks.Tasks.ForPerson(this); } + get { return Logic.DashboardTasks.Tasks.ForPerson(this); } } public string Formal