From c9fa537268dff4182a7953d6f597d9f9e1ef6bb1 Mon Sep 17 00:00:00 2001 From: armenrz Date: Mon, 26 Mar 2007 01:28:55 +0000 Subject: [PATCH] Bugs item #1569711: removed hard-coded Rupiah to support all currency --- dbPort/src/org/compiere/util/AmtInWords_IN.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dbPort/src/org/compiere/util/AmtInWords_IN.java b/dbPort/src/org/compiere/util/AmtInWords_IN.java index 4ef250e639..ddedbf0a97 100644 --- a/dbPort/src/org/compiere/util/AmtInWords_IN.java +++ b/dbPort/src/org/compiere/util/AmtInWords_IN.java @@ -20,6 +20,9 @@ package org.compiere.util; /** * Amount in Words for Bahasa Indonesia * + * Bugs item #1569711: remove hard-coded "Rupiah" to support all currency + * Contributor: Armen Rizal (www.goodwill.co.id) + * * @author Halim Englen * @version $Id: AmtInWords_IN.java,v 1.3 2006/07/30 00:54:36 jjanke Exp $ */ @@ -68,7 +71,7 @@ public class AmtInWords_IN implements AmtInWords public static String sayNumber(double number) { StringBuffer result = new StringBuffer(); sayNumber(result, number); - result.append(" Rupiah"); + //result.append(" Rupiah"); return result.toString(); } @@ -212,7 +215,7 @@ public class AmtInWords_IN implements AmtInWords numDouble = Double.parseDouble(cents); sayNumber(result, numDouble); } - result.append(" Rupiah"); + //result.append(" Rupiah"); return result.toString(); } // getAmtInWords