Author: jacopoc
Date: Wed Jul  9 10:42:02 2014
New Revision: 1609087

URL: http://svn.apache.org/r1609087
Log:
Fixed bug reported in OFBIZ-5595 by nguyenthang: invoices status change was not 
working after the refactoring of the screen.

Modified:
    ofbiz/trunk/applications/accounting/webapp/ap/invoices/PurchaseInvoices.ftl

Modified: 
ofbiz/trunk/applications/accounting/webapp/ap/invoices/PurchaseInvoices.ftl
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/webapp/ap/invoices/PurchaseInvoices.ftl?rev=1609087&r1=1609086&r2=1609087&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/webapp/ap/invoices/PurchaseInvoices.ftl 
(original)
+++ ofbiz/trunk/applications/accounting/webapp/ap/invoices/PurchaseInvoices.ftl 
Wed Jul  9 10:42:02 2014
@@ -78,7 +78,7 @@ function getInvoiceRunningTotal() {
 
 function setServiceName(selection) {
     if ( selection.value == 'massInvoicesToApprove' || selection.value == 
'massInvoicesToReceive' || selection.value == 'massInvoicesToReady' || 
selection.value == 'massInvoicesToPaid' || selection.value == 
'massInvoicesToWriteoff' || selection.value == 'massInvoicesToCancel') {
-        document.listPurchaseInvoices.action = 
jQuery('#invoiceStatusChange').value;
+        document.listPurchaseInvoices.action = 'massChangeInvoiceStatus';
     } else {
         document.listPurchaseInvoices.action = selection.value;
     }


Reply via email to