From 1ffd36e21e3863d30ffb42ac013c644d5b9dd306 Mon Sep 17 00:00:00 2001 From: "Redhuan D. Oon" Date: Wed, 17 Dec 2008 01:32:02 +0000 Subject: [PATCH] Bugs item #2427551, https://sourceforge.net/tracker/?func=detail&atid=879332&aid=2427551&group_id=176962 Test result described in http://www.adempiere.com/wiki/index.php/POS_Cash_Functions#The_Cash_Journal --- base/src/org/compiere/model/MInvoice.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/base/src/org/compiere/model/MInvoice.java b/base/src/org/compiere/model/MInvoice.java index f0630e6ec4..282d947a17 100644 --- a/base/src/org/compiere/model/MInvoice.java +++ b/base/src/org/compiere/model/MInvoice.java @@ -1674,8 +1674,7 @@ public class MInvoice extends X_C_Invoice implements DocAction log.info(toString()); StringBuffer info = new StringBuffer(); - /* - // Create Cash + // Create Cash if (PAYMENTRULE_Cash.equals(getPaymentRule())) { // Modifications for POSterita @@ -1716,8 +1715,7 @@ public class MInvoice extends X_C_Invoice implements DocAction info.append("@C_Cash_ID@: " + cash.getName() + " #" + cl.getLine()); setC_CashLine_ID(cl.getC_CashLine_ID()); } // CashBook - */ - + // Update Order & Match int matchInv = 0; int matchPO = 0;