Revert "JBAS-2012 Hide acq cost value in item summaries"
authorBill Erickson <berickxx@gmail.com>
Tue, 24 Apr 2018 19:08:32 +0000 (15:08 -0400)
committerBill Erickson <berickxx@gmail.com>
Thu, 21 Mar 2019 19:46:23 +0000 (15:46 -0400)
Didn't mean to commit here...

This reverts commit 7bc02e398a74b4b2fbe83a465454234972660f5d.

Open-ILS/src/templates/staff/cat/item/t_summary_pane.tt2
Open-ILS/xul/staff_client/server/circ/alternate_copy_summary.js

index 30303d7..dad5ec9 100644 (file)
@@ -38,9 +38,8 @@
   </div>
 
   <div class="flex-row">
-    <!-- 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('Acquisition Cost') %]</div>
+    <div class="flex-cell well">{{copy.cost()}}</div>
 
     <div class="flex-cell">[% l('Shelving Location') %]</div>
     <div
index 783a278..f347dec 100644 (file)
@@ -399,8 +399,7 @@ 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");
-            // KCLS JBAS-2012 hide cost data
-            // set("cost", details.copy.cost());
+            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() ];