Debug testing
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user