#!/usr/bin/perl # # Modified saas@users.sf.net 12:00 01 April 2001 # The biblioitemnumber was not correctly initialised # The max(barcode) value was broken - koha 'barcode' is a string value! # - If left blank, barcode value now defaults to max(biblionumber) # # TODO # # Add info on biblioitems and items already entered as you enter new ones # # Add info on biblioitems and items already entered as you enter new ones # Copyright 2000-2002 Katipo Communications # # This file is part of Koha. # # Koha is free software; you can redistribute it and/or modify it under the # terms of the GNU General Public License as published by the Free Software # Foundation; either version 2 of the License, or (at your option) any later # version. # # Koha is distributed in the hope that it will be useful, but WITHOUT ANY # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR # A PARTICULAR PURPOSE. See the GNU General Public License for more details. # # You should have received a copy of the GNU General Public License along with # Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place, # Suite 330, Boston, MA 02111-1307 USA use CGI; use strict; use C4::Catalogue; use C4::Biblio; use C4::Output; use C4::Circulation::Circ2; my $input = new CGI; my $error = $input->param('error'); my $success = $input->param('biblioitem'); print $input->header; print startpage(); print startmenu('acquisitions'); &searchscreen(); print endmenu('acquisitions'); print endpage(); sub searchscreen { print << "EOF"; Adding new items to the Library Inventory

EOF if ($error eq "notfound") { print << "EOF"; No items found

EOF } elsif ($success eq "added") { print << "EOF"; Website Biblioitem Added

EOF } # elsif print << "EOF";
To add a new item, scan or type the ISBN number:
Keyword:
ISBN:


Tools for importing MARC records into Koha


Add New Website

Keyword:

Help
Koha stores data in three sections

Biblio

The first section records bibliographic data such as title, author and copyright for a particular work.

Group

The second records bibliographic data for a particular publication of that work, such as ISBN number, physical description, publisher information, etc

Item

The third section holds specific item information, such as the bar code number

EOF } # sub searchscreen