[Koha-bugs] [Bug 24081] Add a 'discount' process to accounts

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Mar 10 14:04:11 CET 2020


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

Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jonathan.druart at bugs.koha-c
                   |                            |ommunity.org

--- Comment #25 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
% 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.


More information about the Koha-bugs mailing list