Summary: | Problem with quick slip templates | ||
---|---|---|---|
Product: | Koha | Reporter: | Vitor Fernandes <vfernandes> |
Component: | Notices | Assignee: | Vitor Fernandes <vfernandes> |
Status: | RESOLVED DUPLICATE | QA Contact: | Jonathan Druart <jonathan.druart> |
Severity: | major | ||
Priority: | P1 - high | CC: | jonathan.druart, kyle |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | Sponsored | Patch complexity: | Small patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Attachments: |
Bug 9279: Problem with quick slip templates
[SIGNED-OFF] Bug 9279: Problem with quick slip templates |
Description
Vitor Fernandes
2012-12-13 09:53:17 UTC
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> |