Added Tax Prepayments as a localized asset account

This commit is contained in:
Falkvinge
2017-06-19 18:46:37 +02:00
parent 475989c172
commit ad20c5eebd
5 changed files with 28 additions and 1 deletions
@@ -57,6 +57,11 @@
/// </summary>
AssetsShortTerm,
/// <summary>
/// Money deposited with tax authority in anticipation of tax payment time
/// </summary>
AssetsTaxAdvances,
/// <summary>
/// Internal transfers that are in progress
/// </summary>
@@ -76,7 +76,14 @@ namespace Swarmops.Logic.Financial
public FinancialAccount AssetsShortTerm
{ get { return this[OrganizationFinancialAccountType.AssetsShortTerm]; } }
{
get { return this[OrganizationFinancialAccountType.AssetsShortTerm]; }
}
public FinancialAccount AssetsTaxAdvances
{
get { return this[OrganizationFinancialAccountType.AssetsTaxAdvances]; }
}
public FinancialAccount AssetsTransfersInProgress
{
@@ -159,6 +159,15 @@ namespace Swarmops.Logic.Resources {
}
}
/// <summary>
/// Looks up a localized string similar to Taxes Prepayment.
/// </summary>
internal static string Asset_TaxAdvances {
get {
return ResourceManager.GetString("Asset_TaxAdvances", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Internal Transfers in Progress.
/// </summary>
@@ -356,4 +356,8 @@
<value>Outbound VAT to report</value>
<comment>Accumulates to each VAT report, as set by VAT report frequency</comment>
</data>
<data name="Asset_TaxAdvances" xml:space="preserve">
<value>Taxes Prepayment</value>
<comment>Most tax authorities require you to pay some part in advance</comment>
</data>
</root>
+2
View File
@@ -462,6 +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.AssetsTaxAdvances] =
FinancialAccount.Create(this, "[LOC]Asset_TaxAdvances", FinancialAccountType.Asset, null);
FinancialAccount shortTermAssets = FinancialAccount.Create(this, "[LOC]Asset_ShortTerm",
FinancialAccountType.Asset, null);