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