class="alternate-row"#if>>
<#if payments?has_content>
${finAccountTrans.finAccountTransId}
<#list payments as payment>
<#if payment?? && payment.paymentTypeId?has_content>
<#assign paymentType = delegator.findOne("PaymentType", {"paymentTypeId" : payment.paymentTypeId}, true)>
#if>
<#if payment?has_content && payment.paymentMethodTypeId?has_content>
<#assign paymentMethodType = delegator.findOne("PaymentMethodType", {"paymentMethodTypeId" : payment.paymentMethodTypeId}, true)>
#if>
<#if payment?has_content>
<#assign paymentGroupMembers = Static["org.apache.ofbiz.entity.util.EntityUtil"].filterByDate(payment.getRelated("PaymentGroupMember", null, null, false)!) />
<#assign fromParty = payment.getRelatedOne("FromParty", false)! />
<#assign fromPartyName = delegator.findOne("PartyNameView", {"partyId" : fromParty.partyId}, true) />
<#assign toParty = payment.getRelatedOne("ToParty", false)! />
<#assign toPartyName = delegator.findOne("PartyNameView", {"partyId" : toParty.partyId}, true) />
<#if paymentGroupMembers?has_content>
<#assign paymentGroupMember = Static["org.apache.ofbiz.entity.util.EntityUtil"].getFirst(paymentGroupMembers) />
#if>
#if>
class="alternate-row"#if>>
<#if paymentGroupMember?has_content>${paymentGroupMember.paymentGroupId!} #if>
<#if payment?has_content>${payment.paymentId!} #if>
<#if paymentType?has_content>${paymentType.description!}#if>
<#if paymentMethodType?has_content>${paymentMethodType.description!}#if>
<@ofbizCurrency amount=payment.amount!/>
<#if fromPartyName?has_content>${fromPartyName.groupName!}${fromPartyName.firstName!} ${fromPartyName.lastName!}[${fromPartyName.partyId!}] #if>
<#if toPartyName?has_content>${toPartyName.groupName!}${toPartyName.firstName!} ${toPartyName.lastName!}[${toPartyName.partyId!}] #if>
#list>
${uiLabelMap.AccountingDepositSlip}
<#else>
${finAccountTrans.finAccountTransId}
#if>
${finAccountTransType.description!}
<#if partyName?has_content>${(partyName.firstName)!} ${(partyName.lastName)!} ${(partyName.groupName)!}[${(partyName.partyId)!}] #if>
<#if glReconciliation?has_content>${glReconciliation.glReconciliationName!}[${glReconciliation.glReconciliationId!}] #if>
${finAccountTrans.transactionDate!}
${finAccountTrans.entryDate!}
${finAccountTrans.amount!}
<#if finAccountTrans.paymentId?has_content>
${finAccountTrans.paymentId}
#if>
<#if paymentType?has_content>${paymentType.description!}#if>
<#if paymentMethodType?has_content>${paymentMethodType.description!}#if>
<#if status?has_content>${status.description!}#if>
${finAccountTrans.comments!}
<#if grandTotal??>
<#if finAccountTrans.statusId?has_content && finAccountTrans.statusId == 'FINACT_TRNS_CREATED'>
${uiLabelMap.CommonCancel}
#if>
#if>
<#if glReconciliationId?has_content && glReconciliationId != "_NA_">
#if>
<#if !(grandTotal??)>
<#if (parameters.glReconciliationId?has_content && parameters.glReconciliationId != "_NA_")>
<#if finAccountTrans.statusId == "FINACT_TRNS_CREATED">
${uiLabelMap.CommonRemove}
#if>
#if>
#if>
<#if ((glReconciliationId?has_content && glReconciliationId == "_NA_") && (glReconciliations?has_content && finAccountTransList?has_content)) || !grandTotal??>
<#if finAccountTrans.statusId == "FINACT_TRNS_CREATED">
#if>
#if>
<#-- toggle the row color -->
<#assign alt_row = !alt_row>
#list>