copy editor defaults
authorpines <pines@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sat, 26 Aug 2006 05:58:21 +0000 (05:58 +0000)
committerpines <pines@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sat, 26 Aug 2006 05:58:21 +0000 (05:58 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@5702 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js

index 4b54207..188c1a7 100644 (file)
@@ -354,10 +354,16 @@ g.stash_and_close = function() {
                                        copy.circ_lib(ou_id);
                                        /* FIXME -- use constants */
                                        copy.deposit(0);
+                                       copy.price(0);
+                                       copy.deposit_amount(0);
                                        copy.fine_level(2);
                                        copy.loan_duration(2);
                                        copy.location(1);
                                        copy.status(0);
+                                       copy.circulate(get_db_true());
+                                       copy.holdable(get_db_true());
+                                       copy.opac_visible(get_db_true());
+                                       copy.ref(get_db_false());
                                        copies.push( copy );
                                }
                        }