webstaff: add seed data for item status receipt template
authorGalen Charlton <gmc@esilibrary.com>
Wed, 30 Nov 2016 20:11:10 +0000 (15:11 -0500)
committerKathy Lussier <klussier@masslnc.org>
Mon, 9 Jan 2017 15:58:59 +0000 (10:58 -0500)
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Open-ILS/web/js/ui/default/staff/admin/workstation/app.js

index 0ebc960..c8bcb60 100644 (file)
@@ -412,7 +412,12 @@ function($scope , $q , egCore , ngToast) {
         },
         location : {
             name : 'General Collection'
-        }
+        },
+        // flattened versions for item status template
+        // TODO - make this go away
+        'call_number.label' : '636.8 JON',
+        'call_number.record.simple_record.title' : 'Test Title',
+        'location.name' : 'General Colleciton'
     }
 
     var one_hold = {
@@ -470,6 +475,7 @@ function($scope , $q , egCore , ngToast) {
         ],
 
         copy : seed_copy,
+        copies : [ seed_copy ],
 
         checkins : [
             {