From: Bill Erickson Date: Mon, 1 Mar 2021 22:33:25 +0000 (-0500) Subject: LP1904036 lint X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=21561982d6c1beff42e988a37661e27e4b50dc94;p=working%2FEvergreen.git LP1904036 lint Signed-off-by: Bill Erickson Signed-off-by: Jane Sandberg Signed-off-by: Galen Charlton --- diff --git a/Open-ILS/src/eg2/src/app/staff/share/circ/billing-dialog.component.ts b/Open-ILS/src/eg2/src/app/staff/share/circ/billing-dialog.component.ts index 60e6d7fd0c..fb27cc351e 100644 --- a/Open-ILS/src/eg2/src/app/staff/share/circ/billing-dialog.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/share/circ/billing-dialog.component.ts @@ -105,7 +105,7 @@ export class AddBillingDialogComponent } submit() { - const bill = this.idl.create('mb'); + const bill = this.idl.create('mb'); bill.xact(this.xactId); bill.amount(this.amount); bill.btype(this.billingType.id); @@ -126,7 +126,7 @@ export class AddBillingDialogComponent } else { this.close(billId); } - }) + }); } } diff --git a/Open-ILS/src/eg2/src/app/staff/share/circ/circ.service.ts b/Open-ILS/src/eg2/src/app/staff/share/circ/circ.service.ts index 30f8699437..8414732c23 100644 --- a/Open-ILS/src/eg2/src/app/staff/share/circ/circ.service.ts +++ b/Open-ILS/src/eg2/src/app/staff/share/circ/circ.service.ts @@ -14,27 +14,27 @@ import {CircComponentsComponent} from './components.component'; const CAN_OVERRIDE_CHECKOUT_EVENTS = [ - 'PATRON_EXCEEDS_OVERDUE_COUNT', - 'PATRON_EXCEEDS_CHECKOUT_COUNT', - 'PATRON_EXCEEDS_FINES', - 'PATRON_EXCEEDS_LONGOVERDUE_COUNT', - 'PATRON_BARRED', - 'CIRC_EXCEEDS_COPY_RANGE', - 'ITEM_DEPOSIT_REQUIRED', - 'ITEM_RENTAL_FEE_REQUIRED', - 'PATRON_EXCEEDS_LOST_COUNT', - 'COPY_CIRC_NOT_ALLOWED', - 'COPY_NOT_AVAILABLE', - 'COPY_IS_REFERENCE', - 'COPY_ALERT_MESSAGE', - 'ITEM_ON_HOLDS_SHELF', - 'STAFF_C', - 'STAFF_CH', - 'STAFF_CHR', - 'STAFF_CR', - 'STAFF_H', - 'STAFF_HR', - 'STAFF_R' + 'PATRON_EXCEEDS_OVERDUE_COUNT', + 'PATRON_EXCEEDS_CHECKOUT_COUNT', + 'PATRON_EXCEEDS_FINES', + 'PATRON_EXCEEDS_LONGOVERDUE_COUNT', + 'PATRON_BARRED', + 'CIRC_EXCEEDS_COPY_RANGE', + 'ITEM_DEPOSIT_REQUIRED', + 'ITEM_RENTAL_FEE_REQUIRED', + 'PATRON_EXCEEDS_LOST_COUNT', + 'COPY_CIRC_NOT_ALLOWED', + 'COPY_NOT_AVAILABLE', + 'COPY_IS_REFERENCE', + 'COPY_ALERT_MESSAGE', + 'ITEM_ON_HOLDS_SHELF', + 'STAFF_C', + 'STAFF_CH', + 'STAFF_CHR', + 'STAFF_CR', + 'STAFF_H', + 'STAFF_HR', + 'STAFF_R' ]; const CHECKOUT_OVERRIDE_AFTER_FIRST = [ @@ -70,29 +70,29 @@ const CAN_OVERRIDE_RENEW_EVENTS = [ 'STAFF_H', 'STAFF_HR', 'STAFF_R' -] +]; // These checkin events do not produce alerts when // options.suppress_alerts is in effect. const CAN_SUPPRESS_CHECKIN_ALERTS = [ - 'COPY_BAD_STATUS', - 'PATRON_BARRED', - 'PATRON_INACTIVE', - 'PATRON_ACCOUNT_EXPIRED', - 'ITEM_DEPOSIT_PAID', - 'CIRC_CLAIMS_RETURNED', - 'COPY_ALERT_MESSAGE', - 'COPY_STATUS_LOST', - 'COPY_STATUS_LOST_AND_PAID', - 'COPY_STATUS_LONG_OVERDUE', - 'COPY_STATUS_MISSING', - 'PATRON_EXCEEDS_FINES' + 'COPY_BAD_STATUS', + 'PATRON_BARRED', + 'PATRON_INACTIVE', + 'PATRON_ACCOUNT_EXPIRED', + 'ITEM_DEPOSIT_PAID', + 'CIRC_CLAIMS_RETURNED', + 'COPY_ALERT_MESSAGE', + 'COPY_STATUS_LOST', + 'COPY_STATUS_LOST_AND_PAID', + 'COPY_STATUS_LONG_OVERDUE', + 'COPY_STATUS_MISSING', + 'PATRON_EXCEEDS_FINES' ]; const CAN_OVERRIDE_CHECKIN_ALERTS = [ // not technically overridable, but special prompt and param - 'HOLD_CAPTURE_DELAYED', - 'TRANSIT_CHECKIN_INTERVAL_BLOCK' + 'HOLD_CAPTURE_DELAYED', + 'TRANSIT_CHECKIN_INTERVAL_BLOCK' ].concat(CAN_SUPPRESS_CHECKIN_ALERTS); @@ -402,7 +402,7 @@ export class CircService { // Informational alerts that can be ignored if configured. if (this.suppressCheckinPopups && allEvents.filter(e => - !CAN_SUPPRESS_CHECKIN_ALERTS.includes(e.textcode)).length == 0) { + !CAN_SUPPRESS_CHECKIN_ALERTS.includes(e.textcode)).length === 0) { // Should not be necessary, but good to be safe. if (params._override) { return Promise.resolve(null); }