Bugzilla – Attachment 4167 Details for
Bug 3886
Can't print receipt w/out allowing "Add or modify borrowers" permission
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed fix
0001-Fix-for-Bug-3886-Can-t-print-receipt-w-out-Add-or-mo.patch (text/plain), 1.28 KB, created by
Owen Leonard
on 2011-05-18 15:33:33 UTC
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2011-05-18 15:33:33 UTC
Size:
1.28 KB
patch
obsolete
>From a53e3d433c6e66262c6f4012b526c217b2c67df3 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Wed, 18 May 2011 11:30:40 -0400 >Subject: [PATCH] Fix for Bug 3886 - Can't print receipt w/out "Add or modify borrowers" permission >Content-Type: text/plain; charset="utf-8" > >For some reason the template wrapped the "print page" menu >item in a check for CAN_user_borrowers. The slip and quick >slip print options were excluded from this check. >--- > .../prog/en/includes/circ-toolbar.inc | 2 -- > 1 files changed, 0 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-toolbar.inc >index 1377aa5..d2f8df8 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-toolbar.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-toolbar.inc >@@ -54,9 +54,7 @@ function update_child() { > } > function yuiToolbar() { > var printmenu = [ >- [% IF ( CAN_user_borrowers ) %] > { text: _("Print Page"), onclick: {fn: function(){printx_window("page")}} }, >- [% END %] > { text: _("Print Slip"), onclick: {fn: function(){printx_window("slip")}} }, > { text: _("Quick Slip"), onclick: {fn: function(){printx_window("qslip")}} } > ]; >-- >1.7.3 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 3886
:
4167
|
75350
|
75568
|
75604