Bugzilla – Attachment 100197 Details for
Bug 24812
Add permission for 'discount' process
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24812: (bug 24081 follow-up) Add permission description
Bug-24812-bug-24081-follow-up-Add-permission-descr.patch (text/plain), 1.70 KB, created by
Martin Renvoize (ashimema)
on 2020-03-05 14:36:35 UTC
(
hide
)
Description:
Bug 24812: (bug 24081 follow-up) Add permission description
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2020-03-05 14:36:35 UTC
Size:
1.70 KB
patch
obsolete
>From 8a00c70fbd81795631d17c96d2135663f0900360 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Thu, 5 Mar 2020 14:32:23 +0000 >Subject: [PATCH] Bug 24812: (bug 24081 follow-up) Add permission description > >Bug 24081 added a discount permission to the accounts system but during >subsequent rebases, the description of that new permission got lot. > >This patch restores the description. > >Test plan >0/ Check that a checkbox without a description appears in the 'Manage >patrons patrons fines and fees' section of the 'Set permissions' page. >1/ Apply the patch >2/ Reload the page and note that the checkbox now preceeds a suitable >description. >3/ Signoff. > >Bonus points: Check the permission works as described and hides the >'Discount' action button for staff who do not have the permission >enabled. >--- > koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc | 5 +++++ > 1 file changed, 5 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc >index affbf0f6f1..d431acdc3c 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc >@@ -307,6 +307,11 @@ > Remaining permissions for managing fines and fees > </span> > <span class="permissioncode">([% name | html %])</span> >+ [%- CASE 'discount' -%] >+ <span class="sub_permission discount_subpermission"> >+ Discount debits for patrons >+ </span> >+ <span class="permissioncode">([% name | html %])</span> > [%- CASE 'payout' -%] > <span class="sub_permission payout_subpermission"> > Payout credits to patrons >-- >2.20.1
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 24812
:
100197
|
100198
|
100458