Kyle M Hall
109334102f
This patch adds the ability to set an unlimited number of guarantors for a given patron. As before, each guarantor may be linked to another Koha patron, and all the behavior that applies to a given guarantor remains the same. Test Plan: 1) Apply this patch 2) Run updatedatabase.pl 3) Find some patrons with guarantors, verify the still have their guarantor 4) Test adding and removing guarantors on a patron record, both Koha users and not 5) Verify the "Add child" button works 6) Verify NoIssuesChargeGuarantees still works 7) Verify tools/cleanborrowers.pl will not delete a guarantor 8) Verify the guarantors are displayed on moremember.pl 9) Verify the guarantor is removed by members/update-child.pl 10) Verify the guarantor is removed by misc/cronjobs/j2a.pl 11) Verify import patrons converts guarantor_id, relationship, contactfirstname, and contactsurname into a guarantor 12) prove t/Patron.t 13) prove t/db_dependent/Circulation.t 14) prove t/db_dependent/Circulation/NoIssuesChargeGuarantees.t 15) prove t/db_dependent/Items.t 16) prove t/db_dependent/Koha/Patrons.t 17) prove t/db_dependent/Members.t 18) prove t/db_dependent/Patron/Relationships.t Signed-off-by: Kim Peine <kmpeine@gmail.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Agustin Moyano <agustinmoyano@theke.io> Signed-off-by: Liz Rea <wizzyrea@gmail.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
148 lines
8.4 KiB
Modula-2
148 lines
8.4 KiB
Modula-2
<field name="borrowers.borrowernumber">Borrower number</field>
|
|
<field name="borrowers.title">Salutation</field>
|
|
<field name="borrowers.surname">Surname</field>
|
|
<field name="borrowers.firstname">First name</field>
|
|
<field name="borrowers.dateofbirth">Date of birth</field>
|
|
<field name="borrowers.initials">Initials</field>
|
|
<field name="borrowers.othernames">Other name</field>
|
|
<field name="borrowers.sex">Gender</field>
|
|
<field name="borrowers.relationship">Relationship</field>
|
|
<field name="borrowers.streetnumber">Street number</field>
|
|
<field name="borrowers.streettype">Street type</field>
|
|
<field name="borrowers.address">Address</field>
|
|
<field name="borrowers.address2">Address 2</field>
|
|
<field name="borrowers.city">City</field>
|
|
<field name="borrowers.state">State</field>
|
|
<field name="borrowers.zipcode">ZIP/Postal code</field>
|
|
<field name="borrowers.country">Country</field>
|
|
<field name="borrowers.phone">Primary phone</field>
|
|
<field name="borrowers.phonepro">Secondary phone</field>
|
|
<field name="borrowers.mobile">Other phone</field>
|
|
<field name="borrowers.email">Primary email</field>
|
|
<field name="borrowers.emailpro">Secondary email</field>
|
|
<field name="borrowers.fax">Fax</field>
|
|
<field name="borrowers.B_streetnumber">Alternate address: Street number</field>
|
|
<field name="borrowers.B_streettype">Alternate address: Street type</field>
|
|
<field name="borrowers.B_address">Alternate address: Address</field>
|
|
<field name="borrowers.B_address2">Alternate address: Address 2</field>
|
|
<field name="borrowers.B_city">Alternate address: City</field>
|
|
<field name="borrowers.B_state">Alternate address: State</field>
|
|
<field name="borrowers.B_zipcode">Alternate address: ZIP/Postal code</field>
|
|
<field name="borrowers.B_country">Alternate address: Country</field>
|
|
<field name="borrowers.B_phone">Alternate address: Phone</field>
|
|
<field name="borrowers.B_email">Alternate address: Email</field>
|
|
<field name="borrowers.contactnote">Alternate contact: Note</field>
|
|
<field name="borrowers.altcontactfirstname">Alternate contact: First name</field>
|
|
<field name="borrowers.altcontactsurname">Alternate contact: Surname</field>
|
|
<field name="borrowers.altcontactaddress1">Alternate contact: Address</field>
|
|
<field name="borrowers.altcontactaddress2">Alternate contact: Address 2</field>
|
|
<field name="borrowers.altcontactaddress3">Alternate contact: City</field>
|
|
<field name="borrowers.contactname">Alternate contact: Surname</field>
|
|
<field name="borrowers.contactfirstname">Alternate contact: First name</field>
|
|
<field name="borrowers.contacttitle">Alternate contact: Title</field>
|
|
<field name="borrowers.altcontactstate">Alternate contact: State</field>
|
|
<field name="borrowers.altcontactzipcode">Alternate contact: ZIP/Postal code</field>
|
|
<field name="borrowers.altcontactcountry">Alternate contact: Country</field>
|
|
<field name="borrowers.altcontactphone">Alternate contact: Phone</field>
|
|
<field name="borrowers.cardnumber">Card number</field>
|
|
<field name="borrowers.branchcode">Home library</field>
|
|
<field name="borrowers.categorycode">Patron category</field>
|
|
<field name="borrowers.sort1">Sort 1</field>
|
|
<field name="borrowers.sort2">Sort 2</field>
|
|
<field name="borrowers.dateenrolled">Registration date</field>
|
|
<field name="borrowers.dateexpiry">Expiry date</field>
|
|
<field name="borrowers.opacnote">OPAC note</field>
|
|
<field name="borrowers.borrowernotes">Circulation note</field>
|
|
<field name="borrowers.userid">Username</field>
|
|
<field name="borrowers.password">Password</field>
|
|
<field name="borrowers.flags">System permissions</field>
|
|
<field name="borrowers.gonenoaddress">Gone no address flag</field>
|
|
<field name="borrowers.lost">Lost card flag</field>
|
|
<field name="borrowers.debarred">Restricted [until] flag</field>
|
|
<field name="borrowers.debarredcomment">Comment</field>
|
|
<field name="borrowers.smsalertnumber">Mobile phone number</field>
|
|
<field name="borrowers.privacy">Privacy settings</field>
|
|
<field name="items.itemnumber">Item number (internal)</field>
|
|
<field name="items.biblionumber">Biblio number (internal)</field>
|
|
<field name="items.biblioitemnumber">Biblioitem number (internal)</field>
|
|
<field name="items.barcode">Barcode</field>
|
|
<field name="items.dateaccessioned">Date acquired</field>
|
|
<field name="items.booksellerid">Source of acquisition</field>
|
|
<field name="items.homebranch">Permanent library</field>
|
|
<field name="items.price">Price</field>
|
|
<field name="items.replacementprice">Replacement price</field>
|
|
<field name="items.replacementpricedate">Price effective from</field>
|
|
<field name="items.datelastborrowed">Date last checked out</field>
|
|
<field name="items.datelastseen">Date last seen</field>
|
|
<field name="items.stack">Shelving control number</field>
|
|
<field name="items.onloan">Due date</field>
|
|
<field name="items.cn_source">Source of classification / shelving scheme</field>
|
|
<field name="items.cn_sort">Koha normalized classification for sorting</field>
|
|
<field name="items.notforloan">Not for loan</field>
|
|
<field name="items.itemlost">Lost status</field>
|
|
<field name="items.itemlost_on">Lost on</field>
|
|
<field name="items.withdrawn">Withdrawn status</field>
|
|
<field name="items.withdrawn_on">Withdrawn on</field>
|
|
<field name="items.itemcallnumber">Call number</field>
|
|
<field name="items.issues">Total checkouts</field>
|
|
<field name="items.renewals">Total renewals</field>
|
|
<field name="items.reserves">Total holds</field>
|
|
<field name="items.restricted">Use restrictions</field>
|
|
<field name="items.itemnotes">Public note</field>
|
|
<field name="items.itemnotes_nonpublic">Internal note</field>
|
|
<field name="items.holdingbranch">Current library</field>
|
|
<field name="items.timestamp">Timestamp</field>
|
|
<field name="items.location">Shelving location</field>
|
|
<field name="items.permanent_location">Permanent shelving location</field>
|
|
<field name="items.ccode">Collection code</field>
|
|
<field name="items.itype">Koha itemtype</field>
|
|
<field name="items.stocknumber">Inventory number</field>
|
|
<field name="items.damaged">Damaged status</field>
|
|
<field name="items.damaged_on">Damaged on</field>
|
|
<field name="items.materials">Materials specified</field>
|
|
<field name="items.uri">Uniform Resource Identifier</field>
|
|
<field name="items.more_subfields_xml">Additional subfields (XML)</field>
|
|
<field name="items.enumchron">Serial enumeraton/chronology</field>
|
|
<field name="items.copynumber">Copy number</field>
|
|
<field name="statistics.datetime">Statistics date and time</field>
|
|
<field name="statistics.branch">Library</field>
|
|
<field name="statistics.value">Value</field>
|
|
<field name="statistics.type">Type</field>
|
|
<field name="statistics.other"></field>
|
|
<field name="statistics.itemnumber">Item number</field>
|
|
<field name="statistics.itemtype">Itemtype</field>
|
|
<field name="statistics.borrowernumber">Borrower number</field>
|
|
<field name="biblio.frameworkcode">Framework code</field>
|
|
<field name="biblio.author">Author</field>
|
|
<field name="biblio.datecreated">Creation date</field>
|
|
<field name="biblio.timestamp">Modification date</field>
|
|
<field name="biblioitems.biblioitemnumber">Biblioitem number</field>
|
|
<field name="biblioitems.biblionumber">Biblio number</field>
|
|
<field name="biblioitems.volume">Volume number</field>
|
|
<field name="biblioitems.number">Number</field>
|
|
<field name="biblioitems.classification">Classification</field>
|
|
<field name="biblioitems.itemtype">Biblio-level item type</field>
|
|
<field name="biblioitems.isbn">ISBN</field>
|
|
<field name="biblioitems.issn">ISSN</field>
|
|
<field name="biblioitems.dewey">Dewey/classification</field>
|
|
<field name="biblioitems.subclass">Sub classification</field>
|
|
<field name="biblioitems.publicationyear">Publication date</field>
|
|
<field name="biblioitems.publishercode">Publisher</field>
|
|
<field name="biblioitems.volumedate">Volume date</field>
|
|
<field name="biblioitems.volumedesc">Volume information</field>
|
|
<field name="biblioitems.timestamp">Timestamp</field>
|
|
<field name="biblioitems.illus">Illustrations</field>
|
|
<field name="biblioitems.pages">Number of pages</field>
|
|
<field name="biblioitems.notes">Notes</field>
|
|
<field name="biblioitems.size">Size</field>
|
|
<field name="biblioitems.place">Place of publication</field>
|
|
<field name="biblioitems.lccn">LCCN</field>
|
|
<field name="biblioitems.agerestriction">Age restriction</field>
|
|
<field name="biblioitems.url">URL</field>
|
|
<field name="biblioitems.title">Title</field>
|
|
<field name="subscription.startdate">Start date</field>
|
|
<field name="subscription.enddate">End date</field>
|
|
<field name="subscription.periodicity">Periodicity</field>
|
|
<field name="subscription.callnumber">Call number</field>
|
|
<field name="subscription.location">Location</field>
|
|
<field name="subscription.branchcode">Library</field>
|