copy status checkout_ok conify user/berick/copy-status-checkout-ok-wip
authorBill Erickson <berickxx@gmail.com>
Thu, 11 Jun 2015 20:58:15 +0000 (16:58 -0400)
committerBill Erickson <berickxx@gmail.com>
Thu, 11 Jun 2015 20:58:15 +0000 (16:58 -0400)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/web/conify/global/config/copy_status.html
Open-ILS/web/js/dojo/openils/conify/nls/conify.js

index 262eaf2..c9a3699 100644 (file)
                                                                                                return false;
                                                                                        }
                                                                                  }
+                                                                               },
+                                                                               { name : ccs_strings.CHECKOUT_OK,
+                                                                                 field : "checkout_ok",
+                                                                                 editor : dojox.grid.editors.bool,
+                                                                                 get : function (row) {
+                                                                                       var r = window.status_data_model.getRow(row);
+                                                                                       if (r) {
+                                                                                               var h = r.checkout_ok;
+                                                                                               if (h == 't' || h === true) return true;
+                                                                                               return false;
+                                                                                       }
+                                                                                 }
                                                                                }
                                                                        ]
                                                                ]
index 608b998..c8e9227 100644 (file)
@@ -7,6 +7,7 @@
        "CONFIRM_EXIT_PPL": "There are unsaved modified permissions. Click OK to save these changes, or Cancel to abandon them.",
        "CONFIRM_UNSAVED_CHANGES": "There are unsaved changes to one or more organization types. Click OK to save these changes, or Cancel to abandon them.",
        "COPY_ACTIVE": "Sets copy active",
+       "CHECKOUT_OK": "Checkout OK",
        "ERROR_CALLING_METHOD_AOUT": "Problem calling method to create child organization type",
        "ERROR_CALLING_METHOD_CAM": "Problem calling method to create new ${0}",
        "ERROR_CALLING_METHOD_CCS": "Problem calling method to create new copy status",