Koha/koha-tmpl/intranet-tmpl/prog/en/modules/members
Maryse Simard e74208b8dc
Bug 24208: Remove change calculation for writeoffs
Bug 11373 added change calculation to the payment page.

This doesn't work very well in the case of writeoffs:
    - The "Amount paid" and "Change to give" fields don't make much
    sense in the case of writeoffs.
    - The amount for a partial writeoff has to be entered in the
    "Amount paid" field instead of the one labeled "Writeoff amount"
    just underneath.

This patch removes these unwanted fields and use the "Writeoff amount"
label on the right input.

Test plan:
1) Choose a patron who has fees.
    You can add a manual invoice if necessary.
2) Go to Accounting > Make a payment.
3) Select some fines and click "Write off selected".
4) Note the form has a lot of inputs, not all are necessary for a
writeoff.
5) Make a partial writeoff by entering a different amount in the
"Writeoff amount" field.
    => The amount written off is the amount entered in the "Amount
    paid" field.
6) Apply patch.
7) Repeat steps 1-3.
8) Notice the form only has "Amount outstanding", "Writeoff amount"
and "Note" fields, which are enough for a writeoff.
9) Entering any amount lower than or equal to the amount outstanding
in the "Writeoff amount" field should create a writeoff of the selected
amount.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2019-12-23 12:21:34 +00:00
..
tables Bug 22781: Correctly filter the emails 2019-05-15 12:10:53 +00:00
accountline-details.tt
apikeys.tt Bug 22698: Fix incorrect button classes 2019-04-16 13:17:33 +00:00
boraccount.tt Bug 23507: Add ability to show change given on auto-popup fee receipt from FinePaymentAutoPopup 2019-10-08 14:47:39 +01:00
deletemem.tt Bug 23219: Cancel patrons holds when patron delete 2019-07-15 12:48:36 +01:00
discharge.tt
discharges.tt
files.tt
holdshistory.tt Bug 23013: Upgrade DataTables in the staff client 2019-08-22 15:23:19 +01:00
housebound.tt Bug 22698: Fix incorrect button classes 2019-04-16 13:17:33 +00:00
ill-requests.tt
mancredit.tt Bug 23805: Update mancredit to use the new credit types 2019-10-24 17:35:21 +01:00
maninvoice.tt Bug 23049: Update maninvoice to reference debit types 2019-10-24 17:24:06 +01:00
member-flags.tt Bug 14741: Selecting all child permissions doesn't select the top level check box 2019-11-26 11:11:06 +00:00
member-password.tt Bug 22706: Add plugin hooks for Norwegian national patron database 2019-10-29 12:19:49 +00:00
member.tt Bug 24076: Remove inline CSS to center patron home library in search results 2019-11-26 11:47:08 +00:00
memberentrygen.tt Bug 23451: Fix other similar wrong filterings 2019-11-27 11:30:18 +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 14570: (follow-up) fix qa FAIL tests 2019-08-20 16:05:14 +01:00
moremember-print.tt Bug 23049: Update existing code to use debit_type 2019-10-24 17:24:15 +01:00
moremember.tt Bug 14697: Enhance the return claims feature 2019-10-31 12:04:21 +00:00
notices.tt Bug 23013: Upgrade DataTables in the staff client 2019-08-22 15:23:19 +01:00
pay.tt Bug 23049: Update existing code to use debit_type 2019-10-24 17:24:15 +01:00
paycollect.tt Bug 24208: Remove change calculation for writeoffs 2019-12-23 12:21:34 +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
readingrec.tt Bug 23013: Upgrade DataTables in the staff client 2019-08-22 15:23:19 +01:00
routing-lists.tt
statistics.tt
update-child.tt