From f260aff0f21741e1aed5e542098e0e920f47167a Mon Sep 17 00:00:00 2001 From: Rick Falkvinge Date: Tue, 10 May 2016 22:25:10 +0200 Subject: [PATCH] Added yet another default account! --- .../Logic.Financial.FinancialAccount.Designer.cs | 9 +++++++++ Logic/Resources/Logic.Financial.FinancialAccount.resx | 3 +++ Logic/Structure/Organization.cs | 3 ++- 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/Logic/Resources/Logic.Financial.FinancialAccount.Designer.cs b/Logic/Resources/Logic.Financial.FinancialAccount.Designer.cs index d545eff6..9cb2e1cf 100644 --- a/Logic/Resources/Logic.Financial.FinancialAccount.Designer.cs +++ b/Logic/Resources/Logic.Financial.FinancialAccount.Designer.cs @@ -375,6 +375,15 @@ namespace Swarmops.Logic.Resources { } } + /// + /// Looks up a localized string similar to Office Supplies (consumables). + /// + internal static string Cost_OfficeSupplies { + get { + return ResourceManager.GetString("Cost_OfficeSupplies", resourceCulture); + } + } + /// /// Looks up a localized string similar to Public Transit. /// diff --git a/Logic/Resources/Logic.Financial.FinancialAccount.resx b/Logic/Resources/Logic.Financial.FinancialAccount.resx index 77e19c4f..06341c2c 100644 --- a/Logic/Resources/Logic.Financial.FinancialAccount.resx +++ b/Logic/Resources/Logic.Financial.FinancialAccount.resx @@ -233,6 +233,9 @@ Office Space, Maintenance + + Office Supplies (consumables) + Public Transit The local kind within a city or limited area. diff --git a/Logic/Structure/Organization.cs b/Logic/Structure/Organization.cs index 7128edf9..478f8181 100644 --- a/Logic/Structure/Organization.cs +++ b/Logic/Structure/Organization.cs @@ -497,7 +497,8 @@ namespace Swarmops.Logic.Structure FinancialAccount officeMaster = FinancialAccount.Create (this, "[LOC]Cost_Offices", FinancialAccountType.Cost, null); FinancialAccount.Create (this, "[LOC]Cost_OfficeSpace", FinancialAccountType.Cost, officeMaster); - FinancialAccount.Create (this, "[LOC]Cost_OfficeEquipment", FinancialAccountType.Cost, officeMaster); + FinancialAccount.Create(this, "[LOC]Cost_OfficeEquipment", FinancialAccountType.Cost, officeMaster); + FinancialAccount.Create(this, "[LOC]Cost_OfficeSupplies", FinancialAccountType.Cost, officeMaster); FinancialAccount.Create (this, "[LOC]Cost_Unforeseen", FinancialAccountType.Cost, null); FinancialAccount.Create (this, "[LOC]Cost_MarketingCampaigns", FinancialAccountType.Cost, null);