JBAS-1728 SCKO billing type labels avoid misc
authorBill Erickson <berickxx@gmail.com>
Wed, 26 Jul 2017 19:51:13 +0000 (12:51 -0700)
committerBill Erickson <berickxx@gmail.com>
Thu, 21 Mar 2019 19:46:23 +0000 (15:46 -0400)
When a billing type is available, use it as-is without prepending
"miscallaneous - ..."

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/web/js/ui/kcls/circ/selfcheck/selfcheck.js

index 847631b..af4551b 100644 (file)
@@ -986,8 +986,7 @@ SelfCheckManager.prototype.drawFinesPage = function() {
 
         function stringifyBtype(btype) {
             // avoid confusion around "grocery".  TODO i18n
-            return btype ?
-                ("Miscellaneous - " + btype) : "Miscellaneous"; 
+            return btype || "Miscellaneous";
         }
 
         for(var fine = 0; fine < outstandingFines.length; fine++) {