Added short term assets, transfers in progress

This commit is contained in:
Rick Falkvinge
2017-02-22 08:21:26 +01:00
parent 993ce03f11
commit 9700ef3eaa
5 changed files with 51 additions and 0 deletions
@@ -42,6 +42,16 @@
/// </summary>
AssetsVatInbound,
/// <summary>
/// General short term holdings
/// </summary>
AssetsShortTerm,
/// <summary>
/// Internal transfers that are in progress
/// </summary>
AssetsTransfersInProgress,
/// <summary>
/// If virtual banking is enabled, this is where the virtual assets go
/// </summary>
@@ -74,6 +74,15 @@ namespace Swarmops.Logic.Financial
get { return this[OrganizationFinancialAccountType.AssetsOutstandingCashAdvances]; }
}
public FinancialAccount AssetsShortTerm
{ get { return this[OrganizationFinancialAccountType.AssetsShortTerm]; } }
public FinancialAccount AssetsTransfersInProgress
{
get { return this[OrganizationFinancialAccountType.AssetsTransfersInProgress]; }
}
public FinancialAccount AssetsPaypal
{
get { return this[OrganizationFinancialAccountType.AssetsPaypal]; }
@@ -132,6 +132,24 @@ namespace Swarmops.Logic.Resources {
}
}
/// <summary>
/// Looks up a localized string similar to Short Term Assets.
/// </summary>
internal static string Asset_ShortTerm {
get {
return ResourceManager.GetString("Asset_ShortTerm", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Internal Transfers in Progress.
/// </summary>
internal static string Asset_TransfersInProgress {
get {
return ResourceManager.GetString("Asset_TransfersInProgress", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Accounting Errors.
/// </summary>
@@ -334,4 +334,10 @@
<data name="Income_SubsidiesGrants" xml:space="preserve">
<value>Subsidies and Grants</value>
</data>
<data name="Asset_ShortTerm" xml:space="preserve">
<value>Short Term Assets</value>
</data>
<data name="Asset_TransfersInProgress" xml:space="preserve">
<value>Internal Transfers in Progress</value>
</data>
</root>
+8
View File
@@ -462,6 +462,14 @@ 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);
FinancialAccount shortTermAssets = FinancialAccount.Create(this, "[LOC]Asset_ShortTerm",
FinancialAccountType.Asset, null);
FinancialAccounts[OrganizationFinancialAccountType.AssetsShortTerm] = shortTermAssets;
FinancialAccounts[OrganizationFinancialAccountType.AssetsTransfersInProgress] =
FinancialAccount.Create(this, "[LOC]Asset_TransfersInProgress", FinancialAccountType.Asset,
shortTermAssets);
FinancialAccounts[OrganizationFinancialAccountType.CostsAllocatedFunds] =
FinancialAccount.Create (this, "[LOC]Cost_AllocatedFunds", FinancialAccountType.Cost, null);
FinancialAccounts[OrganizationFinancialAccountType.CostsInfrastructure] =