TavernerPOS - Source Code

Clone: 

git clone http://www.librarysmith.co.uk/tavernerPOS

 

viewgit/viewgit/inc/functions.php:49 Function create_function() is deprecated [8192]

Index » tavernerPOS : Commitdiff 96946e

Correction to currency name in Config ui

Matt Smith [16-05-31 23:01]
Correction to currency name in Config ui
diff --git a/src/com/floreantpos/model/Restaurant.java b/src/com/floreantpos/model/Restaurant.java
index 15bb2d7..e23740c 100644
--- a/src/com/floreantpos/model/Restaurant.java
+++ b/src/com/floreantpos/model/Restaurant.java
@@ -30,7 +30,7 @@ public class Restaurant extends BaseRestaurant {
 	public String getCurrencyName() {
 		String currencyName = super.getCurrencyName();
 		if(StringUtils.isEmpty(currencyName)) {
-			return Messages.getString("Restaurant.0"); //$NON-NLS-1$
+			currencyName="GBP"; //$NON-NLS-1$
 		}
 		return currencyName;
 	}

Add comment
These comments are moderated so so won't be published until reviewed.