Bug 26922: Regression tests
[koha.git] / C4 / SIP / interactive_renew_all_dump.pl
blobdf7a59264c39289819a71bf4f34e3a9bb71d719e
1 #!/usr/bin/perl
4 use warnings;
5 use strict;
7 use C4::SIP::ILS::Transaction::RenewAll;
8 use Data::Dumper;
10 while (1) {
11 print "Enter patron barcode: ";
12 my $in = <>;
13 defined($in) or last;
14 chomp($in);
15 last unless $in;
16 my $patron = ILS::Patron->new($in);
17 print "Patron before: \n " . Dumper($patron);
18 my $action = C4::SIP::ILS::Transaction::RenewAll->new();
19 $action->do_renew_all();
20 print "\n\nTransaction::RenewAll: " . Dumper($action);
21 print "\n", "=" x 35, "\n";