- Move suppress_popup check further along and allow transit receipts
to properly print when popups suppressed.
Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
Changes to be committed:
modified: Open-ILS/web/js/ui/default/staff/circ/services/circ.js
Signed-off-by: Bill Erickson <berickxx@gmail.com>
}
service.route_dialog = function(tmpl, evt, params, options) {
- if (options.suppress_popups) return;
if (angular.isArray(evt)) evt = evt[0];
return service.collect_route_data(tmpl, evt, params, options)
// when auto-print is on, skip the dialog and go straight
// to printing.
- if (options.auto_print_holds_transits)
+ if (options.auto_print_holds_transits || options.suppress_popups)
return print_transit(template);
return $uibModal.open({