Bug 11465: Show counts and amounts on OPAC 'your summary' tabs
authorDavid Cook <dcook@prosentient.com.au>
Thu, 2 Jan 2014 05:48:01 +0000 (16:48 +1100)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 4 Jun 2014 08:57:32 +0000 (10:57 +0200)
commit2ba22236521b29bab1a287297157b671d58cf975
tree615ca8fb4e05cf7ec5b55b4096a9be5ed73709d6
parent68e45ade7c672086707eb2bba79c306a2a854111
Bug 11465: Show counts and amounts on OPAC 'your summary' tabs

This patch adds counts and amounts to the tabs in the 'your summary'
page of the OPAC patron account.

_TEST PLAN_

Before applying:
1) Choose a test patron
2) Place a few holds
3) Check in one of the holds so that it is waiting for the patron
4) Check out a few items
5) Check out another item that can generate fines (backdate it a few
   weeks/months)
6) Run fines.pl to generate fines (make sure your finesmode syspref
   is set to prod)
7) Check your OPAC patron account.
8) Note the tabs "Checked out, Fines, Holds, and Waiting"

Apply the patch
1) Switch your OPAC to the bootstrap theme
2) Refresh your browser for the OPAC patron account screen
3) Note that the applicable counts and amounts appear on the tabs

--

At the moment, I just have a Bootstrap patch. This is an easy patch
though, so I can duplicate to the other themes if necessary...

Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
All tests on bootstrap pass

Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
All tests and QA script pass.
"Waiting" doesn't appear to work for me with and without the patch.
"Checkouts", "Holds" and "Fines" work fine.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit 60d24754ee3cdc4aa4ba52a4f61625d0ba0f3369)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt