Author: jleroux
Date: Mon Nov 9 20:21:57 2009
New Revision: 834214
URL:
http://svn.apache.org/viewvc?rev=834214&view=revLog:
Oops, forgot the else block in r834173
Modified:
ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/PosTransaction.java
Modified: ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/PosTransaction.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/PosTransaction.java?rev=834214&r1=834213&r2=834214&view=diff==============================================================================
--- ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/PosTransaction.java (original)
+++ ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/PosTransaction.java Mon Nov 9 20:21:57 2009
@@ -264,6 +264,8 @@
String description = item.getDescription();
if (UtilValidate.isEmpty(description)) {
itemInfo.put("description", item.getName());
+ } else {
+ itemInfo.put("description", description);
}
itemInfo.put("quantity", UtilFormatOut.formatQuantity(item.getQuantity()));
itemInfo.put("subtotal", UtilFormatOut.formatPrice(item.getItemSubTotal()));