Difference between revisions of "Payment Dump Entry Numbers"
From Offerit
OfferitJames (talk | contribs) |
OfferitRobC (talk | contribs) |
||
Line 26: | Line 26: | ||
{counter assign=mycounter}Row:{$mycounter} Check #{math equation="x+y" x=177 y=$mycounter} | {counter assign=mycounter}Row:{$mycounter} Check #{math equation="x+y" x=177 y=$mycounter} | ||
</pre> | </pre> | ||
− | |||
− | |||
− |
Revision as of 16:28, 21 December 2011
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}