Changed the error message from: There is no book with barcode: XXXXXX
to: No item with barcode: XXXXXXX
This commit is contained in:
parent
01fdc4f833
commit
ca7a9d7264
|
|
@ -229,7 +229,7 @@ sub transferbook {
|
|||
my $branches = getbranches();
|
||||
my $iteminformation = getiteminformation(\%env,0, $barcode);
|
||||
if (not $iteminformation) {
|
||||
$message = "<font color='red' size='+2'>There is no book with barcode: $barcode </font>";
|
||||
$message = "<font color='red' size='+2'>No item with barcode: $barcode </font>";
|
||||
return (0, $message, 0);
|
||||
}
|
||||
my $fbr = $iteminformation->{'holdingbranch'};
|
||||
|
|
|
|||
Loading…
Reference in New Issue