LP#1777675: Change table names to Latest Inventory
[working/Evergreen.git] / Open-ILS / src / templates / staff / cat / bucket / copy / t_view.tt2
1 <eg-grid
2   ng-hide="forbidden"
3   features="allowAll,-display"
4   id-field="id"
5   idl-class="acp"
6   auto-fields="true"
7   grid-controls="gridControls"
8   menu-label="[% l('Buckets') %]"
9   persist-key="cat.bucket.copy.view">
10
11   [% INCLUDE 'staff/cat/bucket/copy/t_grid_menu.tt2' %]
12
13   <eg-grid-action label="[% l('Remove Selected Copies from Bucket') %]" group="[% l('Bucket') %]"
14     handler="detachCopies"></eg-grid-action>
15   <eg-grid-action label="[% l('Request Selected Copies') %]" group="[% l('Items') %]"
16     handler="requestItems"></eg-grid-action>
17   <eg-grid-action label="[% l('Edit Selected Copies') %]" group="[% l('Items') %]"
18     handler="spawnHoldingsEdit"></eg-grid-action>
19   <eg-grid-action handler="print_labels" group="[% l('Show') %]"
20     label="[% l('Print Labels') %]"></eg-grid-action>
21   <eg-grid-action label="[% l('Transfer Selected Copies to Marked Volume') %]" group="[% l('Items') %]"
22     handler="transferCopies"></eg-grid-action>
23   <eg-grid-action label="[% l('Delete Selected Copies from Catalog') %]" group="[% l('Items') %]"
24     handler="deleteCopiesFromCatalog"></eg-grid-action>
25   <eg-grid-action label="[% l('Apply Tags') %]" 
26     handler="applyTags"></eg-grid-action>
27
28   <eg-grid-field path="id" required hidden></eg-grid-field>
29   <eg-grid-field path="call_number.record.id" required hidden></eg-grid-field>
30   <eg-grid-field label="[% l('Barcode') %]"     path='barcode' visible>
31     <a target="_self" href="[% ctx.base_path %]/staff/cat/item/{{item['id']}}">
32       {{item['barcode']}}
33     </a>
34   </eg-grid-field>
35   <eg-grid-field label="[% l('Call Number') %]" path="call_number.label" visible></eg-grid-field>
36   <eg-grid-field label="[% l('CN Prefix') %]" path="call_number.prefix.label"></eg-grid-field>
37   <eg-grid-field label="[% l('CN Suffix') %]" path="call_number.suffix.label"></eg-grid-field>
38   <eg-grid-field label="[% l('Location') %]"    path="location.name" visible></eg-grid-field>
39
40   <eg-grid-field label="[% l('Title') %]"
41     path="call_number.record.simple_record.title" visible>
42     <a target="_self" href="[% ctx.base_path %]/staff/cat/catalog/record/{{item['call_number.record.id']}}">
43       {{item['call_number.record.simple_record.title']}}
44     </a>
45   </eg-grid-field>
46   <eg-grid-field path="latest_inventory.inventory_date" datatype="timestamp" label="[% l('Inventory Date') %]"></eg-grid-field>
47   <eg-grid-field path="latest_inventory.inventory_workstation.name" label="[% l('Inventory Workstation') %]"></eg-grid-field>
48
49 </eg-grid>