The koha mainpage displays when there are new curbside pickups - it owuld be nice on the circulation homepage to show this too
Created attachment 192272 [details] [review] Bug 41740: Add count of pending curbside pickups to circulation home To test: 1 - Enable the Curbside pickup module http://localhost:8081/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=CurbsidePickup 2 - Enable the module for Centerville: http://localhost:8081/cgi-bin/koha/admin/curbside_pickup.pl 3 - Allow 'Patron pickup' and add a slot for the current day of the week from 00:00 to 23:59 4 - Sign in to OPAC 5 - PLace a hold 6 - Go to your account 7 - Click 'Curbside pickups' 8 - Schedule a pickup 9 - Return to staff interface 10 - Note the homepage has a link for 'New curbside pickups (1)' 11 - Go to Circulation 12 - Note the Curbside button has no extra info 13 - Apply patch 14 - Reload circulation homepage 15 - Note button now has "( 1 new )" 16 - Click the button 17 - Mark the request as 'Staged and ready' 18 - Reload circulation home 19 - Confirm the button shows no new requests Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Created attachment 192282 [details] [review] Bug 41740: Add count of pending curbside pickups to circulation home To test: 1 - Enable the Curbside pickup module http://localhost:8081/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=CurbsidePickup 2 - Enable the module for Centerville: http://localhost:8081/cgi-bin/koha/admin/curbside_pickup.pl 3 - Allow 'Patron pickup' and add a slot for the current day of the week from 00:00 to 23:59 4 - Sign in to OPAC 5 - PLace a hold 6 - Go to your account 7 - Click 'Curbside pickups' 8 - Schedule a pickup 9 - Return to staff interface 10 - Note the homepage has a link for 'New curbside pickups (1)' 11 - Go to Circulation 12 - Note the Curbside button has no extra info 13 - Apply patch 14 - Reload circulation homepage 15 - Note button now has "( 1 new )" 16 - Click the button 17 - Mark the request as 'Staged and ready' 18 - Reload circulation home 19 - Confirm the button shows no new requests Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Signed-off-by: David Nind <david@davidnind.com>
I think the "( 1 new )" should be "(1 new)" - without the spaces.