Yesterday I was trying the using of quick slip templates in Koha 3.8.7. I've modified the template and then I've done one check out to one patron. Then I tried to print the quick slip, and two thing happened: - If I was in circulation tab of the patron, when printing the quick slip the template was used (printslip.pl was called) - If I was in details tab of the patron, when printing the quick slip the templates wasn't used (moremember.pl was called) Should be the template always be used besides being on circulation or details tab?
Created attachment 14198 [details] [review] Bug 9279: Problem with quick slip templates Yesterday I was trying the using of quick slip templates in Koha 3.8.7. I've modified the template and then I've done one check out to one patron. Then I tried to print the quick slip, and two thing happened: - If I was in circulation tab of the patron, when printing the quick slip the template was used (printslip.pl was called) - If I was in details tab of the patron, when printing the quick slip the templates wasn't used (moremember.pl was called) To test: - change for example the quickslip template in the notices tools - go to patrons checkout page and do a check out of one item - try to print the quick slip in the same page, and see if the template is used - go to the patron details tab and try to print the quick slip - if the template is used then the bug is corrected, if not the bug still happens - try the slip template too Sponsored-by: KEEP SOLUTIONS
Can't reproduce in master, versioning for 3.8
Kyle, I have a master clone, and the error is still there. Code of member-toolbar.inc: function printx_window(print_type) { window.open("/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]&print=" + print_type, "printwindow"); return false; } Note that moremember.pl is always invoked.
Thanks for the info! Resetting version to master. Kyle (In reply to comment #3) > Kyle, > > I have a master clone, and the error is still there. > Code of member-toolbar.inc: > > function printx_window(print_type) { > > window.open("/cgi-bin/koha/members/moremember.pl?borrowernumber=[% > borrowernumber %]&print=" + print_type, "printwindow"); > return false; > } > > > Note that moremember.pl is always invoked.
Created attachment 14252 [details] [review] [SIGNED-OFF] Bug 9279: Problem with quick slip templates Yesterday I was trying the using of quick slip templates in Koha 3.8.7. I've modified the template and then I've done one check out to one patron. Then I tried to print the quick slip, and two thing happened: - If I was in circulation tab of the patron, when printing the quick slip the template was used (printslip.pl was called) - If I was in details tab of the patron, when printing the quick slip the templates wasn't used (moremember.pl was called) To test: - change for example the quickslip template in the notices tools - go to patrons checkout page and do a check out of one item - try to print the quick slip in the same page, and see if the template is used - go to the patron details tab and try to print the quick slip - if the template is used then the bug is corrected, if not the bug still happens - try the slip template too Sponsored-by: KEEP SOLUTIONS Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
The bug 6261 solves this issue. *** This bug has been marked as a duplicate of bug 6261 ***