Koha/koha-tmpl/intranet-tmpl/prog/en/modules/members
Hayley Mapley d36566d6ea Bug 22724: Allow only users with correct permissions to 'Write off selected'
Due to the addition of a 'Write off selected' button in 18.11, users without
writeoff permissions could mistakenly view and action the 'Write off
selected' option for a patron in Accounting > Make a payment (Fines > Pay fines).
The attached patch corrects this error.

Test plan:
1) Make sure that a staff user has '(writeoff) Write off fines and fees'
permission disabled
2) Bring up a patron with an unpaid fee, go to Accounting -> Make a
payment
3) Note that 'Write off selected' button is displayed.
4) Select a fee, click 'Write off selected'. Note that staff member has
access to 'Write off an amount toward selected fines'
5) Apply the patch
6) Repeat steps 1-2, and note that the button is no longer displayed
7) Bonus points, as a staff user with writeoff permissions enabled check
that all four buttons (Pay amount, Pay selected, Write off all, Write
off selected) are displayed

Sponsored-by: Catalyst IT

Signed-off-by: Liz Rea <wizzyrea@gmail.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Liz Rea <wizzyrea@gmail.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2019-05-30 10:09:06 +00:00
..
tables Bug 22781: Correctly filter the emails 2019-05-15 12:10:53 +00:00
accountline-details.tt Bug 19489: Change method name issue --> checkout 2019-03-11 12:45:58 +00:00
apikeys.tt Bug 22698: Fix incorrect button classes 2019-04-16 13:17:33 +00:00
boraccount.tt Bug 22626: (RM follow-up) Adjust column after 12166 2019-04-11 13:34:09 +00:00
deletemem.tt Bug 21963: Update two-column templates with Bootstrap grid: Patrons part 1 2019-01-11 12:28:58 +00:00
discharge.tt Bug 21963: Update two-column templates with Bootstrap grid: Patrons part 1 2019-01-11 12:28:58 +00:00
discharges.tt Bug 22015: Move DataTables CSS to global include 2019-02-19 19:40:35 +00:00
files.tt Bug 21963: Update two-column templates with Bootstrap grid: Patrons part 1 2019-01-11 12:28:58 +00:00
holdshistory.tt Bug 22015: Move DataTables CSS to global include 2019-02-19 19:40:35 +00:00
housebound.tt Bug 22698: Fix incorrect button classes 2019-04-16 13:17:33 +00:00
ill-requests.tt Bug 18589: (QA follow-up) Remove dateFormat from javascript on ill requests pages. 2019-03-22 20:21:52 +00:00
mancredit.tt Bug 21963: Update two-column templates with Bootstrap grid: Patrons part 1 2019-01-11 12:28:58 +00:00
maninvoice.tt Bug 22521: Update UI to use accountlines.status 2019-04-17 16:49:36 +00:00
member-flags.tt Bug 22698: Fix incorrect button classes 2019-04-16 13:17:33 +00:00
member-password.tt Bug 22974: Patron password update validation broken 2019-05-30 10:01:42 +00:00
member.tt Bug 22015: Move DataTables CSS to global include 2019-02-19 19:40:35 +00:00
memberentrygen.tt Bug 3766: Cities/Towns only on one address 2019-04-17 12:25:25 +00:00
members-update.tt
merge-patrons.tt Bug 22698: Fix incorrect button classes 2019-04-16 13:17:33 +00:00
moremember-brief.tt Bug 21757: (folow-up) Restore patron brief detail page 2019-04-29 12:12:40 +00:00
moremember-print.tt Bug 22521: Update UI to use accountlines.status 2019-04-17 16:49:36 +00:00
moremember.tt Bug 21312: (QA follow-up) Ease translation 2019-05-10 18:01:36 +00:00
notices.tt Bug 22015: Move DataTables CSS to global include 2019-02-19 19:40:35 +00:00
pay.tt Bug 22724: Allow only users with correct permissions to 'Write off selected' 2019-05-30 10:09:06 +00:00
paycollect.tt Bug 22301: (bug 11373 follow-up) Do not format amounts in inputs 2019-02-15 13:06:41 +00:00
printfeercpt.tt Bug 22716: (RM follow-up) missing filter and update description 2019-05-10 14:29:13 +00:00
printinvoice.tt Bug 22809: (RM follow-up) fix missing filter and update description 2019-05-10 14:43:11 +00:00
purchase-suggestions.tt Bug 22023: Further improve responsive layout handling of staff client menu bar 2019-03-13 05:31:28 +00:00
readingrec.tt Bug 22015: Move DataTables CSS to global include 2019-02-19 19:40:35 +00:00
routing-lists.tt Bug 21965: Update two-column templates with Bootstrap grid: Patrons part 3 2019-01-25 20:36:05 +00:00
statistics.tt Bug 22015: Move DataTables CSS to global include 2019-02-19 19:40:35 +00:00
update-child.tt Bug 22015: Move DataTables CSS to global include 2019-02-19 19:40:35 +00:00