]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/templates/staff/circ/share/t_event_override_dialog.tt2
LP#1661688: Add a link and other tweaks to alternate hold pickup feature
[working/Evergreen.git] / Open-ILS / src / templates / staff / circ / share / t_event_override_dialog.tt2
1 <form ng-submit="ok()" role="form">
2   <div class="modal-header">
3     <button type="button" class="close" 
4       ng-click="cancel()" aria-hidden="true">&times;</button>
5     <h4 class="modal-title">
6       [% l('Exceptions occurred during checkout.') %]
7     </h4>
8   </div>
9   <div class="modal-body">
10     <div ng-repeat="evt in events">
11       <div class="panel panel-danger">
12         <div class="panel-heading">{{evt.textcode}}</div>
13         <div class="panel-body">
14           <div ng-if="copy_barcode" class="strong-text-2">{{copy_barcode}}</div>
15           {{evt.desc}}
16           <div ng-if="evt.textcode == 'ITEM_ON_HOLDS_SHELF'"> 
17                <a target="_blank" href="[% ctx.base_path %]/staff/circ/patron/{{patronID}}/checkout">{{patronName}}</a>.
18             <div>
19                 <label><input type="checkbox" ng-model="formdata.clearHold"/> 
20                 [% l('Cancel this hold upon checkout?') %]</label>
21             </div>
22
23           </div>
24         </div>
25       </div>
26     </div>
27   </div>
28   <div class="modal-footer">
29     <i ng-if="auto_override">[% |l %]If overridden, subsequent checkouts during this patron's 
30  session will auto-override this event[% END %]</i>
31     <br/><br/>
32     <input type="submit" class="btn btn-primary" 
33         value="[% l('Force Action?') %]"/>
34     <button class="btn btn-warning" 
35       ng-click="cancel($event)">[% l('Cancel') %]</button>
36   </div>
37 </form>