This commit is contained in:
Rick Falkvinge
2013-10-02 10:47:14 +00:00
parent 0308ac2962
commit c0e37ca1b8
2 changed files with 3 additions and 4 deletions
@@ -275,17 +275,16 @@ namespace Swarmops.Logic.Financial
"Unspecified Costs",
FinancialAccountType.Cost, 0);
defaultCostTypeAccount.Dimension = 2;
this[OrganizationFinancialAccountType.CostTypeUnspecified] = defaultCostTypeAccount;
FinancialAccount defaultIncomeTypeAccount = FinancialAccount.Create(this._organizationId,
"Unspecified Income",
FinancialAccountType.Income, 0);
defaultIncomeTypeAccount.Dimension = 2;
this[OrganizationFinancialAccountType.IncomeTypeUnspecified] = defaultIncomeTypeAccount;
result.Add(defaultCostTypeAccount);
this[OrganizationFinancialAccountType.IncomeTypeUnspecified] = defaultIncomeTypeAccount;
}
return result;
+2 -2
View File
@@ -201,9 +201,9 @@ namespace Swarmops.Frontend.Automation
utcNow.Month.ToString ("00") + Path.DirectorySeparatorChar +
utcNow.Day.ToString ("00");
if (!Directory.Exists (fileFolder))
if (!Directory.Exists (StorageRoot + fileFolder))
{
Directory.CreateDirectory (fileFolder);
Directory.CreateDirectory (StorageRoot + fileFolder);
}
int fileCounter = 0;