lp1777675 inventory date support
[working/Evergreen.git] / Open-ILS / src / templates / staff / cat / bucket / copy / t_pending.tt2
1 <div class="row">
2   <div class="col-md-6">
3     <form ng-submit="search()">
4       <div class="input-group">
5         <span class="input-group-addon">[% l('Scan Item') %]</span>
6         <input type="text" class="form-control" select-me="context.selectPendingBC"
7         ng-model="bucketSvc.barcodeString" placeholder="[% l('Barcode...') %]">
8       </div>
9     </form>
10   </div>
11 </div>
12
13 <div class="row pad-vert" ng-if="context.itemNotFound">
14   <div class="col-md-6">
15     <div class="alert alert-danger">
16       [% l('Item Not Found') %]
17     </div>
18   </div>
19 </div>
20
21 <br/>
22
23 <eg-grid
24   ng-hide="forbidden"
25   features="-sort,-multisort,-display"
26   id-field="id"
27   idl-class="acp"
28   auto-fields="true"
29   grid-controls="gridControls"
30   items-provider="gridDataProvider"
31   menu-label="[% l('Buckets') %]"
32   persist-key="cat.bucket.copy.pending">
33
34   [% INCLUDE 'staff/cat/bucket/copy/t_grid_menu.tt2' %]
35
36   <!-- actions drop-down -->
37   <eg-grid-action label="[% l('Add To Bucket') %]" 
38     handler="addToBucket"></eg-grid-action>
39
40   <eg-grid-action label="[% l('Clear List') %]" 
41     handler="resetPendingList"></eg-grid-action>
42
43   <eg-grid-field path="id" required hidden></eg-grid-field>
44   <eg-grid-field path="call_number.record.id" required hidden></eg-grid-field>
45   <eg-grid-field label="[% l('Barcode') %]"     path='barcode' visible>
46     <a target="_self" href="[% ctx.base_path %]/staff/cat/item/{{item['id']}}">
47       {{item['barcode']}}
48     </a>
49   </eg-grid-field>
50   <eg-grid-field label="[% l('CN Prefix') %]" path="call_number.prefix.label"></eg-grid-field>
51   <eg-grid-field label="[% l('Call Number') %]" path="call_number.label" visible></eg-grid-field>
52   <eg-grid-field label="[% l('CN Suffix') %]" path="call_number.suffix.label"></eg-grid-field>
53   <eg-grid-field label="[% l('Location') %]"    path="location.name" visible></eg-grid-field>
54
55   <eg-grid-field label="[% l('Title') %]"
56     path="call_number.record.simple_record.title" visible>
57     <a target="_self" href="[% ctx.base_path %]/staff/cat/catalog/record/{{item['call_number.record.id']}}">
58       {{item['call_number.record.simple_record.title']}}
59     </a>
60   </eg-grid-field>
61   <eg-grid-field path="last_copy_inventory.inventory_date" datatype="timestamp" label="[% l('Inventory Date') %]"></eg-grid-field>
62   <eg-grid-field path="last_copy_inventory.inventory_workstation.name" label="[% l('Inventory Workstation') %]"></eg-grid-field>
63
64 </eg-grid>