From: Cesar Velez Date: Thu, 15 Jun 2017 19:56:48 +0000 (-0400) Subject: LP#1665115-WebStaff add longoverdue items count to Items Out X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=792d27e04503791aa86d1bde34f21c6a61168598;p=evergreen%2Fjoelewis.git LP#1665115-WebStaff add longoverdue items count to Items Out Longover due items should always, be reflected in total tally count Which is what displays in the ItemsOut tab and Patron summary area. Signed-off by: Cesar Velez Signed-off-by: Jason Etheridge Signed-off-by: Kathy Lussier --- diff --git a/Open-ILS/web/js/ui/default/staff/circ/patron/app.js b/Open-ILS/web/js/ui/default/staff/circ/patron/app.js index 02ab395c57..fe126d48ae 100644 --- a/Open-ILS/web/js/ui/default/staff/circ/patron/app.js +++ b/Open-ILS/web/js/ui/default/staff/circ/patron/app.js @@ -518,6 +518,8 @@ function($q , $timeout , $location , egCore, egUser , $locale) { stats.checkouts.out = Number(stats.checkouts.out); stats.checkouts.total_out = stats.checkouts.out + stats.checkouts.overdue; + + stats.checkouts.total_out += Number(stats.checkouts.long_overdue); if (!egCore.env.aous['circ.do_not_tally_claims_returned']) stats.checkouts.total_out += stats.checkouts.claims_returned;