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)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Fri, 24 Apr 2015 23:15:50 +0000 (20:15 -0300)
commitc0b51eafddb2721de247b2f0dd3b9a33048db13d
tree9f4e63879704770ba91dd8856b2ae698e061c870
parent83a923e11a97f5328ce6b0715c4e86069c7861e0
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>
koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-print.tt
members/summary-print.pl