Should execute confirmPrint before printing of check.
This commit is contained in:
parent
fa6cfacb25
commit
02c41740fa
|
@ -383,6 +383,9 @@ public class WPayPrint extends PayPrint implements IFormController, EventListene
|
|||
if (!getChecks(PaymentRule))
|
||||
return;
|
||||
|
||||
// Update BankAccountDoc
|
||||
int lastDocumentNo = MPaySelectionCheck.confirmPrint (m_checks, m_batch);
|
||||
|
||||
// for all checks
|
||||
List<File> pdfList = new ArrayList<File>();
|
||||
for (int i = 0; i < m_checks.length; i++)
|
||||
|
@ -418,8 +421,6 @@ public class WPayPrint extends PayPrint implements IFormController, EventListene
|
|||
return;
|
||||
}
|
||||
|
||||
// Update BankAccountDoc
|
||||
int lastDocumentNo = MPaySelectionCheck.confirmPrint (m_checks, m_batch);
|
||||
if (lastDocumentNo != 0)
|
||||
{
|
||||
StringBuffer sb = new StringBuffer();
|
||||
|
|
Loading…
Reference in New Issue