The time an item is due does not display in self-checkout.
Created attachment 27550 [details] [review] Bug 9724 - Hourly loans don't 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 "with_hours => 1" parameter. To test, 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. Test in both prog and Bootstrap themes.
My comments to bug 9723 apply here as well.
Created attachment 27556 [details] [review] Bug 9724 - Hourly loans don't 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.
Created attachment 28143 [details] [review] [Signed-off] Bug 9724 - Hourly loans don't 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. Wors as expected. Signed-off-by: Marc Véron <veron@veron.ch>
Created attachment 28178 [details] [review] Bug 9724 - Hourly loans don't 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. Wors as expected. Signed-off-by: Marc Véron <veron@veron.ch> Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Pushed to master. Thanks, Owen!