Author: jacopoc
Date: Sun Jun 3 07:20:38 2007
New Revision: 543904
URL:
http://svn.apache.org/viewvc?view=rev&rev=543904Log:
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> </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>