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,9 +101,11 @@ public class Doc_BankStatement extends Doc
for (int i = 0; i < lines.length; i++)
{
MBankStatementLine line = lines[i];
DocLine_Bank docLine = new DocLine_Bank(line, this);
list.add(docLine);
if(line.isActive())
{
DocLine_Bank docLine = new DocLine_Bank(line, this);
list.add(docLine);
}
}
// Return Array