Bug 9724: ensure hourly loans show time due in SCO
authorOwen Leonard <oleonard@myacpl.org>
Thu, 24 Apr 2014 19:21:59 +0000 (15:21 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 12 May 2014 14:30:55 +0000 (14:30 +0000)
commite7bf50600d053238d354ec2989f3fbe542c47aaa
tree1d6fb811b03987e02e273f493c7d7c34e73e5cee
parent76e8bb0fabd4a9ef85fd2dc5ad604c446a50f751
Bug 9724: ensure hourly loans show time due in SCO

Due dates in the self checkout module don't display the time items are
due, and thus items which are on hourly loans don't display an accurate
due date and time. This patch corrects this by adding the "as_due_date
=> 1" parameter added by Bug 9723.

To test, apply the patch for Bug 9723 if necessary. Enable an hourly
loan period for an itemtype in your collection. Log into the
self-checkout system and check out an item which circulates by the hour.
The due date and time should be displayed correctly.

Check out an item which does not circulate hourly. The due date should
be displayed as a date only.

Test in both prog and Bootstrap themes.

Followed test plan. Works as expected.
Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt
koha-tmpl/opac-tmpl/prog/en/modules/sco/sco-main.tt