Author: ashish
Date: Sat Oct 3 09:51:52 2009 New Revision: 821284 URL: http://svn.apache.org/viewvc?rev=821284&view=rev Log: Applied patch from jira issue OFBIZ-2994 - Consistency in location of select checkbox. Thanks Chirag for your contribution on this. 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=821284&r1=821283&r2=821284&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/webapp/ap/invoices/PurchaseInvoices.ftl (original) +++ ofbiz/trunk/applications/accounting/webapp/ap/invoices/PurchaseInvoices.ftl Sat Oct 3 09:51:52 2009 @@ -146,8 +146,7 @@ </div> <table class="basic-table hover-bar" cellspacing="0"> <#-- Header Begins --> - <tr class="header-row-2"> - <td width="8%"><input type="checkbox" id="checkAllInvoices" name="checkAllInvoices" onchange="javascript:toggleInvoiceId(this);"/> ${uiLabelMap.CommonSelectAll}</td> + <tr class="header-row"> <td width="10%">${uiLabelMap.FormFieldTitle_invoiceId}</td> <td width="15%">${uiLabelMap.AccountingVendorParty}</td> <td width="10%">${uiLabelMap.CommonStatus}</td> @@ -157,6 +156,7 @@ <td width="9%">${uiLabelMap.AccountingAmount}</td> <td width="9%">${uiLabelMap.FormFieldTitle_paidAmount}</td> <td width="9%">${uiLabelMap.FormFieldTitle_outstandingAmount}</td> + <td width="8%" align="right">${uiLabelMap.CommonSelectAll} <input type="checkbox" id="checkAllInvoices" name="checkAllInvoices" onchange="javascript:toggleInvoiceId(this);"/></td> </tr> <#-- Header Ends--> <#assign alt_row = false> @@ -166,7 +166,6 @@ <#if invoicePaymentInfo.outstandingAmount != 0> <#assign statusItem = invoice.getRelatedOneCache("StatusItem")> <tr valign="middle"<#if alt_row> class="alternate-row"</#if>> - <td><input type="checkbox" id="invoiceId_${invoice_index}" name="invoiceIds" value="${invoice.invoiceId}" onclick="javascript:getInvoiceRunningTotal();"/></td> <td><a class="buttontext" href="<@ofbizUrl>invoiceOverview?invoiceId=${invoice.invoiceId}</@ofbizUrl>">${invoice.get("invoiceId")}</a></td> <td><a href="/partymgr/control/viewprofile?partyId=${invoice.partyIdFrom}">${Static["org.ofbiz.party.party.PartyHelper"].getPartyName(delegator, invoice.partyIdFrom, false)?if_exists}</a></td> <td>${statusItem.get("description")?if_exists}</td> @@ -176,6 +175,7 @@ <td><@ofbizCurrency amount=invoicePaymentInfo.amount isoCode=defaultOrganizationPartyCurrencyUomId/></td> <td><@ofbizCurrency amount=invoicePaymentInfo.paidAmount isoCode=defaultOrganizationPartyCurrencyUomId/></td> <td><@ofbizCurrency amount=invoicePaymentInfo.outstandingAmount isoCode=defaultOrganizationPartyCurrencyUomId/></td> + <td align="right"><input type="checkbox" id="invoiceId_${invoice_index}" name="invoiceIds" value="${invoice.invoiceId}" onclick="javascript:getInvoiceRunningTotal();"/></td> </tr> <#-- toggle the row color --> <#assign alt_row = !alt_row> |
Free forum by Nabble | Edit this page |