1 <div class="col-md-12" ng-show="!isMaxCircHistoryZero && circ_list.length == 0">
2 <div class="alert alert-info">
3 [% l('Item has not circulated.') %]
6 <div class="col-md-12" ng-show="isMaxCircHistoryZero">
7 <div class="alert alert-info">
8 [% l('Circulation History not available for display.') %]
11 <div class="row" ng-show="!isMaxCircHistoryZero && circ_list.length">
12 <div class="flex-row">
13 <div class="flex-cell well">
14 <button class="btn btn-default" ng-click="retrieveAllPatrons()">
15 [% l('Retrieve All These Patrons') %]
22 <div class="row" ng-show="!isMaxCircHistoryZero" ng-repeat="circ in circ_list">
23 <div class="flex-row">
24 <div class="flex-cell well">
25 <a ng-if="circ.usr()" target="_self"
26 href="./circ/patron/{{circ.usr().id()}}/checkout">
27 [% l('[_1], [_2] [_3] : [_4]',
28 '{{circ.usr().family_name()}}'
29 '{{circ.usr().first_given_name()}}'
30 '{{circ.usr().second_given_name()}}'
31 '{{circ.usr().card().barcode()}}') %]
33 <span ng-if="!circ.usr()">[% l('<Aged Circulation>') | html %]</span>
34 <span class="pad-horiz">[% l('Circulation ID: [_1]', '{{circ.id()}}') %]</span>
37 <button class="btn btn-default" ng-click="addBilling(circ)"
38 ng-disabled="!circ.usr()">
39 [% l('Add Billing') %]
43 <div class="flex-row">
44 <div class="flex-cell">[% l('Check Out Date') %]</div>
45 <div class="flex-cell well">{{circ.xact_start() | date:egDateAndTimeFormat}}</div>
46 <div class="flex-cell">[% l('Due Date') %]</div>
47 <div class="flex-cell well">{{circ.due_date() | egDueDate:egDateAndTimeFormat:circ.circ_lib():circ.duration()}}</div>
48 <div class="flex-cell">[% l('Check Out Workstation') %]</div>
49 <div class="flex-cell well">{{circ.workstation().name()}}</div>
50 <div class="flex-cell">[% l('Stop Fines Time') %]</div>
51 <div class="flex-cell well">{{circ.stop_fines_time() | date:egDateAndTimeFormat}}</div>
52 <div class="flex-cell">[% l('Checkin Time') %]</div>
53 <div class="flex-cell well">{{circ.checkin_time() | date:egDateAndTimeFormat}}</div>
55 <div class="flex-row">
56 <div class="flex-cell">[% l('Check Out Library') %]</div>
57 <div class="flex-cell well">{{circ.circ_lib().shortname()}}</div>
58 <div class="flex-cell">[% l('Renewal?') %]</div>
59 <div class="flex-cell well">{{
60 circ.phone_renewal() == 't' ||
61 circ.desk_renewal() == 't' ||
62 circ.opac_renewal() == 't' ||
63 circ.auto_renewal() == 't'
65 <div class="flex-cell">[% l('Check Out Staff') %]</div>
66 <div class="flex-cell well">
67 <div ng-if="circ.parent_circ() == null">
68 <a target="_blank" href="./circ/patron/{{circ.circ_staff().id()}}/checkout">
69 {{circ.circ_staff().usrname()}}
72 <div ng-if="circ.desk_renewal() == 't'">
73 <a target="_blank" href="./circ/patron/{{circ.circ_staff().id()}}/checkout">
74 {{circ.circ_staff().usrname()}}
77 <div ng-if="circ.opac_renewal() == 't'">[% l('<OPAC Renewal>') | html %]</div>
78 <div ng-if="circ.auto_renewal() == 't'">[% l('<Auto-Renewal>') | html %]</div>
80 <div class="flex-cell">[% l('Stop Fines Reason') %]</div>
81 <div class="flex-cell well">{{circ.stop_fines()}}</div>
82 <div class="flex-cell">[% l('Check In Library') %]</div>
83 <div class="flex-cell well">{{circ.checkin_lib().shortname()}}</div>