Signed-off-by: Galen Charlton <gmc@esilibrary.com>
handler="abortTransit"
label="[% l('Abort Transits') %]">
</eg-grid-action>
+ <eg-grid-action divider="true"></eg-grid-action>
+ <eg-grid-action wq
+ handler="manageCopyAlerts"
+ label="[% l('Acknowledge Alerts') %]">
+ </eg-grid-action>
<eg-grid-field label="[% l('Balance Owed') %]"
});
}
+ $scope.manageCopyAlerts = function(items) {
+ var copy_ids = [];
+ angular.forEach(items, function(item) {
+ if (item.acp) copy_ids.push(item.acp.id());
+ });
+ egCirc.manage_copy_alerts(copy_ids).then(function() {
+ // update grid items?
+ });
+ }
+
$scope.print_receipt = function() {
var print_data = {circulations : []}