projects
/
working
/
NCIPServer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f56456
)
Working on the Koha code
author
Chris Cormack
<chris@bigballofwax.co.nz>
Sat, 4 Jan 2014 23:45:20 +0000
(12:45 +1300)
committer
Chris Cormack
<chris@bigballofwax.co.nz>
Sat, 4 Jan 2014 23:45:20 +0000
(12:45 +1300)
lib/NCIP/ILS/Koha.pm
patch
|
blob
|
history
diff --git
a/lib/NCIP/ILS/Koha.pm
b/lib/NCIP/ILS/Koha.pm
index
968a98d
..
da1276c
100644
(file)
--- a/
lib/NCIP/ILS/Koha.pm
+++ b/
lib/NCIP/ILS/Koha.pm
@@
-20,8
+20,9
@@
use Modern::Perl;
use Object::Tiny qw{ name };
use C4::Members qw{ GetMemberDetails };
+use C4::Circulation qw { AddReturned CanBookBeIssued AddIssue }
-sub itemdata {
+
sub itemdata {
my $self = shift;
return ( { barcode => '123', title => 'fish' }, undef );
}
@@
-33,4
+34,13
@@
sub userdata {
return $userdata;
}
+sub checkin {
+ my $self = shift;
+ my $barcode = shift;
+ my $result = AddReturn( $barcode, $branch, $exemptfine, $dropbox );
+}
+
+sub checkout {
+}
+
1;