Difference between revisions of "Payment Dump Entry Numbers"
From Offerit
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...") |
OfferitRobC (talk | contribs) |
||
(3 intermediate revisions by 2 users not shown) | |||
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> | ||
− | |||
− | |||
− |
Latest revision as of 15:39, 13 January 2012
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}