</a>
<span ng-show="!prev_circ_usr">
[% l('<Aged Circulation>') | html %]
- </span>
+ </span>
</div>
</div>
<div class="flex-cell">[% l('Patron') %]</div>
<div class="flex-cell well">
<a href="./circ/patron/{{circ.usr().id()}}/checkout"
- ng-if="circ" target="_self">
+ ng-if="circ.usr()" target="_self">
[% l('[_1], [_2] [_3] : [_4]',
'{{circ.usr().family_name()}}'
'{{circ.usr().first_given_name()}}'
'{{circ.usr().second_given_name()}}'
'{{circ.usr().card().barcode()}}') %]
</a>
+ <span ng-show="!circ.usr()">
+ [% l('<Aged Circulation>') | html %]
+ </span>
</div>
</div>
delete $scope.prev_circ_usr;
if (!copyId) return;
- egCore.pcrud.search('circ',
+ egCore.pcrud.search('aacs',
{target_copy : copyId},
{ flesh : 2,
flesh_fields : {
- circ : [
+ aacs : [
'usr',
'workstation',
'checkin_workstation',
],
au : ['card']
},
- order_by : {circ : 'xact_start desc'},
+ order_by : {aacs : 'xact_start desc'},
limit : 1
}