message.
$patron = $status->patron;
$item = $status->item;
- $resp .= $status->ok ? 'Y' : 'N';
+ $resp .= $status->ok ? '1' : '0';
$resp .= $status->resensitize ? 'Y' : 'N';
if ($item && $ils->supports('magnetic media')) {
$resp .= sipbool($item->magnetic);
my $checkin_template = {
id => 'Checkout: cleanup: check in item',
msg => "09N20050102 08423620060113 084235APUnder the bed|AO$instid|AB$item_barcode|ACterminal password|",
- pat => qr/^10YYNN$datepat/o,
+ pat => qr/^101YNN$datepat/o,
fields => [],
};
my $checkin_test_template = {
id => 'Checkin: Item is checked out',
msg => "09N20060102 08423620060113 084235APUnder the bed|AO$instid|AB$item_barcode|ACterminal password|",
- pat => qr/^10YYNN$datepat/o,
+ pat => qr/^101YNN$datepat/o,
fields => [
$SIPtest::field_specs{(FID_INST_ID)},
$SIPtest::field_specs{(FID_SCREEN_MSG)},
# the ILS didn't check the item in, and there's no patron id.
$test = clone($checkin_test_template);
$test->{id} = 'Checkin: Item not checked out';
-$test->{pat} = qr/^10NYNN$datepat/o;
+$test->{pat} = qr/^100YNN$datepat/o;
$test->{fields} = [grep $_->{field} ne FID_PATRON_ID, @{$test->{fields}}];
push @tests, $test;
my $checkin_template = {
id => 'Renew: prep: check in item',
msg => "09N20060102 08423620060113 084235APUnder the bed|AO$instid|AB$item_barcode|ACterminal password|",
- pat => qr/^10YYNN$datepat/,
+ pat => qr/^101YNN$datepat/,
fields => [],
};
my @checkin_templates = (
{ id => "Renew All: prep: check in $item_barcode",
msg => "09N20060102 08423620060113 084235APUnder the bed|AO$instid|AB$item_barcode|ACterminal password|",
- pat => qr/^10YYNN$datepat/,
+ pat => qr/^101YNN$datepat/,
fields => [],},
{ id => "Renew All: prep: check in $item2_barcode",
msg => "09N20060102 08423620060113 084235APUnder the bed|AO$instid|AB$item2_barcode|ACterminal password|",
- pat => qr/^10YYNN$datepat/,
+ pat => qr/^101YNN$datepat/,
fields => [],}
);