Bug 19053: Keep auto_renew flag if a confirmation is needed
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 7 Aug 2017 16:50:32 +0000 (13:50 -0300)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 6 Sep 2017 13:23:33 +0000 (15:23 +0200)
commit8f3a7d800271cb2611de0cb369e907b16c30fb0b
tree340c949d132289487dade1337ce4cecaea31ddf2
parenta21f8a552ba5798342eca04a534ea9a1503b7843
Bug 19053: Keep auto_renew flag if a confirmation is needed

If an item is checked out with the auto renewal flag and a confirmation
is needed (holds exist, past due date, etc.) the auto renewal flag will
get lost.

Test plan:
- Check an item out and specify a past due date
- Confirm the checkout on the confirmation screen
=> Without this patch the checkout is not marked as auto renewal
=> With this patch applied the auto renewal flag will be set to the
checkout

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 3808dbc1d22b3adc43a09ba7ce00aaca01f95f5a)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
circ/circulation.pl
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt