<#-- 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. --> <#if ownedFinAccount.replenishLevel??>
Account Number:
${ownedFinAccount.finAccountId}
Currency:
${(accountCurrencyUom.description)!} [${ownedFinAccount.currencyUomId!}]
Date Opened:
${ownedFinAccount.fromDate!}
Status:
${(finAccountStatusItem.description)?default("Active")}
Replenish Level:
${ownedFinAccount.replenishLevel}
<#list ownedFinAccountTransList as ownedFinAccountTrans> <#assign finAccountTransType = ownedFinAccountTrans.getRelatedOne("FinAccountTransType", false)/> <#assign displayAmount = ownedFinAccountTrans.amount/> <#if ownedFinAccountTrans.finAccountTransTypeId == "WITHDRAWAL"> <#assign displayAmount = -displayAmount/>
Transaction ${uiLabelMap.CommonDate} ID Order Item Payment Type Amount
${ownedFinAccountTrans.transactionDate!} ${ownedFinAccountTrans.finAccountTransId} <#if ownedFinAccountTrans.orderId?has_content> ${ownedFinAccountTrans.orderId!}:${ownedFinAccountTrans.orderItemSeqId!} <#else>  <#if ownedFinAccountTrans.paymentId?has_content>${ownedFinAccountTrans.paymentId!}<#else>  ${finAccountTransType.description?default(ownedFinAccountTrans.finAccountTransTypeId)!} <@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} ID Expires Amount
Actual Balance     <@ofbizCurrency amount=ownedFinAccount.actualBalance isoCode=ownedFinAccount.currencyUomId/>
${ownedFinAccountAuth.authorizationDate!} ${ownedFinAccountAuth.finAccountAuthId} ${ownedFinAccountAuth.thruDate!} <@ofbizCurrency amount=-ownedFinAccountAuth.amount isoCode=ownedFinAccount.currencyUomId/>
Available Balance     <@ofbizCurrency amount=ownedFinAccount.availableBalance isoCode=ownedFinAccount.currencyUomId/>