Bug 25261: (QA follow-up) Catch check in SIP Checkout
Test plan 1/ Enable the feature as per previous patches 2/ Attempt to checkout an item with materials attached via a SIP unit 3/ Note that the checkut is blocked with the message 'Item must be issued at a circulation desk' 4/ Signoff Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
1e346db48a
commit
0d9fc7331a
|
|
@ -93,9 +93,13 @@ sub do_checkout {
|
|||
$noerror = 0;
|
||||
last;
|
||||
}
|
||||
} elsif ($confirmation eq 'PREVISSUE') {
|
||||
} elsif ($confirmation eq 'PREVISSUE') {
|
||||
$self->screen_msg("This item was previously checked out by you");
|
||||
last;
|
||||
} elsif ( $confirmation eq 'additional_materials' ) {
|
||||
$self->screen_msg('Item must be issued at a circulation desk');
|
||||
$noerror = 0;
|
||||
last;
|
||||
} else {
|
||||
# We've been returned a case other than those above
|
||||
$self->screen_msg("Item cannot be issued: $confirmation");
|
||||
|
|
|
|||
Loading…
Reference in New Issue