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.
Payment on Account receipt question
Apr 20, 2007
2 Replies
I would go into the xml for the receipt you are looking forward. You should be able to add another 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
0HistoryCount < 5 ---write out history part --- HistoryCount + 1
just noticed how this posted - make sure you use the html code for the " less than " sign - & l t ;
Join the Discussion
Have something to add? Share your thoughts — no account required.
Didn't find your answer?
Ask the community — no account required