adding openncip / opensip SIP2 service
[koha.git] / C4 / SIP / ILS / Transaction / Renew.pm
1 #
2 # Status of a Renew Transaction
3 #
4
5 package ILS::Transaction::Renew;
6
7 use warnings;
8 use strict;
9
10 use ILS;
11 use ILS::Transaction;
12
13 our @ISA = qw(ILS::Transaction);
14
15 my %fields = (
16               renewal_ok => 0,
17               );
18
19 sub new {
20     my $class = shift;;
21     my $self = $class->SUPER::new();
22     my $element;
23
24     foreach $element (keys %fields) {
25         $self->{_permitted}->{$element} = $fields{$element};
26     }
27
28     @{$self}{keys %fields} = values %fields;
29
30     return bless $self, $class;
31 }
32
33 1;