Author: sichen
Date: Fri Jul 14 14:55:27 2006 New Revision: 422072 URL: http://svn.apache.org/viewvc?rev=422072&view=rev Log: Additional improvement to describing PaymentMethods. OFBIZ-81. Thanks to Ashish Vijaywargiya Modified: incubator/ofbiz/trunk/applications/ecommerce/webapp/ecommerce/customer/viewprofile.ftl incubator/ofbiz/trunk/applications/party/webapp/partymgr/party/viewprofile.ftl Modified: incubator/ofbiz/trunk/applications/ecommerce/webapp/ecommerce/customer/viewprofile.ftl URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/ecommerce/webapp/ecommerce/customer/viewprofile.ftl?rev=422072&r1=422071&r2=422072&view=diff ============================================================================== --- incubator/ofbiz/trunk/applications/ecommerce/webapp/ecommerce/customer/viewprofile.ftl (original) +++ incubator/ofbiz/trunk/applications/ecommerce/webapp/ecommerce/customer/viewprofile.ftl Fri Jul 14 14:55:27 2006 @@ -265,7 +265,8 @@ <#if creditCard.suffixOnCard?has_content> ${creditCard.suffixOnCard}</#if> ${Static["org.ofbiz.party.contact.ContactHelper"].formatCreditCard(creditCard)} </b> - (${uiLabelMap.CommonUpdated}: ${paymentMethod.fromDate.toString()}) + <#if paymentMethod.description?has_content>(${paymentMethod.description})</#if> + <#if paymentMethod.fromDate?has_content>(${uiLabelMap.CommonUpdated}: ${paymentMethod.fromDate.toString()})</#if> <#if paymentMethod.thruDate?exists><b>(${uiLabelMap.CommonDelete}: ${paymentMethod.thruDate.toString()})</b></#if> </div> </td> @@ -294,7 +295,8 @@ <td width="80%" valign="top"> <div class="tabletext"> <b>${uiLabelMap.AccountingGiftCard}: ${giftCardNumber}</b> - (${uiLabelMap.CommonUpdated}: ${paymentMethod.fromDate.toString()}) + <#if paymentMethod.description?has_content>(${paymentMethod.description})</#if> + <#if paymentMethod.fromDate?has_content>(${uiLabelMap.CommonUpdated}: ${paymentMethod.fromDate.toString()})</#if> <#if paymentMethod.thruDate?exists><b>(${uiLabelMap.CommonDelete}: ${paymentMethod.thruDate.toString()})</b></#if> </div> </td> @@ -307,7 +309,8 @@ <td width="80%" valign="top"> <div class="tabletext"> <b>${uiLabelMap.AccountingEftAccount}: ${eftAccount.nameOnAccount?if_exists} - <#if eftAccount.bankName?has_content>Bank: ${eftAccount.bankName}</#if> <#if eftAccount.accountNumber?has_content>${uiLabelMap.AccountingAccount} #: ${eftAccount.accountNumber}</#if></b> - (${uiLabelMap.CommonUpdated}: ${paymentMethod.fromDate.toString()}) + <#if paymentMethod.description?has_content>(${paymentMethod.description})</#if> + <#if paymentMethod.fromDate?has_content>(${uiLabelMap.CommonUpdated}: ${paymentMethod.fromDate.toString()})</#if> <#if paymentMethod.thruDate?exists><b>(${uiLabelMap.CommonDelete}: ${paymentMethod.thruDate.toString()})</b></#if> </div> </td> Modified: incubator/ofbiz/trunk/applications/party/webapp/partymgr/party/viewprofile.ftl URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/party/webapp/partymgr/party/viewprofile.ftl?rev=422072&r1=422071&r2=422072&view=diff ============================================================================== --- incubator/ofbiz/trunk/applications/party/webapp/partymgr/party/viewprofile.ftl (original) +++ incubator/ofbiz/trunk/applications/party/webapp/partymgr/party/viewprofile.ftl Fri Jul 14 14:55:27 2006 @@ -302,7 +302,7 @@ </b> <#if paymentMethod.description?has_content>(${paymentMethod.description})</#if> <#if paymentMethod.glAccountId?has_content>(for GL Account ${paymentMethod.glAccountId})</#if> - (${uiLabelMap.CommonUpdated}: ${paymentMethod.fromDate?if_exists}) + <#if paymentMethod.fromDate?has_content>(${uiLabelMap.CommonUpdated}: ${paymentMethod.fromDate?if_exists})</#if> <#if paymentMethod.thruDate?has_content><b>(${uiLabelMap.PartyContactEffectiveThru}: ${paymentMethod.thruDate})</b></#if> </div> </td> @@ -344,8 +344,9 @@ ${giftCardNumber?default("N/A")} </#if> </b> + <#if paymentMethod.description?has_content>(${paymentMethod.description})</#if> <#if paymentMethod.glAccountId?has_content>(for GL Account ${paymentMethod.glAccountId})</#if> - (${uiLabelMap.CommonUpdated}: ${paymentMethod.fromDate?if_exists}) + <#if paymentMethod.fromDate?has_content>(${uiLabelMap.CommonUpdated}: ${paymentMethod.fromDate?if_exists})</#if> <#if paymentMethod.thruDate?has_content><b>(${uiLabelMap.PartyContactEffectiveThru}: ${paymentMethod.thruDate.toString()}</b></#if> </div> </td> @@ -362,8 +363,9 @@ <b> ${uiLabelMap.PartyEftAccount}: ${eftAccount.nameOnAccount} - <#if eftAccount.bankName?has_content>${uiLabelMap.PartyBank}: ${eftAccount.bankName}</#if> <#if eftAccount.accountNumber?has_content>${uiLabelMap.PartyAccount} #: ${eftAccount.accountNumber}</#if> </b> + <#if paymentMethod.description?has_content>(${paymentMethod.description})</#if> <#if paymentMethod.glAccountId?has_content>(for GL Account ${paymentMethod.glAccountId})</#if> - (${uiLabelMap.CommonUpdated}: ${paymentMethod.fromDate?if_exists}) + <#if paymentMethod.fromDate?has_content>(${uiLabelMap.CommonUpdated}: ${paymentMethod.fromDate?if_exists})</#if> <#if paymentMethod.thruDate?has_content><b>(${uiLabelMap.PartyContactEffectiveThru}: ${paymentMethod.thruDate.toString()}</b></#if> </div> </td> @@ -376,8 +378,10 @@ <#elseif "COMPANY_CHECK" == paymentMethod.paymentMethodTypeId> <td width="90%" valign="top"> <div class="tabletext"> - <b>Company Check</b> <#if paymentMethod.glAccountId?has_content>(for GL Account ${paymentMethod.glAccountId})</#if> - (${uiLabelMap.CommonUpdated}: ${paymentMethod.fromDate?if_exists}) + <b>Company Check</b> + <#if paymentMethod.description?has_content>(${paymentMethod.description})</#if> + <#if paymentMethod.glAccountId?has_content>(for GL Account ${paymentMethod.glAccountId})</#if> + <#if paymentMethod.fromDate?has_content>(${uiLabelMap.CommonUpdated}: ${paymentMethod.fromDate?if_exists})</#if> <#if paymentMethod.thruDate?has_content><b>(${uiLabelMap.PartyContactEffectiveThru}: ${paymentMethod.thruDate.toString()}</b></#if> </div> </td> |
Free forum by Nabble | Edit this page |