Payment Dump Entry Numbers
From Offerit
Revision as of 15:17, 7 November 2011 by OfferitJames (talk | contribs) (Created page with "{{Offerit Manual | show_payments_admin_section = true }} Add a number to every [http://en.wikipedia.org/wiki/Cheque banking check] in a dump using the Smarty {counter} funct...")
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}