Author: jleroux
Date: Mon Feb 25 04:10:42 2008
New Revision: 630824
URL:
http://svn.apache.org/viewvc?rev=630824&view=revLog:
A patch from Chris Lombardi "POS: Clear One payment does not work" (
https://issues.apache.org/jira/browse/OFBIZ-1673) - OFBIZ-1673
I also amended the corresponding label in French and Spanish
Modified:
ofbiz/trunk/specialpurpose/pos/config/XuiLabels_es.properties
ofbiz/trunk/specialpurpose/pos/config/XuiLabels_fr.properties
ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/PosTransaction.java
Modified: ofbiz/trunk/specialpurpose/pos/config/XuiLabels_es.properties
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/pos/config/XuiLabels_es.properties?rev=630824&r1=630823&r2=630824&view=diff==============================================================================
--- ofbiz/trunk/specialpurpose/pos/config/XuiLabels_es.properties (original)
+++ ofbiz/trunk/specialpurpose/pos/config/XuiLabels_es.properties Mon Feb 25 04:10:42 2008
@@ -25,7 +25,7 @@
CHECK=CHEQUE
CLEAR_ALL=Limpiar todos
CLEAR_CACHE=Limpiar cach\u00e9
-CLEAR_ONE=Anular art\u00edculo
+CLEAR_ONE=Anular l\u00ednea
CLOSE=Cerrar
CLR=LIMPIAR
CLR_DISC=LIMPIAR DISCO
Modified: ofbiz/trunk/specialpurpose/pos/config/XuiLabels_fr.properties
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/pos/config/XuiLabels_fr.properties?rev=630824&r1=630823&r2=630824&view=diff==============================================================================
--- ofbiz/trunk/specialpurpose/pos/config/XuiLabels_fr.properties (original)
+++ ofbiz/trunk/specialpurpose/pos/config/XuiLabels_fr.properties Mon Feb 25 04:10:42 2008
@@ -26,7 +26,7 @@
CHECK=Ch\u00e8que
CLEAR_ALL=Tout annuler
CLEAR_CACHE=Annuler l'encours
-CLEAR_ONE=Annuler l'article
+CLEAR_ONE=Annuler la ligne
CLOSE=Fermer
CLR=Effacer
CLR_DISC=Annuler la remise
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=630824&r1=630823&r2=630824&view=diff==============================================================================
--- ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/PosTransaction.java (original)
+++ ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/PosTransaction.java Mon Feb 25 04:10:42 2008
@@ -996,7 +996,7 @@
amount = inf.amount.doubleValue();
}
- XModel paymentLine = Journal.appendNode(model, "tr", "", "");
+ XModel paymentLine = Journal.appendNode(model, "tr", Integer.toString(i), "");
Journal.appendNode(paymentLine, "td", "sku", "");
Journal.appendNode(paymentLine, "td", "desc", descString);
Journal.appendNode(paymentLine, "td", "qty", "-");