Bug 30610: Update on click binding for print receipt
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 25 Apr 2022 14:37:33 +0000 (15:37 +0100)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 2 May 2022 21:22:57 +0000 (11:22 -1000)
commit7989e661f70a22377348692a9b67e190dab0efc2
treecaffbec0af04b4ddc7641a9209f5b86158c2e1c5
parenta8a32f11242738dc2356d5ec9023641f0afaea52
Bug 30610: Update on click binding for print receipt

This patch updates the binding for the on click even of the print
receipt button so that subsequent pages in the datatable work with the
reciept printing button.

Test plan
1) Enable cash management and process enough transactions to display
   more than one page of transactions in the register details page.
2) Confirm the 'Print receipt' button works on the first page of
   transactions
3) Confirm the 'Print receipt' button works on subsequent transactions
   pages in the datatable.
4) Confirm the same for the past transactions table.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt