Debug testing

This commit is contained in:
Rick Falkvinge
2018-04-28 13:23:37 +02:00
parent 24c9f4d713
commit 12aa505e1a
2 changed files with 6 additions and 2 deletions
+4
View File
@@ -46,7 +46,9 @@ namespace Swarmops.Logic.Financial
// TODO: Implement bank data reader factory here
string organizationCurrencyCode = organization.Currency.Code;
string accountCurrencyCode = string.Empty;
// TODO: This function must be made aware of the expected currency code
// Replace any strings initially to force the bank data into readability (per profile)
@@ -128,6 +130,8 @@ namespace Swarmops.Logic.Financial
if (currency != organizationCurrencyCode)
{
// TODO: Implement nonpresentation currency import right here
continue; // ignore this record
}
}
+2 -2
View File
@@ -511,8 +511,8 @@ namespace Swarmops.Frontend.Pages.v5.Ledgers
if (result.AutomationEnabled)
{
result.Profile = FinancialAccountAutomationProfile.FromIdentity(profileId);
result.AutomationCurrencyCode = result.Profile.Currency.Code;
// result.Profile = FinancialAccountAutomationProfile.FromIdentity(profileId);
// result.AutomationCurrencyCode = result.Profile.Currency.Code;
// the "NonpresentationCurrency" field can't be set here, because we don't know the presentation currency
}