Main Koha release repository https://koha-community.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

16 lines
590 B

#!/bin/bash
perl -I ./ -e '
use Data::Dumper;
use C4::SIP::ILS;
use C4::SIP::Sip::Configuration;
my $code = "MAIN";
my $conf = C4::SIP::Sip::Configuration->new("SIPconfig.xml");
my $ils = C4::SIP::ILS->new($conf->{institutions}->{$code});
print "XML for $code: ", Dumper($conf->{institutions}->{$code}), "\n";
print "ILS for $code: ", Dumper($ils), "\n";
print "\$ils->checkout_ok(): ", ($ils->checkout_ok() ? "Y" : "N"), "\n";
print "\$ils->checkin_ok() : ", ($ils->checkin_ok() ? "Y" : "N"), "\n";
print "\$ils->offline_ok() : ", ($ils->offline_ok() ? "Y" : "N"), "\n";
print "\n";
'