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)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Mon, 6 May 2024 07:12:09 +0000 (09:12 +0200)
commitc29e4ef1f1cda011867ba69207e4a0a0a74c829d
tree89d8fb05be60dc6ce0571dad4b6a4c8be0c59720
parentccd4738e26ef3c2e40bfa1dc1e74dfdb94a34239
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>
koha-tmpl/intranet-tmpl/prog/en/modules/circ/renew.tt