|
Line 0
Link Here
|
|
|
1 |
package Koha::Database::Columns; |
| 2 |
|
| 3 |
# This file is part of Koha. |
| 4 |
# |
| 5 |
# Koha is free software; you can redistribute it and/or modify it |
| 6 |
# under the terms of the GNU General Public License as published by |
| 7 |
# the Free Software Foundation; either version 3 of the License, or |
| 8 |
# (at your option) any later version. |
| 9 |
# |
| 10 |
# Koha is distributed in the hope that it will be useful, but |
| 11 |
# WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 |
# GNU General Public License for more details. |
| 14 |
# |
| 15 |
# You should have received a copy of the GNU General Public License |
| 16 |
# along with Koha; if not, see <http://www.gnu.org/licenses>. |
| 17 |
|
| 18 |
=head1 NAME |
| 19 |
|
| 20 |
Koha::Database::Columns |
| 21 |
|
| 22 |
=head1 SYNOPSIS |
| 23 |
|
| 24 |
use Koha::Database::Columns; |
| 25 |
|
| 26 |
=head1 FUNCTIONS |
| 27 |
|
| 28 |
=cut |
| 29 |
|
| 30 |
use Modern::Perl; |
| 31 |
use Koha::I18N qw( __ ); |
| 32 |
|
| 33 |
sub columns { |
| 34 |
return { |
| 35 |
borrowers => { |
| 36 |
"borrowernumber" => __("Borrower number"), |
| 37 |
"title" => __("Salutation"), |
| 38 |
"surname" => __("Surname"), |
| 39 |
"firstname" => __("First name"), |
| 40 |
"dateofbirth" => __("Date of birth"), |
| 41 |
"initials" => __("Initials"), |
| 42 |
"othernames" => __("Other name"), |
| 43 |
"sex" => __("Gender"), |
| 44 |
"relationship" => __("Relationship"), |
| 45 |
"streetnumber" => __("Street number"), |
| 46 |
"streettype" => __("Street type"), |
| 47 |
"address" => __("Address"), |
| 48 |
"address2" => __("Address 2"), |
| 49 |
"city" => __("City"), |
| 50 |
"state" => __("State"), |
| 51 |
"zipcode" => __("ZIP/Postal code"), |
| 52 |
"country" => __("Country"), |
| 53 |
"phone" => __("Primary phone"), |
| 54 |
"phonepro" => __("Secondary phone"), |
| 55 |
"mobile" => __("Other phone"), |
| 56 |
"email" => __("Primary email"), |
| 57 |
"emailpro" => __("Secondary email"), |
| 58 |
"fax" => __("Fax"), |
| 59 |
"B_streetnumber" => __("Alternate address: Street number"), |
| 60 |
"B_streettype" => __("Alternate address: Street type"), |
| 61 |
"B_address" => __("Alternate address: Address"), |
| 62 |
"B_address2" => __("Alternate address: Address 2"), |
| 63 |
"B_city" => __("Alternate address: City"), |
| 64 |
"B_state" => __("Alternate address: State"), |
| 65 |
"B_zipcode" => __("Alternate address: ZIP/Postal code"), |
| 66 |
"B_country" => __("Alternate address: Country"), |
| 67 |
"B_phone" => __("Alternate address: Phone"), |
| 68 |
"B_email" => __("Alternate address: Email"), |
| 69 |
"contactnote" => __("Alternate contact: Note"), |
| 70 |
"altcontactfirstname" => __("Alternate contact: First name"), |
| 71 |
"altcontactsurname" => __("Alternate contact: Surname"), |
| 72 |
"altcontactaddress1" => __("Alternate contact: Address"), |
| 73 |
"altcontactaddress2" => __("Alternate contact: Address 2"), |
| 74 |
"altcontactaddress3" => __("Alternate contact: City"), |
| 75 |
"contactname" => __("Alternate contact: Surname"), |
| 76 |
"contactfirstname" => __("Alternate contact: First name"), |
| 77 |
"contacttitle" => __("Alternate contact: Title"), |
| 78 |
"altcontactstate" => __("Alternate contact: State"), |
| 79 |
"altcontactzipcode" => __("Alternate contact: ZIP/Postal code"), |
| 80 |
"altcontactcountry" => __("Alternate contact: Country"), |
| 81 |
"altcontactphone" => __("Alternate contact: Phone"), |
| 82 |
"cardnumber" => __("Card number"), |
| 83 |
"branchcode" => __("Home library"), |
| 84 |
"categorycode" => __("Patron category"), |
| 85 |
"sort1" => __("Sort 1"), |
| 86 |
"sort2" => __("Sort 2"), |
| 87 |
"dateenrolled" => __("Registration date"), |
| 88 |
"dateexpiry" => __("Expiry date"), |
| 89 |
"opacnote" => __("OPAC note"), |
| 90 |
"borrowernotes" => __("Circulation note"), |
| 91 |
"userid" => __("Username"), |
| 92 |
"password" => __("Password"), |
| 93 |
"flags" => __("System permissions"), |
| 94 |
"gonenoaddress" => __("Gone no address flag"), |
| 95 |
"lost" => __("Lost card flag"), |
| 96 |
"debarred" => __("Restricted [until] flag"), |
| 97 |
"debarredcomment" => __("Comment"), |
| 98 |
"smsalertnumber" => __("Mobile phone number"), |
| 99 |
"privacy" => __("Privacy settings"), |
| 100 |
}, |
| 101 |
items => { |
| 102 |
"itemnumber" => __("Item number (internal)"), |
| 103 |
"biblionumber" => __("Biblio number (internal)"), |
| 104 |
"biblioitemnumber" => __("Biblioitem number (internal)"), |
| 105 |
"barcode" => __("Barcode"), |
| 106 |
"dateaccessioned" => __("Date acquired"), |
| 107 |
"booksellerid" => __("Source of acquisition"), |
| 108 |
"homebranch" => __("Permanent library"), |
| 109 |
"price" => __("Price"), |
| 110 |
"replacementprice" => __("Replacement price"), |
| 111 |
"replacementpricedate" => __("Price effective from"), |
| 112 |
"datelastborrowed" => __("Date last checked out"), |
| 113 |
"datelastseen" => __("Date last seen"), |
| 114 |
"stack" => __("Shelving control number"), |
| 115 |
"onloan" => __("Due date"), |
| 116 |
"cn_source" => __("Source of classification / shelving scheme"), |
| 117 |
"cn_sort" => __("Koha normalized classification for sorting"), |
| 118 |
"notforloan" => __("Not for loan"), |
| 119 |
"itemlost" => __("Lost status"), |
| 120 |
"itemlost_on" => __("Lost on"), |
| 121 |
"withdrawn" => __("Withdrawn status"), |
| 122 |
"withdrawn_on" => __("Withdrawn on"), |
| 123 |
"itemcallnumber" => __("Call number"), |
| 124 |
"issues" => __("Total checkouts"), |
| 125 |
"renewals" => __("Total renewals"), |
| 126 |
"reserves" => __("Total holds"), |
| 127 |
"restricted" => __("Use restrictions"), |
| 128 |
"itemnotes" => __("Public note"), |
| 129 |
"itemnotes_nonpublic" => __("Internal note"), |
| 130 |
"holdingbranch" => __("Current library"), |
| 131 |
"timestamp" => __("Timestamp"), |
| 132 |
"location" => __("Shelving location"), |
| 133 |
"permanent_location" => __("Permanent shelving location"), |
| 134 |
"ccode" => __("Collection code"), |
| 135 |
"itype" => __("Koha itemtype"), |
| 136 |
"stocknumber" => __("Inventory number"), |
| 137 |
"damaged" => __("Damaged status"), |
| 138 |
"damaged_on" => __("Damaged on"), |
| 139 |
"materials" => __("Materials specified"), |
| 140 |
"uri" => __("Uniform Resource Identifier"), |
| 141 |
"more_subfields_xml" => __("Additional subfields (XML)"), |
| 142 |
"enumchron" => __("Serial enumeraton/chronology"), |
| 143 |
"copynumber" => __("Copy number"), |
| 144 |
"new_status" => __("New status"), |
| 145 |
}, |
| 146 |
statistics => { |
| 147 |
"datetime" => __("Statistics date and time"), |
| 148 |
"branch" => __("Library"), |
| 149 |
"value" => __("Value"), |
| 150 |
"type" => __("Type"), |
| 151 |
"other" => __(""), |
| 152 |
"itemnumber" => __("Item number"), |
| 153 |
"itemtype" => __("Itemtype"), |
| 154 |
"borrowernumber" => __("Borrower number"), |
| 155 |
}, |
| 156 |
biblio => { |
| 157 |
"frameworkcode" => __("Framework code"), |
| 158 |
"author" => __("Author"), |
| 159 |
"datecreated" => __("Creation date"), |
| 160 |
"timestamp" => __("Modification date"), |
| 161 |
}, |
| 162 |
biblioitems => { |
| 163 |
"biblioitemnumber" => __("Biblioitem number"), |
| 164 |
"biblionumber" => __("Biblio number"), |
| 165 |
"volume" => __("Volume number"), |
| 166 |
"number" => __("Number"), |
| 167 |
"classification" => __("Classification"), |
| 168 |
"itemtype" => __("Biblio-level item type"), |
| 169 |
"isbn" => __("ISBN"), |
| 170 |
"issn" => __("ISSN"), |
| 171 |
"dewey" => __("Dewey/classification"), |
| 172 |
"subclass" => __("Sub classification"), |
| 173 |
"publicationyear" => __("Publication date"), |
| 174 |
"publishercode" => __("Publisher"), |
| 175 |
"volumedate" => __("Volume date"), |
| 176 |
"volumedesc" => __("Volume information"), |
| 177 |
"timestamp" => __("Timestamp"), |
| 178 |
"illus" => __("Illustrations"), |
| 179 |
"pages" => __("Number of pages"), |
| 180 |
"notes" => __("Notes"), |
| 181 |
"size" => __("Size"), |
| 182 |
"place" => __("Place of publication"), |
| 183 |
"lccn" => __("LCCN"), |
| 184 |
"agerestriction" => __("Age restriction"), |
| 185 |
"url" => __("URL"), |
| 186 |
"title" => __("Title"), |
| 187 |
}, |
| 188 |
subscription => { |
| 189 |
"startdate" => __("Start date"), |
| 190 |
"enddate" => __("End date"), |
| 191 |
"periodicity" => __("Periodicity"), |
| 192 |
"callnumber" => __("Call number"), |
| 193 |
"location" => __("Location"), |
| 194 |
"branchcode" => __("Library"), |
| 195 |
}, |
| 196 |
suggestions=> { |
| 197 |
"author" => __("author"), |
| 198 |
"copyrightdate" => __("copyrightdate"), |
| 199 |
"isbn" => __("isbn"), |
| 200 |
"publishercode" => __("publishercode"), |
| 201 |
"collectiontitle" => __("collectiontitle"), |
| 202 |
"place" => __("place"), |
| 203 |
"quantity" => __("quantity"), |
| 204 |
"itemtype" => __("itemtype"), |
| 205 |
"branchcode" => __("branchcode"), |
| 206 |
"patronreason" => __("patronreason"), |
| 207 |
"note" => __("note"), |
| 208 |
} |
| 209 |
}; |
| 210 |
} |
| 211 |
|
| 212 |
1; |