1a46bc1218
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
22 lines
456 B
Perl
Executable file
22 lines
456 B
Perl
Executable file
#!/usr/bin/perl
|
|
#
|
|
|
|
use warnings;
|
|
use strict;
|
|
|
|
use ILS::Transaction::RenewAll;
|
|
use Data::Dumper;
|
|
|
|
while (1) {
|
|
print "Enter patron barcode: ";
|
|
my $in = <>;
|
|
defined($in) or last;
|
|
chomp($in);
|
|
last unless $in;
|
|
my $patron = ILS::Patron->new($in);
|
|
print "Patron before: \n " . Dumper($patron);
|
|
my $action = ILS::Transaction::RenewAll->new();
|
|
$action->do_renew_all();
|
|
print "\n\nTransaction::RenewAll: " . Dumper($action);
|
|
print "\n", "=" x 35, "\n";
|
|
}
|