FR [ 2803341 ] - Deprecate Cash Journal

** added functionality in Payment Window **
This commit is contained in:
mjudd 2009-06-10 19:49:31 +00:00
parent 2276f0ee5e
commit 9d4d7bc0c5
1 changed files with 1 additions and 1 deletions

View File

@ -1827,7 +1827,7 @@ public final class MPayment extends X_C_Payment
// @Trifon - CashPayments
//if ( getTenderType().equals("X") ) {
if ( isCashTrx() ) {
if ( isCashTrx() && !MSysConfig.getBooleanValue("CASH_AS_PAYMENT", true)) {
// Create Cash Book entry
if ( getC_CashBook_ID() <= 0 ) {
log.saveError("Error", Msg.parseTranslation(getCtx(), "@Mandatory@: @C_CashBook_ID@"));