Bug 13517 - Show waiting date on reserve/request.pl
authorKyle M Hall <kyle@bywatersolutions.com>
Wed, 18 Mar 2015 12:50:21 +0000 (08:50 -0400)
committerJesse Weaver <jweaver@bywatersolutions.com>
Wed, 30 Dec 2015 23:42:42 +0000 (16:42 -0700)
commit4a584d528dbe8e227eb481636b1f9f32da2ec514
tree3f8ee9c5079a47b8d12a506d4daa4e042f2de343
parentbd4a6830527b3d1482e41f084098de66eacf5bcd
Bug 13517 - Show waiting date on reserve/request.pl

The holds table should show the waiting date for a hold in s similar
manner to the way it does on catalogue/detail.pl In addition, if the
ReservesMaxPickUpDelay syspref is set, we should display the date
when the waiting hold expires.

Test Plan:
1) Apply this patch
2) Set ReservesMaxPickUpDelay to 7
3) Find a waiting hold
4) Browse to reserve/request.pl for that record
5) Notice the "Item waiting" message now has "since <waitingdate>"
6) Notice the expiration field now has the date of <waitingdate> + 7 days

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Cathi Wiggins <CWIGGINS@ci.arcadia.ca.us>

Signed-off-by: Megan Wianecki <mwianecki@mplmain.mtpl.org>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Jesse Weaver <jweaver@bywatersolutions.com>
Koha/Hold.pm
koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt
reserve/request.pl