Bugfix
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user