Added some more default accounts

This commit is contained in:
Rick Falkvinge
2016-05-09 18:03:33 +02:00
parent 916d13d291
commit a24e25c022
3 changed files with 169 additions and 17 deletions
+110 -2
View File
@@ -1,7 +1,7 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34209
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
@@ -141,6 +141,15 @@ namespace Swarmops.Logic.Resources {
}
}
/// <summary>
/// Looks up a localized string similar to Airfare, Airports, and Transit.
/// </summary>
internal static string Cost_Airfare {
get {
return ResourceManager.GetString("Cost_Airfare", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Allocated Funds.
/// </summary>
@@ -169,7 +178,7 @@ namespace Swarmops.Logic.Resources {
}
/// <summary>
/// Looks up a localized string similar to Financial Fees.
/// Looks up a localized string similar to Bank Fees.
/// </summary>
internal static string Cost_BankFees {
get {
@@ -204,6 +213,15 @@ namespace Swarmops.Logic.Resources {
}
}
/// <summary>
/// Looks up a localized string similar to Financial fees.
/// </summary>
internal static string Cost_FinancialFees {
get {
return ResourceManager.GetString("Cost_FinancialFees", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Forex Capital Losses.
/// </summary>
@@ -213,6 +231,15 @@ namespace Swarmops.Logic.Resources {
}
}
/// <summary>
/// Looks up a localized string similar to Hospitality.
/// </summary>
internal static string Cost_Hospitality {
get {
return ResourceManager.GetString("Cost_Hospitality", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to ICT and Infrastructure.
/// </summary>
@@ -231,6 +258,15 @@ namespace Swarmops.Logic.Resources {
}
}
/// <summary>
/// Looks up a localized string similar to Legal fees.
/// </summary>
internal static string Cost_LegalFees {
get {
return ResourceManager.GetString("Cost_LegalFees", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Marketing and Campaigns.
/// </summary>
@@ -240,6 +276,15 @@ namespace Swarmops.Logic.Resources {
}
}
/// <summary>
/// Looks up a localized string similar to Office Equipment.
/// </summary>
internal static string Cost_OfficeEquipment {
get {
return ResourceManager.GetString("Cost_OfficeEquipment", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Offices.
/// </summary>
@@ -249,6 +294,24 @@ namespace Swarmops.Logic.Resources {
}
}
/// <summary>
/// Looks up a localized string similar to Office Space &amp; Maintenance.
/// </summary>
internal static string Cost_OfficeSpace {
get {
return ResourceManager.GetString("Cost_OfficeSpace", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Public Transit.
/// </summary>
internal static string Cost_PublicTransit {
get {
return ResourceManager.GetString("Cost_PublicTransit", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Research and Development.
/// </summary>
@@ -312,6 +375,24 @@ namespace Swarmops.Logic.Resources {
}
}
/// <summary>
/// Looks up a localized string similar to Taxi, Limo, etc.
/// </summary>
internal static string Cost_TaxiTransport {
get {
return ResourceManager.GetString("Cost_TaxiTransport", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Trains and Ferries.
/// </summary>
internal static string Cost_TrainsFerries {
get {
return ResourceManager.GetString("Cost_TrainsFerries", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Transportation.
/// </summary>
@@ -321,6 +402,33 @@ namespace Swarmops.Logic.Resources {
}
}
/// <summary>
/// Looks up a localized string similar to Travel.
/// </summary>
internal static string Cost_Travel {
get {
return ResourceManager.GetString("Cost_Travel", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Lodging.
/// </summary>
internal static string Cost_TravelLodging {
get {
return ResourceManager.GetString("Cost_TravelLodging", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Per Diems.
/// </summary>
internal static string Cost_TravelPerDiem {
get {
return ResourceManager.GetString("Cost_TravelPerDiem", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Unforeseen.
/// </summary>
@@ -146,6 +146,9 @@
<value>Accounting Errors</value>
<comment>Used to compensate for all kinds of random mistakes</comment>
</data>
<data name="Cost_Airfare" xml:space="preserve">
<value>Airfare, Airports, and Transit</value>
</data>
<data name="Cost_AllocatedFunds" xml:space="preserve">
<value>Allocated Funds</value>
</data>
@@ -156,7 +159,7 @@
<value>Asset Depreciation</value>
</data>
<data name="Cost_BankFees" xml:space="preserve">
<value>Financial Fees</value>
<value>Bank Fees</value>
</data>
<data name="Cost_BitcoinFees" xml:space="preserve">
<value>Bitcoin Miner Fees</value>
@@ -168,22 +171,41 @@
<data name="Cost_Conferences" xml:space="preserve">
<value>Conferences</value>
</data>
<data name="Cost_FinancialFees" xml:space="preserve">
<value>Financial fees</value>
<comment>Master account to bitcoin mining and bank fees</comment>
</data>
<data name="Cost_ForexLosses" xml:space="preserve">
<value>Forex Capital Losses</value>
<comment>"Forex" here is short for "Foreign Currency Exchange Rate". May include bitcoin.</comment>
</data>
<data name="Cost_Hospitality" xml:space="preserve">
<value>Hospitality</value>
</data>
<data name="Cost_IctInfrastructure" xml:space="preserve">
<value>ICT and Infrastructure</value>
</data>
<data name="Cost_InterestLosses" xml:space="preserve">
<value>Interest Losses</value>
</data>
<data name="Cost_LegalFees" xml:space="preserve">
<value>Legal fees</value>
</data>
<data name="Cost_MarketingCampaigns" xml:space="preserve">
<value>Marketing and Campaigns</value>
</data>
<data name="Cost_OfficeEquipment" xml:space="preserve">
<value>Office Equipment</value>
</data>
<data name="Cost_Offices" xml:space="preserve">
<value>Offices</value>
</data>
<data name="Cost_OfficeSpace" xml:space="preserve">
<value>Office Space &amp; Maintenance</value>
</data>
<data name="Cost_PublicTransit" xml:space="preserve">
<value>Public Transit</value>
</data>
<data name="Cost_ResearchDevelopment" xml:space="preserve">
<value>Research and Development</value>
</data>
@@ -207,9 +229,25 @@
<data name="Cost_Taxes" xml:space="preserve">
<value>Taxes</value>
</data>
<data name="Cost_TaxiTransport" xml:space="preserve">
<value>Taxi, Limo, etc</value>
</data>
<data name="Cost_TrainsFerries" xml:space="preserve">
<value>Trains and Ferries</value>
</data>
<data name="Cost_Transportation" xml:space="preserve">
<value>Transportation</value>
</data>
<data name="Cost_Travel" xml:space="preserve">
<value>Travel</value>
<comment>Root account for travel related accounts</comment>
</data>
<data name="Cost_TravelLodging" xml:space="preserve">
<value>Lodging</value>
</data>
<data name="Cost_TravelPerDiem" xml:space="preserve">
<value>Per Diems</value>
</data>
<data name="Cost_Unforeseen" xml:space="preserve">
<value>Unforeseen</value>
</data>
+20 -14
View File
@@ -462,18 +462,8 @@ namespace Swarmops.Logic.Structure
FinancialAccount.Create (this, "[LOC]Asset_OutboundInvoices", FinancialAccountType.Asset, null);
FinancialAccounts[OrganizationFinancialAccountType.AssetsOutstandingCashAdvances] =
FinancialAccount.Create (this, "[LOC]Asset_CashAdvances", FinancialAccountType.Asset, null);
//FinancialAccounts[OrganizationFinancialAccountType.AssetsPaypal] =
// FinancialAccount.Create(this, "Paypal Account", FinancialAccountType.Asset, null);
//FinancialAccounts[OrganizationFinancialAccountType.AssetsBitcoinHot] =
// FinancialAccount.Create(this, "Bitcoin Holdings (Hot)", FinancialAccountType.Asset, null);
//FinancialAccounts[OrganizationFinancialAccountType.AssetsBitcoinCold] =
// FinancialAccount.Create(this, "Bitcoin Cold Storage", FinancialAccountType.Asset, null);
//FinancialAccounts[OrganizationFinancialAccountType.AssetsVatInbound] =
// FinancialAccount.Create(this, "Inbound Value Added Tax", FinancialAccountType.Asset, null);
FinancialAccounts[OrganizationFinancialAccountType.CostsAllocatedFunds] =
FinancialAccount.Create (this, "[LOC]Cost_AllocatedFunds", FinancialAccountType.Cost, null);
FinancialAccounts[OrganizationFinancialAccountType.CostsBankFees] =
FinancialAccount.Create (this, "[LOC]Cost_BankFees", FinancialAccountType.Cost, null);
FinancialAccounts[OrganizationFinancialAccountType.CostsInfrastructure] =
FinancialAccount.Create (this, "[LOC]Cost_IctInfrastructure", FinancialAccountType.Cost, null);
FinancialAccounts[OrganizationFinancialAccountType.CostsYearlyResult] =
@@ -490,23 +480,39 @@ namespace Swarmops.Logic.Structure
FinancialAccount.Create (this, "[LOC]Debt_SalariesDue", FinancialAccountType.Debt, null);
FinancialAccounts[OrganizationFinancialAccountType.DebtsTax] =
FinancialAccount.Create (this, "[LOC]Debt_Taxes", FinancialAccountType.Debt, null);
//FinancialAccounts[OrganizationFinancialAccountType.DebtsVatOutbound] =
// FinancialAccount.Create(this, "Outbound Value Added Tax", FinancialAccountType.Debt, null);
FinancialAccount financialFeesMaster = FinancialAccount.Create(this, "[LOC]Cost_FinancialFees",
FinancialAccountType.Cost, null);
FinancialAccounts[OrganizationFinancialAccountType.CostsBankFees] =
FinancialAccount.Create(this, "[LOC]Cost_BankFees", FinancialAccountType.Cost, financialFeesMaster);
FinancialAccounts[OrganizationFinancialAccountType.CostsBitcoinFees] =
FinancialAccount.Create(this, "[LOC]Cost_BitcoinFees", FinancialAccountType.Cost, financialFeesMaster);
FinancialAccounts[OrganizationFinancialAccountType.IncomeDonations] =
FinancialAccount.Create (this, "[LOC]Income_Donations", FinancialAccountType.Income, null);
FinancialAccounts[OrganizationFinancialAccountType.IncomeSales] =
FinancialAccount.Create (this, "[LOC]Income_Sales", FinancialAccountType.Income, null);
// Then, create various cost accounts that are probably needed, or that could be used as a starting point
FinancialAccount.Create (this, "[LOC]Cost_Offices", FinancialAccountType.Cost, null);
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_Unforeseen", FinancialAccountType.Cost, null);
FinancialAccount.Create (this, "[LOC]Cost_Staff", FinancialAccountType.Cost, null);
FinancialAccount.Create (this, "[LOC]Cost_MarketingCampaigns", FinancialAccountType.Cost, null);
FinancialAccount.Create (this, "[LOC]Cost_ResearchDevelopment", FinancialAccountType.Cost, null);
FinancialAccount travelMaster = FinancialAccount.Create (this, "[LOC]Cost_Travel", FinancialAccountType.Cost,
null);
FinancialAccount.Create(this, "[LOC]Cost_Airfare", FinancialAccountType.Cost, travelMaster);
FinancialAccount.Create(this, "[LOC]Cost_TaxiTransport", FinancialAccountType.Cost, travelMaster);
FinancialAccount.Create(this, "[LOC]Cost_PublicTransit", FinancialAccountType.Cost, travelMaster);
FinancialAccount.Create(this, "[LOC]Cost_TravelLodging", FinancialAccountType.Cost, travelMaster);
FinancialAccount.Create(this, "[LOC]Cost_TrainsFerries", FinancialAccountType.Cost, travelMaster);
FinancialAccount.Create(this, "[LOC]Cost_TravelPerDiem", FinancialAccountType.Cost, travelMaster);
// Finally, create the first conference parent
FinancialAccount conferenceBase = FinancialAccount.Create (this, "[LOC]Cost_Conferences",