lp1777675 inventory date support
[working/Evergreen.git] / Open-ILS / src / templates / staff / cat / item / t_holds_pane.tt2
1 <div class="col-md-6" ng-show="!hold">
2   <div class="alert alert-info">
3     [% l('Item is not captured for a hold') %]
4   </div>
5 </div>
6 <div class="col-md-6" ng-show="hold">
7   <div class="flex-row">
8     <div class="flex-cell flex-2 strong-text-2">
9       [% l('Captured Hold Info') %]
10     </div>
11   </div>
12   <div class="flex-row">
13     <div class="flex-cell">[% l('Patron') %]</div>
14     <div class="flex-cell well">
15       <a href="./circ/patron/{{hold.usr().id()}}/checkout" 
16         ng-if="hold" target="_self">
17         [% l('[_1], [_2] [_3] : [_4]', 
18           '{{hold.usr().family_name()}}'
19           '{{hold.usr().first_given_name()}}'
20           '{{hold.usr().second_given_name()}}'
21           '{{hold.usr().card().barcode()}}') %]
22       </a>
23     </div>
24   </div>
25   <div class="flex-row">
26     <div class="flex-cell">[% l('Requestor') %]</div>
27     <div class="flex-cell well">
28       <a href="./circ/patron/{{hold.requestor().id()}}/checkout" 
29         ng-if="hold" target="_self">
30         [% l('[_1], [_2] [_3] : [_4]', 
31           '{{hold.requestor().family_name()}}'
32           '{{hold.requestor().first_given_name()}}'
33           '{{hold.requestor().second_given_name()}}'
34           '{{hold.requestor().card().barcode()}}') %]
35       </a>
36     </div>
37   </div>
38   <div class="flex-row">
39     <div class="flex-cell">[% l('Pickup Lib') %]</div>
40     <div class="flex-cell well">
41       {{hold.pickup_lib().shortname()}}
42     </div>
43   </div>
44   <div class="flex-row">
45     <div class="flex-cell">[% l('Current Shelf Lib') %]</div>
46     <div class="flex-cell well">
47       {{hold.current_shelf_lib().shortname()}}
48     </div>
49   </div>
50   <div class="flex-row">
51     <div class="flex-cell">[% l('Request Date') %]</div>
52     <div class="flex-cell well">
53       {{hold.request_time() | date:egDateAndTimeFormat}}
54     </div>
55   </div>
56   <div class="flex-row">
57     <div class="flex-cell">[% l('Capture Date') %]</div>
58     <div class="flex-cell well">
59       {{hold.capture_time() | date:egDateAndTimeFormat}}
60     </div>
61   </div>
62   <div class="flex-row">
63     <div class="flex-cell">[% l('Shelf Time') %]</div>
64     <div class="flex-cell well">
65       {{hold.shelf_time() | date:egDateAndTimeFormat}}
66     </div>
67   </div>
68   <div class="flex-row">
69     <div class="flex-cell">[% l('Shelf Expire Time') %]</div>
70     <div class="flex-cell well">
71       {{hold.shelf_expire_time() | date:egDateAndTimeFormat}}
72     </div>
73   </div>
74   <div class="flex-row">
75     <div class="flex-cell">[% l('Hold Expire Time') %]</div>
76     <div class="flex-cell well">
77       {{hold.expire_time() | date:egDateAndTimeFormat}}
78     </div>
79   </div>
80   <div class="flex-row">
81     <div class="flex-cell">[% l('Behind Desk') %]</div>
82     <div class="flex-cell well">
83       {{hold.behind_desk()}}
84     </div>
85   </div>
86 </div>
87
88 <div class="col-md-6" ng-show="!transit">
89   <div class="alert alert-info">
90     [% l('Item has not transited') %]
91   </div>
92 </div>
93
94 <div class="col-md-6" ng-show="transit">
95   <div class="flex-row">
96     <div class="flex-cell flex-2 strong-text-2">
97       [% l('Most Recent Transit') %]
98     </div>
99   </div>
100   <div class="flex-row">
101     <div class="flex-cell">[% l('Transit Source') %]</div>
102     <div class="flex-cell well">
103       {{transit.source().shortname()}}
104     </div>
105   </div>
106   <div class="flex-row">
107     <div class="flex-cell">[% l('Transit Destination') %]</div>
108     <div class="flex-cell well">
109       {{transit.dest().shortname()}}
110     </div>
111   </div>
112   <div class="flex-row">
113     <div class="flex-cell">[% l('Transit Send Time') %]</div>
114     <div class="flex-cell well">
115       {{transit.source_send_time() | date:egDateAndTimeFormat}}
116     </div>
117   </div>
118   <div class="flex-row">
119     <div class="flex-cell">[% l('Transit Receive Time') %]</div>
120     <div class="flex-cell well">
121       {{transit.dest_recv_time() | date:egDateAndTimeFormat}}
122     </div>
123   </div>
124 </div>
125