[%- BLOCK patron_fields -%]
[%- SWITCH name -%]
[%- CASE 'standard' -%]Standard
[%- CASE 'borrowernumber' -%]Borrowernumber
[%- CASE 'cardnumber' -%]Card number
[%- CASE 'surname' -%]Surname
[%- CASE 'firstname' -%]First name
[%- CASE 'title' -%]Salutation
[%- CASE 'othernames' -%]Other name
[%- CASE 'initials' -%]Initials
[%- CASE 'streetnumber' -%]Street number
[%- CASE 'streettype' -%]Street type
[%- CASE 'address' -%]Address
[%- CASE 'address2' -%]Address 2
[%- CASE 'city' -%]City
[%- CASE 'state' -%]State
[%- CASE 'zipcode' -%]ZIP/Postal code
[%- CASE 'country' -%]Country
[%- CASE 'email' -%]Primary email
[%- CASE 'phone' -%]Primary phone
[%- CASE 'mobile' -%]Mobile phone
[%- CASE 'fax' -%]Fax
[%- CASE 'emailpro' -%]Secondary email
[%- CASE 'phonepro' -%]Secondary phone
[%- CASE 'B_streetnumber' -%]Alternate street number
[%- CASE 'B_streettype' -%]Alternate street type
[%- CASE 'B_address' -%]Alternate address
[%- CASE 'B_address2' -%]Alternate address line 2
[%- CASE 'B_city' -%]Alternate city
[%- CASE 'B_state' -%]Alternate state
[%- CASE 'B_zipcode' -%]Alternate zip code
[%- CASE 'B_country' -%]Alternate Country
[%- CASE 'B_email' -%]Alternate email
[%- CASE 'B_phone' -%]Alternate phone
[%- CASE 'dateofbirth' -%]Date of birth
[%- CASE 'branchcode' -%]Library (code)
[%- CASE 'categorycode' -%]Category (code)
[%- CASE 'dateenrolled' -%]Registration date
[%- CASE 'dateexpiry' -%]Expiry date
[%- CASE 'gonenoaddress' -%]Gone no address
[%- CASE 'lost' -%]Lost card
[%- CASE 'debarred' -%]Restricted
[%- CASE 'debarredcomment' -%]Restriction reason
[%- CASE 'contactname' -%]Guarantor surname
[%- CASE 'contactfirstname' -%]Guarantor firstname
[%- CASE 'contacttitle' -%]Guarantor title
[%- CASE 'guarantorid' -%]Guarantor ID
[%- CASE 'borrowernotes' -%]Circulation note
[%- CASE 'relationship' -%]Guarantor relationship
[%- CASE 'sex' -%]Gender
[%- CASE 'flags' -%]Permissions (code)
[%- CASE 'userid' -%]Username
[%- CASE 'opacnote' -%]OPAC note
[%- CASE 'contactnote' -%]Contact note
[%- CASE 'sort1' -%]Sort 1
[%- CASE 'sort2' -%]Sort 2
[%- CASE 'altcontactfirstname' -%]Alternate contact first name
[%- CASE 'altcontactsurname' -%]Alternate contact surname
[%- CASE 'altcontactaddress1' -%]Alternate contact address
[%- CASE 'altcontactaddress2' -%]Alternate contact address 2
[%- CASE 'altcontactaddress3' -%]Alternate contact city
[%- CASE 'altcontactstate' -%]Alternate contact state
[%- CASE 'altcontactzipcode' -%]Alternate contact ZIP/postal code
[%- CASE 'altcontactcountry' -%]Alternate contact country
[%- CASE 'altcontactphone' -%]Alternate contact phone
[%- CASE 'smsalertnumber' -%]SMS alert number
[%- CASE 'sms_provider_id' -%]SMS provider
[%- CASE 'privacy' -%]Privacy (code)
[%- CASE 'privacy_guarantor_checkouts' -%]Guarantor can view checkouts
[%- CASE 'updated_on' -%]Last updated
[%- CASE 'lastseen' -%]Last seen
[%- CASE 'checkprevcheckout' -%]Check previous checkout
[%- CASE DEFAULT -%]
[%- END -%]
[%- END -%]