Stub code to handle renewals
authordjfiander <djfiander>
Sun, 16 Apr 2006 01:40:34 +0000 (01:40 +0000)
committerdjfiander <djfiander>
Sun, 16 Apr 2006 01:40:34 +0000 (01:40 +0000)
ILS/Transaction/Renew.pm [new file with mode: 0644]

diff --git a/ILS/Transaction/Renew.pm b/ILS/Transaction/Renew.pm
new file mode 100644 (file)
index 0000000..30ff219
--- /dev/null
@@ -0,0 +1,23 @@
+#
+# Status of a Renew Transaction
+#
+
+package ILS::Transaction::Renew;
+
+use warnings;
+use strict;
+
+use ILS;
+use ILS::Transaction;
+
+our @ISA = qw(ILS::Transaction);
+
+# most fields are handled by the Transaction superclass
+
+sub renewal_ok {
+    my $self = shift;
+
+    return $self->{renewal_ok} || 0;
+}
+
+1;