svn commit: r947055 - /ofbiz/trunk/applications/accounting/webapp/ar/invoice/ListInvoices.ftl

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r947055 - /ofbiz/trunk/applications/accounting/webapp/ar/invoice/ListInvoices.ftl

mor-2
Author: mor
Date: Fri May 21 16:13:38 2010
New Revision: 947055

URL: http://svn.apache.org/viewvc?rev=947055&view=rev
Log:
Received status in not applicable on AR invoice as it was used in running mass operation on invoice selected from the find invoice result page. The correct status should be Sent.

Modified:
    ofbiz/trunk/applications/accounting/webapp/ar/invoice/ListInvoices.ftl

Modified: ofbiz/trunk/applications/accounting/webapp/ar/invoice/ListInvoices.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/webapp/ar/invoice/ListInvoices.ftl?rev=947055&r1=947054&r2=947055&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/webapp/ar/invoice/ListInvoices.ftl (original)
+++ ofbiz/trunk/applications/accounting/webapp/ar/invoice/ListInvoices.ftl Fri May 21 16:13:38 2010
@@ -55,15 +55,15 @@ under the License.
     }
 
     function setServiceName(selection) {
-        if ( selection.value == 'massInvoicesToApprove' || selection.value == 'massInvoicesToReceive' || selection.value == 'massInvoicesToReady' || selection.value == 'massInvoicesToPaid' || selection.value == 'massInvoicesToWriteoff' || selection.value == 'massInvoicesToCancel') {
+        if ( selection.value == 'massInvoicesToApprove' || selection.value == 'massInvoicesToSent' || selection.value == 'massInvoicesToReady' || selection.value == 'massInvoicesToPaid' || selection.value == 'massInvoicesToWriteoff' || selection.value == 'massInvoicesToCancel') {
             $('listInvoices').action = $('invoiceStatusChange').value;
         } else {
             $('listInvoices').action = selection.value;
         }
         if (selection.value == 'massInvoicesToApprove') {
             $('statusId').value = "INVOICE_APPROVED";
-        } else if (selection.value == 'massInvoicesToReceive') {
-            $('statusId').value = "INVOICE_RECEIVED";
+        } else if (selection.value == 'massInvoicesToSent') {
+            $('statusId').value = "INVOICE_SENT";
         } else if (selection.value == 'massInvoicesToReady') {
             $('statusId').value = "INVOICE_READY";
         } else if (selection.value == 'massInvoicesToPaid') {
@@ -94,7 +94,7 @@ under the License.
         <option value="">${uiLabelMap.AccountingSelectAction}</option>
         <option value="<@ofbizUrl>PrintInvoices</@ofbizUrl>">${uiLabelMap.AccountingPrintInvoices}</option>
         <option value="massInvoicesToApprove">${uiLabelMap.AccountingInvoiceStatusToApproved}</option>
-        <option value="massInvoicesToReceive">${uiLabelMap.AccountingInvoiceStatusToReceived}</option>
+        <option value="massInvoicesToSent">${uiLabelMap.AccountingInvoiceStatusToSent}</option>
         <option value="massInvoicesToReady">${uiLabelMap.AccountingInvoiceStatusToReady}</option>
         <option value="massInvoicesToPaid">${uiLabelMap.AccountingInvoiceStatusToPaid}</option>
         <option value="massInvoicesToWriteoff">${uiLabelMap.AccountingInvoiceStatusToWriteoff}</option>