svn commit: r543904 - /ofbiz/trunk/applications/accounting/webapp/accounting/billingaccount/FindBillingAccount.ftl

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

svn commit: r543904 - /ofbiz/trunk/applications/accounting/webapp/accounting/billingaccount/FindBillingAccount.ftl

jacopoc
Author: jacopoc
Date: Sun Jun  3 07:20:38 2007
New Revision: 543904

URL: http://svn.apache.org/viewvc?view=rev&rev=543904
Log:
Misc cleanups and improvements to the 'find billing account' screen.

Modified:
    ofbiz/trunk/applications/accounting/webapp/accounting/billingaccount/FindBillingAccount.ftl

Modified: ofbiz/trunk/applications/accounting/webapp/accounting/billingaccount/FindBillingAccount.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/webapp/accounting/billingaccount/FindBillingAccount.ftl?view=diff&rev=543904&r1=543903&r2=543904
==============================================================================
--- ofbiz/trunk/applications/accounting/webapp/accounting/billingaccount/FindBillingAccount.ftl (original)
+++ ofbiz/trunk/applications/accounting/webapp/accounting/billingaccount/FindBillingAccount.ftl Sun Jun  3 07:20:38 2007
@@ -24,41 +24,30 @@
 <table class="basic-table" cellspacing="0">
   <tr class="header-row">
     <td>${uiLabelMap.AccountingAccountId}</td>
+    <td>${uiLabelMap.CommonDescription}</td>
     <td>${uiLabelMap.AccountingAccountLimit}</td>
     <#if billingAccountRolesByParty?has_content>
-      <#assign colSpan = "4">
       <td>${uiLabelMap.PartyRoleTypeId}</td>
-    <#else>
-      <#assign colSpan = "3">
     </#if>
-    <td>&nbsp;</td>
   </tr>  
   <#if billingAccountRolesByParty?has_content>
     <#list billingAccountRolesByParty as role>
       <#assign billingAccount = role.getRelatedOne("BillingAccount")>
       <#assign roleType = role.getRelatedOne("RoleType")>
       <tr>
-        <td>${billingAccount.billingAccountId}</td>
+        <td><a href="<@ofbizUrl>EditBillingAccount?billingAccountId=${billingAccount.billingAccountId}</@ofbizUrl>" class="buttontext">${billingAccount.billingAccountId}</a></td>
+        <td>${billingAccount.description?if_exists}</td>
         <td><@ofbizCurrency amount=billingAccount.accountLimit isoCode=billingAccount.accountCurrencyUomId/></td>
         <td>${roleType.get("description",locale)}</td>
-        <td class="button-col">
-          <a href="<@ofbizUrl>EditBillingAccount?billingAccountId=${billingAccount.billingAccountId}</@ofbizUrl>">${uiLabelMap.CommonEdit}</a>
-        </td>
       </tr>
     </#list>
   <#elseif billingAccounts?has_content>
     <#list billingAccounts as billingAccount>
       <tr>
-        <td>${billingAccount.billingAccountId}</td>
+        <td><a href="<@ofbizUrl>EditBillingAccount?billingAccountId=${billingAccount.billingAccountId}</@ofbizUrl>" class="buttontext">${billingAccount.billingAccountId}</a></td>
+        <td>${billingAccount.description?if_exists}</td>
         <td><@ofbizCurrency amount=billingAccount.accountLimit isoCode=billingAccount.accountCurrencyUomId/></td>
-        <td class="button-col">
-          <a href="<@ofbizUrl>EditBillingAccount?billingAccountId=${billingAccount.billingAccountId}</@ofbizUrl>">${uiLabelMap.CommonEdit}</a>
-        </td>        
       </tr>
     </#list>
-  <#else>
-    <tr>
-      <td colspan='3'>${uiLabelMap.AccountingNoBillingAccountFound}</td>
-    </tr>    
   </#if>
 </table>