Bug 36393: Renewal with a specific date does not take the new date due that we pick
authorHammat Wele <hammat.wele@inlibro.com>
Thu, 21 Mar 2024 22:53:26 +0000 (22:53 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 24 May 2024 13:23:18 +0000 (15:23 +0200)
commitebab11e2b0b05aa0a1e91c456d15f02c4483f414
tree24429fa1cfc62bf77ceb91d466795543631821f8
parent85c8d5f10cca4addbba5e43fec941a57ec83dcd3
Bug 36393: Renewal with a specific date does not take the new date due that we pick

When we renew a notice with a specific date and we have to override the limit, the new date due is not the date that we picked

To reproduce

1- Log in to the staff interface
     1-1. Make sure you have a ciculation rule that allows you to renew
     1-2. set the AllowRenewalLimitOverride system preference to Allow and SpecifyDueDate to Allow
2. Check out the item to a Borrower
5. Access the borrower's account and renew it until the limit is reached and note the due date.
6. Go to Circulation, click Renew
7. Enter the item barcode and choose a due date further than the due date from step 5 and submit
8. Click on Override limit and renew button
     ---> Note that the new date due is not the date that we picked in step 7
9. Apply the patch
10. Repeat step 6, 7 snd 8
     ---> Note that the new date due is the date that we picked

Signed-off-by: Anneli Österman <anneli.osterman@koha-suomi.fi>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit c29e4ef1f1cda011867ba69207e4a0a0a74c829d)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/circ/renew.tt