From: Bill Erickson Date: Fri, 26 Feb 2021 16:53:11 +0000 (-0500) Subject: LP1904036 Claims returned; circ notices X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=4f810a0990fb6dfe300702dbaf485625746cee06;p=Evergreen.git LP1904036 Claims returned; circ notices 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/circ.module.ts b/Open-ILS/src/eg2/src/app/staff/share/circ/circ.module.ts index 714cf654bd..e9b10509ca 100644 --- a/Open-ILS/src/eg2/src/app/staff/share/circ/circ.module.ts +++ b/Open-ILS/src/eg2/src/app/staff/share/circ/circ.module.ts @@ -5,12 +5,14 @@ import {CircService} from './circ.service'; import {CircGridComponent} from './grid.component'; import {DueDateDialogComponent} from './due-date-dialog.component'; import {PrecatCheckoutDialogComponent} from './precat-dialog.component'; +import {ClaimsReturnedDialogComponent} from './claims-returned-dialog.component'; @NgModule({ declarations: [ CircGridComponent, DueDateDialogComponent, - PrecatCheckoutDialogComponent + PrecatCheckoutDialogComponent, + ClaimsReturnedDialogComponent ], imports: [ StaffCommonModule, diff --git a/Open-ILS/src/eg2/src/app/staff/share/circ/claims-returned-dialog.component.html b/Open-ILS/src/eg2/src/app/staff/share/circ/claims-returned-dialog.component.html new file mode 100644 index 0000000000..4f43fd1f35 --- /dev/null +++ b/Open-ILS/src/eg2/src/app/staff/share/circ/claims-returned-dialog.component.html @@ -0,0 +1,41 @@ + + + + + + + + + diff --git a/Open-ILS/src/eg2/src/app/staff/share/circ/claims-returned-dialog.component.ts b/Open-ILS/src/eg2/src/app/staff/share/circ/claims-returned-dialog.component.ts new file mode 100644 index 0000000000..be32a103b6 --- /dev/null +++ b/Open-ILS/src/eg2/src/app/staff/share/circ/claims-returned-dialog.component.ts @@ -0,0 +1,30 @@ +import {Component, OnInit, Output, Input, ViewChild, EventEmitter} from '@angular/core'; +import {Observable, empty, of, from} from 'rxjs'; +import {DialogComponent} from '@eg/share/dialog/dialog.component'; + +@Component({ + templateUrl: 'claims-returned-dialog.component.html', + selector: 'eg-claims-returned-dialog' +}) +export class ClaimsReturnedDialogComponent + extends DialogComponent implements OnInit { + + barcodes: string[]; + returnDate: string; + patronExceeds: boolean; + + ngOnInit() { + this.onOpen$.subscribe(_ => { + this.returnDate = new Date().toISOString() + this.patronExceeds = false; + }); + } + + modifyBatch() { + } + + confirmExceeds() { + } +} + + diff --git a/Open-ILS/src/eg2/src/app/staff/share/circ/due-date-dialog.component.html b/Open-ILS/src/eg2/src/app/staff/share/circ/due-date-dialog.component.html index f47258f6c2..b991ef76bb 100644 --- a/Open-ILS/src/eg2/src/app/staff/share/circ/due-date-dialog.component.html +++ b/Open-ILS/src/eg2/src/app/staff/share/circ/due-date-dialog.component.html @@ -2,49 +2,49 @@ - -