Only display the "item already processed" message for sucessful
checkouts. Checkout failures are always allowed to re-process so the
user can see the real error message.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
popup = true;
sound = 'checkout-failure';
displayText = dojo.string.substitute(localeStrings.ALREADY_OUT, [item]);
+ delete seenBarcodes[item];
} else {
popup = true;
sound = 'checkout-failure';
displayText = dojo.string.substitute(localeStrings.OPEN_CIRCULATION_EXISTS, [item]);
+ delete seenBarcodes[item];
}
this.updateScanBox();
this.updateScanBox();
popup = true;
sound = 'checkout-failure';
+ delete seenBarcodes[item];
// JBAS-1728
// this.prevCirc is only set when attempting to auto-renew