JBAS-2012 Hide acq cost value in item summaries
authorBill Erickson <berickxx@gmail.com>
Mon, 2 Apr 2018 20:49:08 +0000 (16:49 -0400)
committerBill Erickson <berickxx@gmail.com>
Thu, 21 Mar 2019 19:46:23 +0000 (15:46 -0400)
This version just hides the value, but leaves the fields.

Includes web client and XUL client.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/templates/staff/cat/item/t_summary_pane.tt2
Open-ILS/xul/staff_client/server/circ/alternate_copy_summary.js

index dad5ec9..30303d7 100644 (file)
@@ -38,8 +38,9 @@
   </div>
 
   <div class="flex-row">
-       <div class="flex-cell">[% l('Acquisition Cost') %]</div>
-    <div class="flex-cell well">{{copy.cost()}}</div>
+    <!-- KCLS JBAS-2012 hide acq cost -->
+    <div class="flex-cell">[% l('Acquisition Cost') %]</div>
+    <div class="flex-cell well"></div>
 
     <div class="flex-cell">[% l('Shelving Location') %]</div>
     <div
index f347dec..783a278 100644 (file)
@@ -399,7 +399,8 @@ function load_item() {
             set("opac_visible", get_localized_bool( details.copy.opac_visible() )); 
             set("price", details.copy.price()); 
             set_tooltip("price" , "Replacement Amount charged to Patron");
-            set("cost", details.copy.cost());
+            // KCLS JBAS-2012 hide cost data
+            // set("cost", details.copy.cost());
             set_tooltip("cost" , "Acquisition Amount paid by Library");
             set("ref", get_localized_bool( details.copy.ref() )); 
             var copy_status = typeof details.copy.status() == 'object' ? details.copy.status() : data.hash.ccs[ details.copy.status() ];