Fix [ 1739255 ] Payment Selection Exception

This commit is contained in:
Carlos Ruiz 2007-06-22 14:09:43 +00:00
parent b8681be543
commit 89fa7ad745
1 changed files with 2 additions and 1 deletions

View File

@ -489,7 +489,8 @@ public class VPaySelect extends CPanel
if (id.isSelected())
{
BigDecimal amt = (BigDecimal)miniTable.getModel().getValueAt(i, 9);
invoiceAmt = invoiceAmt.add(amt);
if (amt != null)
invoiceAmt = invoiceAmt.add(amt);
m_noSelected++;
}
}