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))
|
if (!getChecks(PaymentRule))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
// Update BankAccountDoc
|
||||||
|
int lastDocumentNo = MPaySelectionCheck.confirmPrint (m_checks, m_batch);
|
||||||
|
|
||||||
// for all checks
|
// for all checks
|
||||||
List<File> pdfList = new ArrayList<File>();
|
List<File> pdfList = new ArrayList<File>();
|
||||||
for (int i = 0; i < m_checks.length; i++)
|
for (int i = 0; i < m_checks.length; i++)
|
||||||
|
@ -418,8 +421,6 @@ public class WPayPrint extends PayPrint implements IFormController, EventListene
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Update BankAccountDoc
|
|
||||||
int lastDocumentNo = MPaySelectionCheck.confirmPrint (m_checks, m_batch);
|
|
||||||
if (lastDocumentNo != 0)
|
if (lastDocumentNo != 0)
|
||||||
{
|
{
|
||||||
StringBuffer sb = new StringBuffer();
|
StringBuffer sb = new StringBuffer();
|
||||||
|
|
Loading…
Reference in New Issue