From: djfiander Date: Wed, 5 Apr 2006 01:52:32 +0000 (+0000) Subject: Implement stub support for Checkin operations in the ILS X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=b89a070940071dd0449f2fdd950d7aa305896c20;p=SIPServer.git Implement stub support for Checkin operations in the ILS --- diff --git a/ILS/Transaction/Checkin.pm b/ILS/Transaction/Checkin.pm new file mode 100644 index 0000000..cf43a89 --- /dev/null +++ b/ILS/Transaction/Checkin.pm @@ -0,0 +1,40 @@ +# +# An object to handle checkin status +# + +package ILS::Transaction::Checkin; + +use Exporter; +use warnings; +use strict; + +use POSIX qw(strftime); + +use ILS; +use ILS::Transaction; + +our @ISA = qw(Exporter ILS::Transaction); + +sub new { + my ($class, $obj) = @_; + my $type = ref($class) || $class; + my ($item, $patron); + + $obj = {}; + + return bless $obj, $type; +} + +sub resensitize { + my $self = shift; + + return !$self->{item}->magnetic; +} + +sub magnetic_media { + my $self = shift; + + return $self->{item}->magnetic; +} + +1;