IDEMPIERE-2632: Bank statement post inactive lines too.

This commit is contained in:
Deepak Pansheriya 2015-05-20 09:48:39 +05:30
parent abef172dd0
commit 6bbafff154
1 changed files with 5 additions and 3 deletions

View File

@ -101,10 +101,12 @@ public class Doc_BankStatement extends Doc
for (int i = 0; i < lines.length; i++) for (int i = 0; i < lines.length; i++)
{ {
MBankStatementLine line = lines[i]; MBankStatementLine line = lines[i];
if(line.isActive())
{
DocLine_Bank docLine = new DocLine_Bank(line, this); DocLine_Bank docLine = new DocLine_Bank(line, this);
list.add(docLine); list.add(docLine);
} }
}
// Return Array // Return Array
DocLine[] dls = new DocLine[list.size()]; DocLine[] dls = new DocLine[list.size()];