1 <!-- item renewal form / list -->
3 <div class="container-fluid" style="text-align:center">
4 <div class="alert alert-info alert-less-pad strong-text-2">
10 <div class="col-md-6">
11 <form ng-submit="renew(renewalArgs)" role="form" class="form-inline">
12 <div class="input-group">
14 <label class="input-group-addon"
15 for="patron-renewal-barcode" >[% l('Barcode') %]</label>
17 <input focus-me="focusBarcode" class="form-control"
18 ng-model="renewalArgs.copy_barcode"
19 id="patron-renewal-barcode" type="text"/>
21 <input class="btn btn-default" type="submit" value="[% l('Submit') %]"/>
25 <div class="col-md-6">
26 <div class="flex-row">
27 <div class="flex-cell"></div>
28 <div class="checkbox pad-horiz">
30 <input type="checkbox" ng-model="renewalArgs.sticky_date"/>
31 [% l('Specific Due Date') %]
34 <!-- FIXME: This needs a time component as well, but type="datetime"
35 is not yet supported by any browsers -->
36 <div><eg-date-input ng-model="renewalArgs.due_date"></eg-date-input>
45 features="-sort,-multisort"
46 items-provider="gridDataProvider"
47 grid-controls="gridControls"
48 persist-key="circ.renew">
51 handler="fetchLastCircPatron"
52 label="[% l('Retrieve Last Patron Who Circulated Item') %]">
55 handler="showLastFewCircs"
56 label="[% l('Show Last Few Circluations') %]">
58 <eg-grid-action divider="true"></eg-grid-action>
60 handler="showMarkDamaged"
61 label="[% l('Mark Items Damaged') %]">
63 <eg-grid-action divider="true"></eg-grid-action>
65 handler="abortTransit"
66 label="[% l('Abort Transits') %]">
70 <eg-grid-field label="[% l('Alert Msg') %]"
71 path="acp.alert_message"></eg-grid-field>
73 <eg-grid-field label="[% l('Balance Owed') %]"
74 path='mbts.balance_owed'></eg-grid-field>
76 <eg-grid-field label="[% l('Barcode') %]" path="acp_barcode">
77 <!-- FIXME: ng-if / ng-disabled not working since the contents
78 are $interpolate'd and not $compile'd.
79 I want to hide / disable the href when there is no acp ID
81 <a href="./cat/item/{{item.acp.id()}}/summary" target="_self">
86 <eg-grid-field label="[% l('Bill #') %]"
87 path='circ.id'></eg-grid-field>
89 <eg-grid-field label="[% l('Call Number') %]"
90 path="acn.label"></eg-grid-field>
92 <eg-grid-field label="[% l('Due Date') %]"
93 path='circ.due_date' dateformat='short'></eg-grid-field>
95 <eg-grid-field label="[% l('Family Name') %]"
96 path='au.family_name'></eg-grid-field>
98 <eg-grid-field label="[% l('Location') %]"
99 path='acp.location.name'> </eg-grid-field>
101 <eg-grid-field label="[% l('Remaining Renewals') %]"
102 path='circ.renewal_remaining'></eg-grid-field>
104 <eg-grid-field label="[% l('Title') %]" path="title">
105 <a target="_self" href="[% ctx.base_path %]/staff/cat/catalog/record/{{record.doc_id()}}">
110 <eg-grid-field label="[% l('Author') %]"
111 path="author" hidden></eg-grid-field>
113 <eg-grid-field path="circ.*" parent-idl-class="circ" hidden></eg-grid-field>
114 <eg-grid-field path="acp.*" parent-idl-class="acp" hidden></eg-grid-field>
115 <eg-grid-field path="acn.*" parent-idl-class="acn" hidden></eg-grid-field>
116 <eg-grid-field path="record.*" parent-idl-class="mvr" hidden></eg-grid-field>
117 <eg-grid-field path="mbts.*" parent-idl-class="mbts" hidden></eg-grid-field>
118 <eg-grid-field path="au.*" parent-idl-class="au" hidden></eg-grid-field>
121 <div class="flex-row pad-vert">
122 <div class="flex-cell"></div>
123 <div class="pad-horiz">
124 <button class="btn btn-default"
125 ng-click="print_receipt()">[% l('Print Receipt') %]</button>
127 <div class="checkbox">
129 <input ng-model="trim_list" type="checkbox"/>
130 [% l('Trim List (20 Rows)') %]
133 <div class="pad-horiz"></div>
134 <div class="checkbox">
136 <input ng-model="strict_barcode" type="checkbox"/>
137 [% l('Strict Barcode') %]