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">×</button>
5 <h4 ng-if="action == 'checkout'" class="modal-title">
6 [% l('Exceptions occurred during checkout.') %]
8 <h4 ng-if="action == 'renew'" class="modal-title">
9 [% l('Exceptions occurred during renewal.') %]
12 <div class="modal-body">
13 <div ng-repeat="evt in events">
14 <div ng-class="{ 'panel': true, 'panel-danger': !formdata.event_ui_data[evt.ilsevent].overridable, 'panel-warning': formdata.event_ui_data[evt.ilsevent].overridable }">
15 <div class="panel-heading">{{evt.textcode}}</div>
16 <div class="panel-body">
17 <div ng-if="copy_barcode" class="strong-text-2">{{copy_barcode}}</div>
19 <div ng-if="evt.textcode == 'ITEM_ON_HOLDS_SHELF'">
20 <a target="_blank" href="[% ctx.base_path %]/staff/circ/patron/{{patronID}}/checkout">{{patronName}}</a>.
22 <label><input type="checkbox" ng-model="formdata.clearHold"/>
23 [% l('Cancel this hold upon checkout?') %]</label>
26 <div ng-if="formdata.event_ui_data[evt.ilsevent].overridable">
27 <label ng-class="{ 'acknowledged': formdata.nonoverridable }"><input type="checkbox" ng-disabled="formdata.nonoverridable" ng-model="formdata.event_ui_data[evt.ilsevent].checkbox"/>
28 [% l('Automatically override for subsequent items?') %]</label>
30 <div ng-if="!formdata.event_ui_data[evt.ilsevent].overridable">
31 <label><input type="checkbox" ng-model="formdata.event_ui_data[evt.ilsevent].checkbox"/>
32 [% l('Automatically skip items with this error?') %]</label>
38 <div class="modal-footer">
40 <input type="submit" class="btn btn-primary" ng-disabled="formdata.nonoverridable"
41 value="[% l('Force Action?') %]"/>
43 ng-click="skip($event)">[% l('Skip?') %]</button>
44 <button class="btn btn-normal"
45 ng-click="cancel($event)">[% l('Cancel') %]</button>