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

Jonathan Druart <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
                   |                            |ommunity.org

--- Comment #25 from Jonathan Druart <[email protected]> 
---
% git grep updatecharges|grep discount
koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt:        [% IF
CAN_user_updatecharges_discount && account.is_debit && (
account.amountoutstanding == account.amount ) && !(account.debit_type_code ==
'PAYOUT') %]


There is no check on the discount subperm, only hide/show a button.
Without a test in the controller that can be forced.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are on the CC list for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to