// these events can be overridden by staff during checkin
service.checkin_overridable_events =
service.checkin_suppress_overrides.concat([
- 'HOLD_CAPTURE_DELAYED', // not technically overridable, but special prompt and param
'TRANSIT_CHECKIN_INTERVAL_BLOCK'
])
switch(evt[0].textcode) {
case 'COPY_ALERT_MESSAGE':
return service.copy_alert_dialog(evt[0], params, options, 'checkin');
- case 'HOLD_CAPTURE_DELAYED':
- return service.hold_capture_delay_dialog(evt[0], params, options, 'checkin');
default:
return service.override_dialog(evt, params, options, 'checkin');
}
egCore.strings.PRECAT_CHECKIN_MSG, params)
.result.then(function() {return final_resp});
+ case 'HOLD_CAPTURE_DELAYED':
+ return service.hold_capture_delay_dialog(
+ evt[0], params, options, 'checkin');
+
default:
egCore.audio.play('error.checkin.unknown');
console.warn('unhandled checkin response : ' + evt[0].textcode);