diff --git a/Logic/Financial/ExternalBankData.cs b/Logic/Financial/ExternalBankData.cs index 78c43d90..bc9ed5bd 100644 --- a/Logic/Financial/ExternalBankData.cs +++ b/Logic/Financial/ExternalBankData.cs @@ -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 } } diff --git a/Site/Pages/v5/Ledgers/AccountPlan.aspx.cs b/Site/Pages/v5/Ledgers/AccountPlan.aspx.cs index dbbd727b..d7ea1446 100644 --- a/Site/Pages/v5/Ledgers/AccountPlan.aspx.cs +++ b/Site/Pages/v5/Ledgers/AccountPlan.aspx.cs @@ -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 }