Author: bibryam
Date: Fri Feb 15 02:13:39 2008
New Revision: 627992
URL:
http://svn.apache.org/viewvc?rev=627992&view=revLog:
Fixed broken invoice overview screens caused when the invoice total amount is zero.
Modified:
ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentServices.xml
Modified: ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentServices.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentServices.xml?rev=627992&r1=627991&r2=627992&view=diff==============================================================================
--- ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentServices.xml (original)
+++ ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentServices.xml Fri Feb 15 02:13:39 2008
@@ -310,6 +310,7 @@
<condition>
<or>
<if-compare field-name="remainingAppliedAmount" operator="greater" value="0.0" type="BigDecimal"/>
+ <if-compare field-name="invoiceTotalAmount" operator="equals" value="0.0" type="BigDecimal"/>
<if-compare-field field-name="computedTotalAmount" operator="less" to-field-name="invoiceTotalAmount" type="BigDecimal"/>
</or>
</condition>