Merge remote branch 'kc/master' into new/enh/bug_5917
[koha.git] / installer / data / mysql / nb-NO / 2-Valgfritt / patron_categories.sql
1 -- 
2 -- Default classification sources and filing rules
3 -- for Koha.
4 --
5 -- Copyright (C) 2011 Magnus Enger Libriotech
6 --
7 -- This file is part of Koha.
8 --
9 -- Koha is free software; you can redistribute it and/or modify it under the
10 -- terms of the GNU General Public License as published by the Free Software
11 -- Foundation; either version 2 of the License, or (at your option) any later
12 -- version.
13 -- 
14 -- Koha is distributed in the hope that it will be useful, but WITHOUT ANY
15 -- WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
16 -- A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
17 -- 
18 -- You should have received a copy of the GNU General Public License along
19 -- with Koha; if not, write to the Free Software Foundation, Inc.,
20 -- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
21
22 INSERT INTO `categories` (`categorycode`, `description`, `enrolmentperiod`, `upperagelimit`, `dateofbirthrequired`, `finetype`, `bulk`, `enrolmentfee`, `overduenoticerequired`, `issuelimit`, `reservefee`, `category_type`) VALUES 
23
24 -- Adult Patrons
25 ('PT','Låner',99,999,18,NULL,NULL,'0.000000',1,NULL,'0.000000','A'),
26 ('ST','Student',99,999,18,NULL,NULL,'0.000000',1,NULL,'0.000000','A'),
27 ('HB','Hjemmelåner',99,999,18,NULL,NULL,'0.000000',1,NULL,'0.000000','A'),
28
29 -- Children
30 ('K','Barn',99,17,5,NULL,NULL,'0.000000',1,NULL,'0.000000','C'),
31 ('J','Ungdom',99,17,5,NULL,NULL,'0.000000',1,NULL,'0.000000','C'),
32 ('YA','Ung voksen',99,17,5,NULL,NULL,'0.000000',1,NULL,'0.000000','C'),
33
34 -- Professionals
35 ('T','Lærer',99,999,18,NULL,NULL,'0.000000',0,NULL,'0.000000','P'),
36 ('B','Styremedlem',99,17,5,NULL,NULL,'0.000000',1,NULL,'0.000000','P'),
37
38 -- Institutional
39 ('IL','Fjernlån',99,999,18,NULL,NULL,'0.000000',1,NULL,'0.000000','I'),
40 ('SC','Skole',99,999,18,NULL,NULL,'0.000000',1,NULL,'0.000000','I'),
41 ('L','Bibliotek',99,999,18,NULL,NULL,'0.000000',1,NULL,'0.000000','I'),
42
43 -- Staff
44 ('S','Bibliotekansatt',99,999,18,NULL,NULL,'0.000000',0,NULL,'0.000000','S');