LP1958265 Angular Holds Grids Not Printing Barcode
authorTerran McCanna <tmccanna@georgialibraries.org>
Mon, 31 Jan 2022 19:29:16 +0000 (14:29 -0500)
committerBill Erickson <berickxx@gmail.com>
Thu, 7 Apr 2022 15:35:20 +0000 (11:35 -0400)
This adds the ability to print (or download CSV) the Current Item
and Requested Item barcodes from the Holds Pull List and from the
Holds tab of the bib record.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Garry Collum <gcollum@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>

Open-ILS/src/eg2/src/app/staff/share/holds/grid.component.ts

index 70ad178..80bc101 100644 (file)
@@ -207,6 +207,8 @@ export class HoldsGridComponent implements OnInit {
         this.cellTextGenerator = {
             title: row => row.title,
             cp_barcode: row => (row.cp_barcode == null) ? '' : row.cp_barcode,
+            current_item: row => (row.cp_barcode == null) ? '' : row.cp_barcode,
+            requested_item: row => (row.cp_barcode == null) ? '' : row.cp_barcode,
             ucard_barcode: row => row.ucard_barcode
         };
     }