jen
03/17/2022, 7:34 PMClay Roper
03/17/2022, 8:11 PMClay Roper
03/17/2022, 8:29 PMjen
03/17/2022, 9:25 PMjen
03/17/2022, 9:25 PMjen
03/17/2022, 9:25 PMjen
03/17/2022, 9:26 PMClay Roper
03/17/2022, 9:26 PMjen
03/17/2022, 9:28 PMjen
03/17/2022, 9:28 PMClay Roper
03/17/2022, 9:29 PMClay Roper
03/17/2022, 9:37 PMcredit_form
elementClay Roper
03/17/2022, 9:38 PMjen
03/17/2022, 9:47 PMClay Roper
03/17/2022, 9:53 PMGeorge McMullen
03/22/2022, 10:56 PMClay Roper
03/23/2022, 9:06 PMInvoice
|__ Payment A
|__ Credit B
|__ Credit C
|
|__ Payment B
In the above example, we can clearly see that the 4 applying transactions related to the Invoice, but we can't see from the data that Payment A and the two credit are part of an "application group"George McMullen
03/23/2022, 10:34 PMjen
03/23/2022, 11:34 PMjen
03/23/2022, 11:35 PMjen
03/23/2022, 11:35 PMjen
03/23/2022, 11:35 PM<#if record.apply?has_content><apply>[<#list record.apply as apply>{"due":"${apply.due}","currency":"${apply.currency}","applydate":"${apply.applydate}","disc":"${apply.disc}","internalid":"${apply.internalid}","total":"${apply.total}","amount":"${apply.amount}","refnum":"${apply.refnum}"}<#if !apply?is_last>,</#if></#list>]</apply></#if>
<#if record.credit?has_content><credit>[<#list record.credit as credit>{"currency":"${credit.currency}","creditdate":"${credit.creditdate}","appliedto":"${credit.appliedto}","internalid":"${credit.internalid}","amount":"${credit.amount}","type":"${credit.type}","refnum":"${credit.refnum}"}<#if !credit?is_last>,</#if></#list>]</credit></#if>
jen
03/23/2022, 11:36 PMrender.transaction
with a form ID that uses my “fake” templatejen
03/23/2022, 11:37 PM<apply>
and <credit>
tags, JSON.parse them.jen
03/23/2022, 11:37 PMjen
03/23/2022, 11:37 PMGeorge McMullen
03/24/2022, 4:25 PMjen
03/25/2022, 3:07 PM