Koha/C4/SIP/ILS/Transaction/RenewAll.pm
Ryan Higgins 7b9b36bd2e adding openncip / opensip SIP2 service
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-06 06:32:53 -06:00

29 lines
507 B
Perl

#
# RenewAll: class to manage status of "Renew All" transaction
package ILS::Transaction::RenewAll;
use strict;
use warnings;
our @ISA = qw(ILS::Transaction);
my %fields = (
renewed => [],
unrenewed => [],
);
sub new {
my $class = shift;;
my $self = $class->SUPER::new();
my $element;
foreach $element (keys %fields) {
$self->{_permitted}->{$element} = $fields{$element};
}
@{$self}{keys %fields} = values %fields;
return bless $self, $class;
}
1;