Koha/koha-tmpl/intranet-tmpl/prog/en/modules/circ
Jonathan Druart d864c5640a
Bug 24612: Make hold-transfer-slip take reserve_id
To make sure we are going to display the correct hold's info we need to
pass the reserve_id.

== Test plan ==
1. Add some content to HOLD_SLIP notice, e.g.

  <h2>[% branch.branchname %]</h2>
  <div>[% biblio.author %]<br>[% biblio.title %]<br>[% item.barcode %]
  <ul><li> Reserve ID:  [% hold.reserve_id %]</li>
  <li>Expiration date: [% hold.expirationdate %]</li></ul>

2. Add 2 holds for 1 patron to a single record
3. Check the reserve IDs in the reserves table - on a clean sandbox, they will be 1 and 2
4. Check in one of the items from the record and print the slip
5. Note that the reserve ID on the slip is 2 and the expiration date is blank
6. Repeated check ins do not change this
7. Check in a second item from the record
8. Note that the reserve ID for this hold is also 2, but this time the expiration date is filled in
9. Check in the first item again - the reserve ID stays as 2, but this time the expiration date is filled in
10. Apply patch
11. cancel the holds to come back to a clean state
    (and maybe ensure items aren't in transit)
12. redo the test and see the following differences
13. 1st checkin:
    1. expiration date ok
    2. the reserve ID is the one of the first hold
14. 2nd checkin:
    1. expiration date ok
    2. the reserve ID is the one of the second hold

Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2020-05-22 09:33:16 +01:00
..
article-requests.tt Bug 25282: (follow-up) More corrections 2020-04-29 16:20:24 +01:00
bookcount.tt
branchoverdues.tt Bug 11529: Add templates for biblio title display. Unify display. 2019-08-05 15:03:19 +01:00
branchtransfers.tt Bug 22468: Standardize on labelling ccode table columns as Collections 2020-04-15 12:32:49 +01:00
checkout-notes.tt Bug 24337: Checkout note cannot be marked seen if more than 20 exist 2020-01-10 10:50:37 +00:00
circulation-home.tt Bug 24837: Rename selectbranchprinter.pl to set-library.pl 2020-03-24 11:07:22 +00:00
circulation.tt Bug 24612: Make hold-transfer-slip take reserve_id 2020-05-22 09:33:16 +01:00
circulation_batch_checkouts.tt Bug 24098: Standardize Fines/Fees & Charges 2020-05-11 09:54:20 +01:00
offline-mf.tt Bug 23803: (follow-up) Remove additional references and file 2019-10-11 14:35:17 +01:00
offline.tt
on-site_checkouts.tt Bug 23013: Upgrade DataTables in the staff client 2019-08-22 15:23:19 +01:00
overdue.tt Bug 21852: Add more columns and column configuration to overdues report 2019-09-17 14:51:00 +01:00
pendingreserves.tt Bug 11529: Add templates for biblio title display. Unify display. 2019-08-05 15:03:19 +01:00
printslip.tt
renew.tt Bug 11529: Add templates for biblio title display. Unify display. 2019-08-05 15:03:19 +01:00
request-article.tt Bug 11529: Add templates for biblio title display. Unify display. 2019-08-05 15:03:19 +01:00
reserveratios.tt Bug 24953: Minor corrections to hold ratios report sidebar 2020-03-24 11:03:09 +00:00
returns.tt Bug 24612: Make hold-transfer-slip take reserve_id 2020-05-22 09:33:16 +01:00
set-library.tt Bug 24837: Rename selectbranchprinter.pl to set-library.pl 2020-03-24 11:07:22 +00:00
transferstoreceive.tt Bug 11529: Add templates for biblio title display. Unify display. 2019-08-05 15:03:19 +01:00
view_holdsqueue.tt Bug 11529: Add templates for biblio title display. Unify display. 2019-08-05 15:03:19 +01:00
waitingreserves.tt Bug 11281: Printing holds awaiting pickup prints both tabs 2020-02-10 09:22:39 +00:00