Koha/koha-tmpl/intranet-tmpl/prog/en/modules
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
..
acqui Bug 11500: Use dateformat syspref and datepicker on additems.pl (and other item cataloguing pages) 2019-12-23 12:01:45 +00:00
admin Bug 18688: Warnings about UTF-8 charset when creating a new language 2019-12-23 12:02:15 +00:00
authorities Bug 11529: Clean up subtitle usage 2019-08-05 15:03:18 +01:00
basket Bug 11529: Add templates for biblio title display. Unify display. 2019-08-05 15:03:19 +01:00
batch Bug 20102: Remove attribute "text/css" for <style> element used in staff client templates 2019-02-19 13:52:15 +00:00
catalogue Bug 20948: Add missing html filter 2019-12-10 10:39:56 +00:00
cataloguing Bug 11500: Use dateformat syspref and datepicker on additems.pl (and other item cataloguing pages) 2019-12-23 12:01:45 +00:00
circ Bug 24085: Make print and cancel-hold buttons instead of submit 2019-12-16 21:03:03 +00:00
clubs Bug 19618: Add ability to place holds for members of a club in intranet 2019-10-01 08:05:57 +01:00
common Bug 22015: Move DataTables CSS to global include 2019-02-19 19:40:35 +00:00
course_reserves Bug 24283: (bug 21446 follow-up) close strong and add missing parens 2019-12-23 12:02:46 +00:00
errors Bug 21790: Switch error page template to Bootstrap grid 2018-12-26 20:47:03 +00:00
ill Bug 23529: Narrow scope of changed 2019-10-25 13:17:34 +01:00
installer Bug 22527: (RM follow-up) Add filter 2019-05-07 15:57:35 +00:00
labels Bug 23464: (follow-up) QA fixes 2019-09-09 11:27:12 +01:00
mana Bug 22250: Clean up Mana KB integration with serials and reports 2019-04-11 11:34:14 +00:00
members Bug 24208: Remove change calculation for writeoffs 2019-12-23 12:21:34 +00:00
offline_circ Bug 23098: Reword success message of KOC upload process 2019-06-24 14:44:08 +01:00
onboarding Bug 22451: Use Asset everywhere 2019-04-16 13:17:32 +00:00
patron_lists Bug 23013: Upgrade DataTables in the staff client 2019-08-22 15:23:19 +01:00
patroncards Bug 23013: Upgrade DataTables in the staff client 2019-08-22 15:23:19 +01:00
plugins Bug 23222: Update plugins-home.tt with new ENABLE/DISABLE flag name 2019-07-02 09:11:58 +01:00
reports Bug 13806: Sanitize inputs where creating Reports subgroup 2019-12-13 15:29:34 +00:00
reserve Bug 23697: (QA follow-up) Rename PatronAutocompletion to PatronAutoComplete 2019-10-08 14:51:12 +01:00
reviews Bug 21570: Update two-column templates with Bootstrap grid: Various 2018-11-05 14:41:09 +00:00
rotating_collections Bug 22015: Move DataTables CSS to global include 2019-02-19 19:40:35 +00:00
serials Bug 7047: (QA follow-up) Add missing filters 2019-12-23 12:07:08 +00:00
services
suggestion Bug 7047: Revert changes relative to the new column on suggestion list 2019-12-23 12:06:55 +00:00
tags Bug 23013: Upgrade DataTables in the staff client 2019-08-22 15:23:19 +01:00
test
tools Bug 24124: Fix authorities selection in batch deletion tool in Chrome 2019-12-13 14:03:05 +00:00
virtualshelves Bug 24093: Sorting indicators broken on list contents view 2019-11-25 08:37:01 +00:00
about.tt Bug 24136: Update sponsors for 19.11 cycle 2019-12-09 14:25:13 +00:00
auth.tt Bug 23042: Correct shib param escaping 2019-11-27 11:30:20 +00:00
intranet-main.tt Bug 23711: Fix bad path 2019-10-03 10:58:24 +01:00