Testing 3

This commit is contained in:
Rick Falkvinge
2018-12-09 17:10:20 +01:00
parent 426e115928
commit fc73c7004d
+1 -1
View File
@@ -55,7 +55,7 @@ namespace Swarmops.Frontend.Pages.Ledgers
// If automation has Bank Account Statement enabled (assume true for now):
FinancialAccountDocument lastBankStatement = assetAccount.GetMostRecentDocument(FinancialAccountDocumentType.BankStatement);
int lastStatementMonth = this.CurrentOrganization.FirstFiscalYear*100 + 1;
int lastStatementMonth = (this.CurrentOrganization.FirstFiscalYear*100-1) + 12; // December of the year before
if (lastBankStatement != null)
{