Payment on Account receipt question

When I apply a payment to customer's account, a receipt prints with an entire history of the customer's purchases. Is there a way to limit this information, as some of my customer's history is quite extensive. Thank you
in advance for your help.
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
<%-name%>
Add image file
Upload
I would go into the xml for the receipt you are looking forward. You should be able to add another <for> loop in the section that writes out your history to have it stop at an arbitrary number. I haven't tried it, but something like the following, right inside your for loop for history, should work <set name="HistoryCount " type="vbint">0</set> <for each="loop"> <if> <Condition>HistoryCount < 5</condition> <THEN> ---write out history part --- <set name="HistoryCount " type="vbint">HistoryCount + 1</set> </then> </if> </for>
--
William Penberthy
Practice Manager
  Click to see the full signature.
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
<%-name%>
Add image file
Upload
just noticed how this posted - make sure you use the html code for the " less than " sign - & l t ;
--
William Penberthy
Practice Manager
  Click to see the full signature.
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
<%-name%>
Add image file
Upload

BeanSmart.com is a site by and for consumers of financial services and advice. We are not affiliated with any of the banks, financial services or software manufacturers discussed here. All logos and trade names are the property of their respective owners.

Tax and financial advice you come across on this site is freely given by your peers and professionals on their own time and out of the kindness of their hearts. We can guarantee neither accuracy of such advice nor its applicability for your situation. Simply put, you are fully responsible for the results of using information from this site in real life situations.