From 6a1d2f8ad4e5aa9d381643d9334816ae9b62ad7c Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Tue, 16 Mar 2021 10:53:30 -0400 Subject: [PATCH] LP1904036 Lint Signed-off-by: Bill Erickson Signed-off-by: Jane Sandberg Signed-off-by: Galen Charlton --- .../src/app/staff/circ/patron/bills.component.ts | 8 ++++---- .../src/app/staff/circ/patron/patron.service.ts | 2 +- .../src/app/staff/circ/patron/surveys.component.ts | 2 +- .../share/billing/billing-dialog.component.ts | 2 +- .../src/app/staff/share/billing/billing.service.ts | 22 +++++++++++----------- .../share/billing/credit-card-dialog.component.ts | 2 +- 6 files changed, 19 insertions(+), 19 deletions(-) diff --git a/Open-ILS/src/eg2/src/app/staff/circ/patron/bills.component.ts b/Open-ILS/src/eg2/src/app/staff/circ/patron/bills.component.ts index ad6e7d9783..a87bc6790b 100644 --- a/Open-ILS/src/eg2/src/app/staff/circ/patron/bills.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/circ/patron/bills.component.ts @@ -257,7 +257,7 @@ export class BillsComponent implements OnInit, AfterViewInit { return { payment : owedSelected, change : amt - owedSelected - } + }; } return {payment : amt, change : 0}; @@ -411,7 +411,7 @@ export class BillsComponent implements OnInit, AfterViewInit { // Reset... this.entries.forEach(row => row.paymentPending = 0); - var amount = this.pendingPayment(); + let amount = this.pendingPayment(); let done = false; this.billGrid.context.rowSelector.selected().forEach(index => { @@ -473,7 +473,7 @@ export class BillsComponent implements OnInit, AfterViewInit { payments.forEach(payment => { const entry = - this.entries.filter(entry => entry.xact.id() === payment[0])[0]; + this.entries.filter(e => e.xact.id() === payment[0])[0]; context.payments.push({ amount: payment[1], @@ -549,7 +549,7 @@ export class BillsComponent implements OnInit, AfterViewInit { return this.pcrud.search('mb', {xact: xactId}, {}, {authoritative: true}) .pipe(tap(billing => { if (billing.voided() === 'f') { - cents += billing.amount() * 100 + cents += billing.amount() * 100; billIds.push(billing.id()); } })); diff --git a/Open-ILS/src/eg2/src/app/staff/circ/patron/patron.service.ts b/Open-ILS/src/eg2/src/app/staff/circ/patron/patron.service.ts index 847b1e6cc0..545f09ad7a 100644 --- a/Open-ILS/src/eg2/src/app/staff/circ/patron/patron.service.ts +++ b/Open-ILS/src/eg2/src/app/staff/circ/patron/patron.service.ts @@ -9,7 +9,7 @@ import {StoreService} from '@eg/core/store.service'; import {CircService, CircDisplayInfo} from '@eg/staff/share/circ/circ.service'; export interface BillGridEntry extends CircDisplayInfo { - xact: IdlObject // mbt + xact: IdlObject; // mbt billingLocation?: string; paymentPending?: number; } diff --git a/Open-ILS/src/eg2/src/app/staff/circ/patron/surveys.component.ts b/Open-ILS/src/eg2/src/app/staff/circ/patron/surveys.component.ts index b34af19a01..94727dc50d 100644 --- a/Open-ILS/src/eg2/src/app/staff/circ/patron/surveys.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/circ/patron/surveys.component.ts @@ -68,7 +68,7 @@ export class PatronSurveyResponsesComponent implements OnInit, AfterViewInit { const oneSurvey: any = {responses: []}; Object.keys(collection[sid]).forEach(qid => { oneSurvey.survey = collection[sid][qid].survey(); - oneSurvey.responses.push(collection[sid][qid]) + oneSurvey.responses.push(collection[sid][qid]); }); this.surveys.push(oneSurvey); }); diff --git a/Open-ILS/src/eg2/src/app/staff/share/billing/billing-dialog.component.ts b/Open-ILS/src/eg2/src/app/staff/share/billing/billing-dialog.component.ts index 36dac62077..a460b00fab 100644 --- a/Open-ILS/src/eg2/src/app/staff/share/billing/billing-dialog.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/share/billing/billing-dialog.component.ts @@ -128,7 +128,7 @@ export class AddBillingDialogComponent let xactId; promise.then(id => { xactId = id; - return this.createBill(id) + return this.createBill(id); }) .then(billId => this.close({xactId: xactId, billId: billId})); } diff --git a/Open-ILS/src/eg2/src/app/staff/share/billing/billing.service.ts b/Open-ILS/src/eg2/src/app/staff/share/billing/billing.service.ts index be129325ae..52ca1e5432 100644 --- a/Open-ILS/src/eg2/src/app/staff/share/billing/billing.service.ts +++ b/Open-ILS/src/eg2/src/app/staff/share/billing/billing.service.ts @@ -11,17 +11,17 @@ import {BibRecordService, BibRecordSummary} from '@eg/share/catalog/bib-record.s import {AudioService} from '@eg/share/util/audio.service'; export interface CreditCardPaymentParams { - where_process?: 0 | 1, - approval_code?: string, - expire_month?: number, - expire_year?: number, - billing_first?: string, - billing_last?: string, - billing_address?: string, - billing_city?: string, - billing_state?: string, - billing_zip?: string, - note?: string + where_process?: 0 | 1; + approval_code?: string; + expire_month?: number; + expire_year?: number; + billing_first?: string; + billing_last?: string; + billing_address?: string; + billing_city?: string; + billing_state?: string; + billing_zip?: string; + note?: string; } @Injectable() diff --git a/Open-ILS/src/eg2/src/app/staff/share/billing/credit-card-dialog.component.ts b/Open-ILS/src/eg2/src/app/staff/share/billing/credit-card-dialog.component.ts index 4240fa3c62..aae575072b 100644 --- a/Open-ILS/src/eg2/src/app/staff/share/billing/credit-card-dialog.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/share/billing/credit-card-dialog.component.ts @@ -71,7 +71,7 @@ export class CreditCardDialogComponent this.supportsExternal = true; this.args.where_process = 1; } - }) + }); }); } -- 2.11.0