Fix [ 1866181 ] Wrong message on allocation form

This commit is contained in:
Carlos Ruiz 2008-01-07 21:46:09 +00:00
parent d7fb219489
commit 48274366d1
1 changed files with 2 additions and 2 deletions

View File

@ -826,8 +826,8 @@ public class VAllocation extends CPanel
}
// Warning if write Off > 30%
if (writeOff.doubleValue()/open.doubleValue() > .30)
ADialog.warn(m_WindowNo, this, "AllocationWriteOffWarn");
if (autoWriteOff.isSelected() && writeOff.doubleValue()/open.doubleValue() > .30)
ADialog.warn(m_WindowNo, this, "AllocationWriteOffWarn");
invoice.setValueAt(discount, row, i_discount);