rel_3_0 moved to HEAD
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / admin / checkmarc.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Koha -- System Administration: MARC Check: 
2 <!-- TMPL_IF name="total" --><!-- TMPL_VAR name="total" --> errors found<!-- TMPL_ELSE -->Configuration OK!<!-- /TMPL_IF -->
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4
5 <!-- TMPL_INCLUDE NAME="menus.inc" -->
6 <!-- TMPL_INCLUDE NAME="menu-admin.inc" -->
7
8 <h1>MARC Checking</h1>
9 <table>
10     <tr>
11         <th>Test</th>
12         <th>Result</th>
13     </tr>
14 <!-- -->
15 <!-- TMPL_IF name="itemnum" -->
16     <tr>
17         <td>itemnum</td>
18         <td><ul><li>The field itemnum MUST be mapped </li>
19             <li>The correspounding subfield MUST be in with -1 (ignore) tab</li></ul></td>
20     </tr>
21 <!-- TMPL_ELSE -->
22     <tr>
23         <td>OK</td>
24         <td>itemnum : the field itemnumber is mapped to a field in tab -1</td>
25     </tr>
26 <!-- /TMPL_IF -->
27 <!-- -->
28 <!-- TMPL_IF name="itemfields" -->
29     <tr>
30         <td>item fields</td>
31         <td>ALL items fields MUST :<br />
32             <ul><li>be mapped to the same tag,</li>
33             <li>and they must all be in the 10 (items) tab</li></ul></td>
34     </tr>
35 <!-- TMPL_ELSE -->
36     <tr>
37         <td>OK</td>
38         <td>All item fields are in the same tag and in item tab</td>
39     </tr>
40 <!-- /TMPL_IF -->
41 <!-- -->
42     <!-- TMPL_IF NAME="itemtags" -->
43         <tr>
44             <td>Item tag</td>
45             <td>There is more than 1 MARC tag related to items tab (10) : <!-- TMPL_VAR name="itemtags" --></td>
46         </tr>
47     <!-- TMPL_ELSE -->
48         <tr>
49             <td>OK</td>
50             <td>Only 1 MARC tag mapped to items</td>
51         </tr>
52     <!-- /TMPL_IF -->
53     <!--  -->
54 <!-- TMPL_IF name="itemtype" -->
55     <tr>
56         <td>itemtype NOT mapped</td>
57         <td>the biblioitems.itemtype field MUST :<br />
58             <ul><li>be mapped to a MARC subfield, </li>
59             <li>the correspounding subfield MUST have authorised_value=itemtype</li></ul></td>
60     </tr>
61 <!-- TMPL_ELSE -->
62     <tr>
63         <td>OK</td>
64         <td>biblioitems.itemtype defined</td>
65     </tr>
66 <!-- /TMPL_IF -->
67 <!-- -->
68 <!-- TMPL_IF name="branch" -->
69     <tr>
70         <td>homebranch NOT mapped</td>
71         <td>the items.homebranch field MUST :<br />
72             <ul><li>be mapped to a MARC subfield,</li>
73             <li>the correspounding subfield MUST have authorised value=branches</li></ul></td>
74     </tr>
75 <!-- TMPL_ELSE -->
76     <tr>
77         <td>OK</td>
78         <td>homebranch defined</td>
79     </tr>
80 <!-- /TMPL_IF -->
81 <!-- -->
82 <!-- TMPL_IF name="holdingbranch" -->
83     <tr>
84         <td>holdingbranch NOT mapped</td>
85         <td>the items.holdingbranch field MUST :<br />
86             <ul><li>be mapped to a MARC subfield, </li>
87             <li>the correspounding subfield MUST have authorised value=branches</li></ul></td>
88     </tr>
89 <!-- TMPL_ELSE -->
90     <tr>
91         <td>OK</td>
92         <td>holdingbranch defined</td>
93     </tr>
94 <!-- /TMPL_IF -->
95 <!-- -->
96 <!-- TMPL_IF name="biblionumber" -->
97     <tr>
98         <td>biblio and biblionumber</td>
99         <td>The biblio.biblionumber and biblioitems.biblioitemnumber fields be mapped to a MARC subfield,</td>
100     </tr>
101 <!-- TMPL_ELSE -->
102     <tr>
103         <td>OK</td>
104         <td>biblionumber and biblioitemnumber mapped correctly</td>
105     </tr>
106 <!-- /TMPL_IF -->
107
108     <!-- TMPL_IF NAME="frameworknull" -->
109         <tr>
110             <td>framework values</td>
111             <td>there is a null value in a frameworkcode. Check the following tables<br/>
112                 <li>select * from marc_subfield_structure where frameworkcode is NULL</li>
113                 <li>select * from marc_tag_structure where frameworkcode is NULL</li>
114                 <li>select * from marc_biblio where frameworkcode is NULL</li></td>
115         </tr>
116     <!-- TMPL_ELSE -->
117         <tr>
118             <td>OK</td>
119             <td>no NULL value in frameworkcode</td>
120         </tr>
121     <!-- /TMPL_IF -->
122
123 <!-- -->
124 <!-- TMPL_IF name="total" -->
125     <tr>
126         <td>TOTAL</td>
127         <td>You have <!-- TMPL_VAR name="total" --> error(s) in your MARC configuration. Please fix them before using Koha</td>
128     </tr>
129 </table>
130 <!-- TMPL_ELSE -->
131     </table>
132         <p><b>Configuration OK, you don't have errors in your MARC parameters table</b></p>
133 <!-- /TMPL_IF -->
134
135
136
137 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->