---- Reported by tomascohen@gmail.com 2010-04-15 19:23:48 ---- With a simple change we can have slip receipts printed using printx_window("slip") conveniently by pressing <Enter> on empty chekout form. I've added a 'return true' in the end of the command so it preserves the current semantics of sending the browser to the general circulation screen. Bernardo told me that old Print.pm code seems to still be triggered from that form. We both thought this should be cleaned out but, as-is, this solution resulted very helpful for our librarians. --- Bug imported by chris@bigballofwax.co.nz 2010-05-21 01:26 UTC --- This bug was previously known as _bug_ 4389 at http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=4389 Actual time not defined. Setting to 0.0 Setting qa contact to the default for this product. This bug either had no qa contact or an invalid one.
This bug says 'needs signoff' but I don't see a patch attached or a link to a patch ... is this missing a patch or wrongly labeled?
Created attachment 3274 [details] [review] Initial patch
This bug is mentioned in: [Bug 4389] Trigger quick slip print on empty checkout submit http://lists.koha-community.org/pipermail/koha-patches/2011-March/014015.html
This patch adds this new feature only with Mozilla Firefox. It doesn't work with Chrome/Chromium or Opera. Further tests are needed with other web browsers, like Internet Explorer or Safari. Guillaume
Created attachment 3757 [details] [review] Missing semicolon fix
Hi Tomas, I have tested both patches with Firefox and Chromium on Ubuntu. It works perfectly in Firefox, but not in Chromium.
printx_window is not working on Chrome/Chromium. Is not an issue introduced in this patch.
It works in webkit based browsers once patch for [6126] is applied.
6126 has been applied
Created attachment 3941 [details] [review] Proposed patch [tt]
Created attachment 3942 [details] [review] Proposed patch [3.2.x]
Pushed for master, please test