<div class="pad-horiz"></div>
<div class="checkbox">
<label>
- <input ng-model="strict_barcode" type="checkbox"/>
+ <input ng-model="strict_barcode" type="checkbox"
+ ng-change="onStrictBarcodeChange()"/>
[% l('Strict Barcode') %]
</label>
</div>
<div class="flex-cell"></div>
<div class="checkbox">
<label>
- <input ng-model="strict_barcode" type="checkbox"/>
+ <input ng-model="strict_barcode" type="checkbox"
+ ng-change="onStrictBarcodeChange()"/>
[% l('Strict Barcode') %]
</label>
</div>
<div class="pad-horiz"></div>
<div class="checkbox">
<label>
- <input ng-model="strict_barcode" type="checkbox"/>
+ <input ng-model="strict_barcode" type="checkbox"
+ ng-change="onStrictBarcodeChange()"/>
[% l('Strict Barcode') %]
</label>
</div>
}
}
+ $scope.onStrictBarcodeChange = function() {
+ egCore.hatch.setItem(
+ 'circ.checkin.strict_barcode',
+ $scope.strict_barcode
+ );
+ };
+
$scope.onUntilLogoutChange = function() {
if ($scope.backdate.untilLogout)
egCore.hatch.setSessionItem('eg.circ.checkin.backdate',
}
if ($scope.modifiers.do_inventory_update) params.do_inventory_update = true;
- egCore.hatch.setItem('circ.checkin.strict_barcode', $scope.strict_barcode);
- egCore.hatch.setItem('circ.checkin.do_inventory_update', $scope.modifiers.do_inventory_update);
var options = {
check_barcode : $scope.strict_barcode,
no_precat_alert : $scope.modifiers.no_precat_alert,
$scope.checkouts.unshift(row_item);
$scope.gridDataProvider.prepend();
- egCore.hatch.setItem('circ.checkout.strict_barcode', $scope.strict_barcode);
var options = {check_barcode : $scope.strict_barcode};
egCirc.checkout(params, options).then(
});
};
+ $scope.onStrictBarcodeChange = function() {
+ egCore.hatch.setItem(
+ 'circ.checkout.strict_barcode',
+ $scope.strict_barcode
+ );
+ };
+
$scope.print_receipt = function() {
var print_data = {circulations : []};
var cusr = patronSvc.current;
$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(
});
}
+ $scope.onStrictBarcodeChange = function() {
+ egCore.hatch.setItem(
+ 'circ.renew.strict_barcode',
+ $scope.strict_barcode
+ );
+ };
+
$scope.print_receipt = function() {
var print_data = {circulations : []}