Payment Dump Entry Numbers
From Offerit
Revision as of 16:39, 13 January 2012 by OfferitRobC (talk | contribs)
Add a number to every banking check in a dump using the Smarty {counter} function in the entry header. For example:
Check #{counter}
You can use {counter} multiple times in the same header, or generate a unique number across all dumps, by assigning a number to a variable and updating it after each run. For example, to print a series of checks starting with check #100:
{counter assign=mycounter}Row:{$mycounter} Check #{math equation="x+y" x=100 y=$mycounter}
The next time you want to print checks, update the 100 in x=100. For example, to print a new series of checks starting with check #177:
{counter assign=mycounter}Row:{$mycounter} Check #{math equation="x+y" x=177 y=$mycounter}