[Koha-bugs] [Bug 36076] paycollect.tt is missing permission checks for manual credit and invoice

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Feb 13 10:54:17 CET 2024


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36076

--- Comment #1 from Fridolin Somers <fridolin.somers at biblibre.com> ---
Created attachment 162088
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=162088&action=edit
Bug 36076: paycollect.tt add permission checks for manual credit and invoice

In members/pay.tt one can see permission checks for manual credit and invoice :
CAN_user_updatecharges_manual_invoice
CAN_user_updatecharges_manual_credit

This is missing from members/paycollect.tt.
HTML is also missing classes manualcredit and manualinvoice.

Test plan :
1) Create a user with permissions to manage accounting but without
   manual_invoice and manual_credit
2) Go to a patron account with an invoice
3) Click on "Make a payment", you dont see tabs manual credit/invoice
4) Click on "Pay" in "Actions" column
=> Without patch you see tabs manual credit/invoice
=> With patch you do not see them

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list