If First
If we want to show the first row containing the four fields above we use:
To illustrate this:
{{#each TransactionDetail.Payments}}
{{#if @first}}
{{PostedDate}} - {{TransAmount}} - {{TransDescription}} - {{Reference}}
{{/if}}{{/each}}
I.e. in the above it is saying find the rows available in the collection of payments. Find the first row and for this show the 4 fields of posted date, transaction amount, transaction description and reference.
Last updated
Was this helpful?