From 4554df64f697463e75add1bc85e5bbbcdb93cebf Mon Sep 17 00:00:00 2001 From: Andrew Zeneski Date: Tue, 24 Apr 2007 20:00:32 +0000 Subject: [PATCH] applied patches from Joe Eckard JIRA Issue OFBIZ-924 git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@532060 13f79535-47bb-0310-9956-ffa450edef68 --- .../partymgr/party/FinAccountDetail.ftl | 106 ++++++++++++++++++ .../webapp/partymgr/party/viewprofile.ftl | 3 + .../party/widget/partymgr/CommonScreens.xml | 2 + .../party/widget/partymgr/PartyScreens.xml | 62 +++++++++- 4 files changed, 172 insertions(+), 1 deletion(-) create mode 100644 applications/party/webapp/partymgr/party/FinAccountDetail.ftl diff --git a/applications/party/webapp/partymgr/party/FinAccountDetail.ftl b/applications/party/webapp/partymgr/party/FinAccountDetail.ftl new file mode 100644 index 0000000000..f2157d8634 --- /dev/null +++ b/applications/party/webapp/partymgr/party/FinAccountDetail.ftl @@ -0,0 +1,106 @@ +<#-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + +

+ Account Number: ${ownedFinAccount.finAccountId} + Type: ${(ownedFinAccountType.description)?default('N/A')} + Name: ${ownedFinAccount.finAccountName?if_exists} +

+

+ Currency: ${(accountCurrencyUom.description)?if_exists} [${ownedFinAccount.currencyUomId?if_exists}] + Date Opened: ${ownedFinAccount.fromDate?if_exists} + Is Frozen: ${ownedFinAccount.isFrozen?default('N')} + <#if ownedFinAccount.replenishLevel?exists> + Replenish Level: <@ofbizCurrency amount=ownedFinAccount.replenishLevel isoCode=ownedFinAccount.currencyUomId/> + +

+
+ + + + + + + + + + + + + <#list ownedFinAccountTransList as ownedFinAccountTrans> + <#assign finAccountTransType = ownedFinAccountTrans.getRelatedOne('FinAccountTransType')> + <#assign displayAmount = ownedFinAccountTrans.amount> + <#if ownedFinAccountTrans.finAccountTransTypeId == 'WITHDRAWAL'> + <#assign displayAmount = -displayAmount> + + + + + + + + + + + + + + + + + + +
Transaction ${uiLabelMap.CommonDate}IDOrder ItemPaymentTypeAmount
${ownedFinAccountTrans.transactionDate?if_exists}${ownedFinAccountTrans.finAccountTransId}${ownedFinAccountTrans.orderId?if_exists}:${ownedFinAccountTrans.orderItemSeqId?if_exists}${ownedFinAccountTrans.paymentId?if_exists}${finAccountTransType.description?default(ownedFinAccountTrans.finAccountTransTypeId)?if_exists}<@ofbizCurrency amount=displayAmount isoCode=ownedFinAccount.currencyUomId/>

Actual Balance<@ofbizCurrency amount=ownedFinAccount.actualBalance isoCode=ownedFinAccount.currencyUomId/>
+ +<#if ownedFinAccountAuthList?has_content> +
+ + + + + + + + + + + <#list ownedFinAccountAuthList as ownedFinAccountAuth> + + + + + + + + + + + + + + + + + + + +
Authorization ${uiLabelMap.CommonDate}IDExpiresAmount
${ownedFinAccountAuth.authorizationDate?if_exists}${ownedFinAccountAuth.finAccountAuthId}${ownedFinAccountAuth.thruDate?if_exists}<@ofbizCurrency amount=-ownedFinAccountAuth.amount isoCode=ownedFinAccount.currencyUomId/>

Actual Balance<@ofbizCurrency amount=ownedFinAccount.actualBalance isoCode=ownedFinAccount.currencyUomId/>
Available Balance<@ofbizCurrency amount=ownedFinAccount.availableBalance isoCode=ownedFinAccount.currencyUomId/>
+ + diff --git a/applications/party/webapp/partymgr/party/viewprofile.ftl b/applications/party/webapp/partymgr/party/viewprofile.ftl index b1ab219325..8d22cd33cd 100644 --- a/applications/party/webapp/partymgr/party/viewprofile.ftl +++ b/applications/party/webapp/partymgr/party/viewprofile.ftl @@ -406,6 +406,9 @@ under the License. + <#-- Financial Account Summary --> + ${screens.render('component://party/widget/partymgr/PartyScreens.xml#FinAccountSummary')} + <#-- UserLogins -->
diff --git a/applications/party/widget/partymgr/CommonScreens.xml b/applications/party/widget/partymgr/CommonScreens.xml index 63fa76abca..77a4752da7 100644 --- a/applications/party/widget/partymgr/CommonScreens.xml +++ b/applications/party/widget/partymgr/CommonScreens.xml @@ -100,6 +100,8 @@ under the License. text="${uiLabelMap.AccountingPaymentsSent}"/> + diff --git a/applications/party/widget/partymgr/PartyScreens.xml b/applications/party/widget/partymgr/PartyScreens.xml index af0ddd7710..b700b127ad 100644 --- a/applications/party/widget/partymgr/PartyScreens.xml +++ b/applications/party/widget/partymgr/PartyScreens.xml @@ -706,5 +706,65 @@ under the License. - + + +
+ + + + + + + +
+ + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+
+
+
+
+
+ +