1 <ng-template #cnTemplate let-copy="row">
2 {{copy.call_number_prefix_label}}
3 {{copy.call_number_label}}
4 {{copy.call_number_suffix_label}}
6 <a routerLink="/staff/cat/volcopy/holdings/callnumber/{{copy.call_number}}"
7 class="" target="_blank"i18n>Edit</a>
11 <ng-template #barcodeTemplate let-copy="row" let-context="userContext">
12 <div>{{copy.barcode}}</div>
14 <a class="pl-1" target="_blank"
15 href="/eg/staff/cat/item/{{copy.id}}" i18n>View</a>
16 <ng-container *ngIf="context.editable(copy)">
17 | <a class="pl-1" target="_blank"
18 routerLink="/staff/cat/volcopy/attrs/item/{{copy.id}}" i18n>Edit</a>
23 <ng-template #holdableTemplate let-copy="row" let-context="userContext">
24 <div *ngIf="context.holdable(copy)">
25 <div class="border-bottom">
26 <a routerLink="/staff/catalog/hold/C"
27 [queryParams]="{target: copy.id}"
28 queryParamsHandling="merge" i18n>
33 <a routerLink="/staff/catalog/hold/V"
34 [queryParams]="{target: copy.call_number}"
35 queryParamsHandling="merge" i18n>
40 <div *ngIf="!context.holdable(copy)" i18n>No</div>
43 <ng-template #courseTemplate let-copy="row">
44 <div *ngFor="let course of copy._courses">
45 <a routerLink="/staff/admin/local/asset/course_list/{{course.id()}}">
46 {{course.course_number()}}
51 <ng-template #ageTemplate let-copy="row">
52 {{copy.age_protect_label}}
55 <div class='eg-copies w-100 mt-3'>
56 <eg-grid #copyGrid [dataSource]="gridDataSource"
57 [disableSelect]="true" [cellTextGenerator]="cellTextGenerator"
58 [sortable]="false" persistKey="catalog.record.copies">
59 <eg-grid-column i18n-label label="Item ID" path="id"
60 [hidden]="true" [index]="true">
62 <eg-grid-column i18n-label label="Location" path="circ_lib" datatype="org_unit">
64 <eg-grid-column i18n-label label="Call Number / Item Notes" name="callnumber"
65 [cellTemplate]="cnTemplate">
67 <eg-grid-column i18n-label label="Part" path="part_label" name="monograph_part">
69 <eg-grid-column i18n-label label="Barcode" name="barcode"
70 [cellTemplate]="barcodeTemplate" [cellContext]="copyContext">
72 <eg-grid-column i18n-label label="Shelving Location" path="copy_location">
74 <eg-grid-column i18n-label label="Circulation Modifier" path="circ_modifier">
76 <eg-grid-column i18n-label label="Age Hold Protection" path="age_protect"
77 [cellTemplate]="ageTemplate">
79 <eg-grid-column i18n-label label="Active/Create Date"
80 path="active_date" datatype="timestamp">
82 <eg-grid-column i18n-label label="Holdable?" name="holdable"
83 [cellTemplate]="holdableTemplate" [cellContext]="copyContext">
85 <eg-grid-column i18n-label label="Course" name="course"
86 [cellTemplate]="courseTemplate" *ngIf="usingCourseModule">
88 <eg-grid-column i18n-label label="Status" path="copy_status">
90 <eg-grid-column i18n-label label="Due Date" path="due_date" datatype="timestamp">
92 <eg-grid-column i18n-label label="Last Circ Date" path="last_circ" datatype="timestamp">
94 <eg-grid-column i18n-label label="Total Circ Count" path="circ_count">