LP1904036 Patron noncat count display
authorBill Erickson <berickxx@gmail.com>
Thu, 25 Feb 2021 17:24:54 +0000 (12:24 -0500)
committerBill Erickson <berickxx@gmail.com>
Thu, 6 Oct 2022 16:48:42 +0000 (12:48 -0400)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/eg2/src/app/staff/circ/patron/items.component.html
Open-ILS/src/eg2/src/app/staff/share/circ/grid.component.ts

index c0b0f5e..b890ff4 100644 (file)
       </li>
     </ng-container>
     <li ngbNavItem="noncat">
-      <a ngbNavLink i18n>Non-Cataloged Circulations</a>
+      <a ngbNavLink i18n>
+        <ng-container *ngIf="context.patronStats">
+          Non-Cataloged Circulations ({{context.patronStats.checkouts.noncat}})
+        </ng-container>
+      </a>
       <ng-template ngbNavContent>
         <ng-container>
           <ng-container>
index 1b9ff06..0282e39 100644 (file)
@@ -394,7 +394,6 @@ export class CircGridComponent implements OnInit {
         ));
     }
 
-    //markLost(rows: CircGridEntry[]): Observable<any> {
     markLost(rows: CircGridEntry[]) {
         const dialog = this.openProgressDialog(rows);
         const barcodes = this.getCopies(rows).map(c => c.barcode());