Koha/koha-tmpl/intranet-tmpl/prog/en/modules/members
Emmi 07af7b228f
Bug 23219: Cancel patrons holds when patron delete
Currently deleting a patron deletes all their holds and leaves
no record to the "old_reserves" table.

 Steps to reproduce:
- Create a patron
- Add holds for patron
- Holds are recorded to "reserves" table
- Delete patron
- Confirm delete
=>Patron and all holds are deleted and no record of holds is
left in "old_reserves" table

This patch displays alert text notifying user that deleting patron
cancels all their holds. Holds are cancelled instead of deleting them.
This patch also writes stringified datetime to holds cancel log instead
of whole datetime object.

To test:
- Apply this patch
- Create a patron
- Add holds for patron
- Holds are recorded to "reserves" table
- Delete patron
- Alert text of holds is displayed
- Confirm patron delete
=> Patron is deleted, their holds are cancelled and moved to
"old_reserves" table

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Nadine Pierre <nadine.pierre@inLibro.com>
Signed-off-by: Arthur Bousquet <arthur.bousquet@inlibro.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2019-07-15 12:48:36 +01:00
..
tables Bug 22781: Correctly filter the emails 2019-05-15 12:10:53 +00:00
accountline-details.tt Bug 19489: Change method name issue --> checkout 2019-03-11 12:45:58 +00:00
apikeys.tt Bug 22698: Fix incorrect button classes 2019-04-16 13:17:33 +00:00
boraccount.tt Bug 22626: (RM follow-up) Adjust column after 12166 2019-04-11 13:34:09 +00:00
deletemem.tt Bug 23219: Cancel patrons holds when patron delete 2019-07-15 12:48:36 +01:00
discharge.tt Bug 21963: Update two-column templates with Bootstrap grid: Patrons part 1 2019-01-11 12:28:58 +00:00
discharges.tt Bug 22015: Move DataTables CSS to global include 2019-02-19 19:40:35 +00:00
files.tt Bug 21963: Update two-column templates with Bootstrap grid: Patrons part 1 2019-01-11 12:28:58 +00:00
holdshistory.tt Bug 23061: Add column/print/export feature on checkout history page 2019-06-19 13:12:11 +01:00
housebound.tt Bug 22698: Fix incorrect button classes 2019-04-16 13:17:33 +00:00
ill-requests.tt Bug 18589: (QA follow-up) Remove dateFormat from javascript on ill requests pages. 2019-03-22 20:21:52 +00:00
mancredit.tt Bug 21963: Update two-column templates with Bootstrap grid: Patrons part 1 2019-01-11 12:28:58 +00:00
maninvoice.tt Bug 22563: (QA follow-up) Catch LOST maninvoice cases 2019-07-15 11:28:03 +01:00
member-flags.tt Bug 22698: Fix incorrect button classes 2019-04-16 13:17:33 +00:00
member-password.tt Bug 22974: Patron password update validation broken 2019-05-30 10:01:42 +00:00
member.tt Bug 22015: Move DataTables CSS to global include 2019-02-19 19:40:35 +00:00
memberentrygen.tt Bug 3766: Cities/Towns only on one address 2019-04-17 12:25:25 +00:00
members-update.tt Bug 21526: uri escape TT variables when used in 'a href' 2018-10-26 17:09:57 +00:00
merge-patrons.tt Bug 22698: Fix incorrect button classes 2019-04-16 13:17:33 +00:00
moremember-brief.tt Bug 21757: (folow-up) Restore patron brief detail page 2019-04-29 12:12:40 +00:00
moremember-print.tt Bug 22521: Update UI to use accountlines.status 2019-04-17 16:49:36 +00:00
moremember.tt Bug 17492: Add a warning about age being of-limits and a button to update it 2019-07-01 15:20:00 +01:00
notices.tt Bug 22015: Move DataTables CSS to global include 2019-02-19 19:40:35 +00:00
pay.tt Bug 23106: Tweak display of totals on payment page 2019-06-24 14:21:18 +01:00
paycollect.tt Bug 22301: (bug 11373 follow-up) Do not format amounts in inputs 2019-02-15 13:06:41 +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 Bug 22023: Further improve responsive layout handling of staff client menu bar 2019-03-13 05:31:28 +00:00
readingrec.tt Bug 23061: Add column/print/export feature on checkout history page 2019-06-19 13:12:11 +01:00
routing-lists.tt Bug 21965: Update two-column templates with Bootstrap grid: Patrons part 3 2019-01-25 20:36:05 +00:00
statistics.tt Bug 22015: Move DataTables CSS to global include 2019-02-19 19:40:35 +00:00
update-child.tt Bug 22015: Move DataTables CSS to global include 2019-02-19 19:40:35 +00:00