FR [ 2803341 ] - Deprecate Cash Journal
** added functionality in Payment Window **
This commit is contained in:
parent
2276f0ee5e
commit
9d4d7bc0c5
|
@ -1827,7 +1827,7 @@ public final class MPayment extends X_C_Payment
|
||||||
|
|
||||||
// @Trifon - CashPayments
|
// @Trifon - CashPayments
|
||||||
//if ( getTenderType().equals("X") ) {
|
//if ( getTenderType().equals("X") ) {
|
||||||
if ( isCashTrx() ) {
|
if ( isCashTrx() && !MSysConfig.getBooleanValue("CASH_AS_PAYMENT", true)) {
|
||||||
// Create Cash Book entry
|
// Create Cash Book entry
|
||||||
if ( getC_CashBook_ID() <= 0 ) {
|
if ( getC_CashBook_ID() <= 0 ) {
|
||||||
log.saveError("Error", Msg.parseTranslation(getCtx(), "@Mandatory@: @C_CashBook_ID@"));
|
log.saveError("Error", Msg.parseTranslation(getCtx(), "@Mandatory@: @C_CashBook_ID@"));
|
||||||
|
|
Loading…
Reference in New Issue