]> git.koha-community.org Git - koha.git/commit
Bug 10423: Show date due with time if it's a hourly loan
authorJonathan Druart <jonathan.druart@biblibre.com>
Wed, 15 Apr 2015 13:33:54 +0000 (15:33 +0200)
committerChris Cormack <chris@bigballofwax.co.nz>
Sun, 17 May 2015 03:51:50 +0000 (15:51 +1200)
commita0d761b56efce38ad700fc8b68fbef75ccfa024a
treec595364c0bbd3bfe60b203f7b5304ac5b92e9e46
parent097cb23688da32340f59a953616619b4ac7e9761
Bug 10423: Show date due with time if it's a hourly loan

On printing the summary from the patron account, the hours are not
displayed if needed.
The as_date_due flag should be set to display it correctly.
Problem, GetPendingIssues modify the value retrieved from the database.
In order to not add regression and check all calls to GetPendingIssues,
this patch backup the value before the change.

Test plan:
Check some items out, specify a hourly loan for some.
Click on print > print summary and confirm the date due are correctly
formatted.

Followed test plan. Date + time display as expected.
Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
(cherry picked from commit c0b51eafddb2721de247b2f0dd3b9a33048db13d)
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-print.tt
members/summary-print.pl