Moved Logic.Tasks to Logic.DashboardTasks

This commit is contained in:
Rick Falkvinge
2013-09-07 14:33:29 +00:00
parent c4314bd8c6
commit 7edf8d4248
14 changed files with 26 additions and 25 deletions
+1
View File
@@ -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,
@@ -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
{
@@ -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
{
@@ -2,7 +2,7 @@ using System;
using System.Collections.Generic;
using System.Text;
namespace Swarmops.Logic.Tasks
namespace Swarmops.Logic.DashboardTasks
{
public class TaskBase
{
@@ -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
{
@@ -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
{
@@ -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
{
@@ -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
{
@@ -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
{
@@ -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
{
@@ -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
{
@@ -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<TaskGroup>
{
+11 -11
View File
@@ -269,17 +269,17 @@
<Compile Include="Swarm\VolunteerRole.cs" />
<Compile Include="Swarm\VolunteerRoles.cs" />
<Compile Include="Swarm\Volunteers.cs" />
<Compile Include="Tasks\TaskAdvanceDebt.cs" />
<Compile Include="Tasks\TaskAttestationLate.cs" />
<Compile Include="Tasks\TaskPayout.cs" />
<Compile Include="Tasks\TaskBase.cs" />
<Compile Include="Tasks\TaskReceiptValidation.cs" />
<Compile Include="Tasks\TaskExpenseClaim.cs" />
<Compile Include="Tasks\TaskGroup.cs" />
<Compile Include="Tasks\TaskInboundInvoice.cs" />
<Compile Include="Tasks\Tasks.cs" />
<Compile Include="Tasks\TaskSalary.cs" />
<Compile Include="Tasks\TaskVolunteer.cs" />
<Compile Include="DashboardTasks\TaskAdvanceDebt.cs" />
<Compile Include="DashboardTasks\TaskAttestationLate.cs" />
<Compile Include="DashboardTasks\TaskPayout.cs" />
<Compile Include="DashboardTasks\TaskBase.cs" />
<Compile Include="DashboardTasks\TaskReceiptValidation.cs" />
<Compile Include="DashboardTasks\TaskExpenseClaim.cs" />
<Compile Include="DashboardTasks\TaskGroup.cs" />
<Compile Include="DashboardTasks\TaskInboundInvoice.cs" />
<Compile Include="DashboardTasks\Tasks.cs" />
<Compile Include="DashboardTasks\TaskSalary.cs" />
<Compile Include="DashboardTasks\TaskVolunteer.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Basic\Basic.csproj">
+3 -3
View File
@@ -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