Bugzilla – Attachment 23762 Details for
Bug 11027
add a column for basketgroups in late orders table
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PATCH 2/2] Bug 11027 - Create a link only if user have required permissions
0002-NEW.patch (text/plain), 2.36 KB, created by
Mathieu Saby
on 2013-12-22 21:53:53 UTC
(
hide
)
Description:
[PATCH 2/2] Bug 11027 - Create a link only if user have required permissions
Filename:
MIME Type:
Creator:
Mathieu Saby
Created:
2013-12-22 21:53:53 UTC
Size:
2.36 KB
patch
obsolete
>From 60277eb2480d67b548f501c0246e0d7ac26460e2 Mon Sep 17 00:00:00 2001 >From: Mathieu Saby <mathieu.saby@univ-rennes2.fr> >Date: Sun, 22 Dec 2013 22:48:34 +0100 >Subject: [PATCH 2/2] Bug 11027 - Create a link only if user have required permissions >Content-Type: text/plain; charset="utf-8" > >With this followup, a user without order_manage permission won't be able to cick on a basket >and a user without group_manage permission won't be able to click on a basketgroup > >Note that the issue for basket is present in current master. So it deserves a separate bugfix (as bug 11027 is an ENH) > >--- > .../prog/en/modules/acqui/lateorders.tt | 12 ++++++++++-- > 1 file changed, 10 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt >index a036945..c5341c2 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt >@@ -159,10 +159,18 @@ $(document).ready(function() { > [% lateorder.subtotal %] > </td> > <td> >- <a href="basket.pl?basketno=[% lateorder.basketno %]" title="basket">[% lateorder.basketname %] ([% lateorder.basketno %])</a> >+ [% IF ( CAN_user_acquisition_order_manage ) %] >+ <a href="basket.pl?basketno=[% lateorder.basketno %]" title="basket">[% lateorder.basketname %] ([% lateorder.basketno %])</a> >+ [% ELSE %] >+ [% lateorder.basketname %] ([% lateorder.basketno %]) >+ [% END %] > </td> > <td> >- <a href="basketgroup.pl?op=add&booksellerid=[% lateorder.supplierid %]&basketgroupid=[% lateorder.basketgroupid %]" title="basketgroup">[% lateorder.basketgroupname %] ([% lateorder.basketgroupid %])</a> >+ [% IF ( CAN_user_acquisition_group_manage ) %] >+ <a href="basketgroup.pl?op=add&booksellerid=[% lateorder.supplierid %]&basketgroupid=[% lateorder.basketgroupid %]" title="basketgroup">[% lateorder.basketgroupname %] ([% lateorder.basketgroupid %])</a> >+ [% ELSE %] >+ [% lateorder.basketgroupname %] ([% lateorder.basketgroupid %])</a> >+ [% END %] > </td> > <td>[% lateorder.branch %] > </td> >-- >1.7.9.5 >
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 11027
:
21951
|
23659
|
23762
|
24850
|
24851
|
24852
|
24991
|
24993
|
25012
|
25013
|
25014