$scope.grid_persist_key = $scope.is_capture ?
'circ.checkin.capture' : 'circ.checkin.checkin';
+ egCore.hatch.getItem('circ.checkin.strict_barcode')
+ .then(function(sb){ $scope.strict_barcode = sb });
+
egCore.org.settings([
'ui.circ.suppress_checkin_popups' // add other settings as needed
]).then(function(set) {
}
}
+ egCore.hatch.setItem('circ.checkin.strict_barcode', $scope.strict_barcode);
var options = {
check_barcode : $scope.strict_barcode,
no_precat_alert : $scope.modifiers.no_precat_alert,
$scope.using_hatch = egCore.hatch.usingHatch();
+ egCore.hatch.getItem('circ.checkout.strict_barcode')
+ .then(function(sb){ $scope.strict_barcode = sb });
+
// avoid multiple, in-flight attempts on the same barcode
var pending_barcodes = {};
$scope.checkouts.unshift(row_item);
$scope.gridDataProvider.refresh();
+ egCore.hatch.setItem('circ.checkout.strict_barcode', $scope.strict_barcode);
var options = {check_barcode : $scope.strict_barcode};
egCirc.checkout(params, options).then(
['$scope','$window','$location','egCore','egGridDataProvider','egCirc',
function($scope , $window , $location , egCore , egGridDataProvider , egCirc) {
+ egCore.hatch.getItem('circ.renew.strict_barcode')
+ .then(function(sb){ $scope.strict_barcode = sb });
$scope.focusBarcode = true;
$scope.renewals = [];
$scope.renewals.unshift(row_item);
$scope.gridDataProvider.refresh();
+ egCore.hatch.setItem('circ.renew.strict_barcode', $scope.strict_barcode);
var options = {check_barcode : $scope.strict_barcode};
egCirc.renew(params, options).then(