The list of selected items being passed to print_receipt
was being ignored and the whole list of items currently
checked out used instead. This patch uses the list
presented so staff can only print those items that they
want to, such as a small number of items renewed today,
etc.
Signed-off-by: Jason Boyer <jboyer@library.in.gov>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
var print_data = {circulations : []};
var cusr = patronSvc.current;
- angular.forEach(patronSvc.items_out, function(circ) {
+ angular.forEach(items, function(circ) {
print_data.circulations.push({
circ : egCore.idl.toHash(circ),
copy : egCore.idl.toHash(circ.target_copy()),