]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/templates/staff/cat/bucket/copy/t_pending.tt2
dcd0815a69cfe86b0cb82df101c66a1c6e67d32c
[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" focus-me="focusMe"
7         ng-model="bucketSvc.barcodeString" placeholder="[% l('Barcode...') %]">
8       </div>
9     </form>
10   </div>
11 </div>
12
13 <br/>
14
15 <eg-grid
16   ng-hide="forbidden"
17   features="-sort,-multisort,-display"
18   id-field="id"
19   idl-class="acp"
20   auto-fields="true"
21   grid-controls="gridControls"
22   items-provider="gridDataProvider"
23   menu-label="[% l('Buckets') %]"
24   persist-key="cat.bucket.copy.pending">
25
26   [% INCLUDE 'staff/cat/bucket/copy/t_grid_menu.tt2' %]
27
28   <!-- actions drop-down -->
29   <eg-grid-action label="[% l('Add To Bucket') %]" 
30     handler="addToBucket"></eg-grid-action>
31
32   <eg-grid-action label="[% l('Clear List') %]" 
33     handler="resetPendingList"></eg-grid-action>
34
35   <eg-grid-field path="id" required hidden></eg-grid-field>
36   <eg-grid-field path="call_number.record.id" required hidden></eg-grid-field>
37   <eg-grid-field label="[% l('Barcode') %]"     path='barcode' visible>
38     <a target="_self" href="[% ctx.base_path %]/staff/cat/item/{{item['id']}}">
39       {{item['barcode']}}
40     </a>
41   </eg-grid-field>
42   <eg-grid-field label="[% l('Call Number') %]" path="call_number.label" visible></eg-grid-field>
43   <eg-grid-field label="[% l('Location') %]"    path="location.name" visible></eg-grid-field>
44
45   <eg-grid-field label="[% l('Title') %]"
46     path="call_number.record.simple_record.title" visible>
47     <a target="_self" href="[% ctx.base_path %]/staff/cat/catalog/record/{{item['call_number.record.id']}}">
48       {{item['call_number.record.simple_record.title']}}
49     </a>
50   </eg-grid-field>
51
52 </eg-grid>