// Documents window is to be shown.
if (m_checks.length < 2 || directPrint)
{
for (int i = 0; i < m_checks.length; i++)
{
MPaySelectionCheck check = m_checks[i];
//**RM CHANGES START HERE 20081023
// ReportCtrl will check BankAccountDoc for PrintFormat
//boolean ok = ReportCtl.startDocumentPrint(ReportEngine.CHECK, check.get_ID(), null, Env.getWindowNo(this), directPrint);
//**RM another print change for zelam - just print REMITTANCES here instead, zelam cheques are printed manually
boolean ok = ReportCtl.startDocumentPrint(ReportEngine.REMITTANCE, check.get_ID(), null, Env.getWindowNo(panel), directPrint);
//**RM CHANGES END HERE 20081023
if (!somethingPrinted && ok)
somethingPrinted = true;