X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=koha-tmpl%2Fintranet-tmpl%2Fprog%2Fen%2Fmodules%2Fmembers%2Fmembers-update.tt;h=47a5a07889f869fe1e1e79bc9b3ff40404c584a1;hb=1fcdef312be42c673d4ae017e3abe7722aba6048;hp=0e907d715e5dd1d49f69db7526315c5fb13a0e5c;hpb=1e35ea33b0a467aa063e169ab77c70a58e8cbc2a;p=koha.git
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/members-update.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/members-update.tt
index 0e907d715e..47a5a07889 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/members-update.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/members-update.tt
@@ -1,3 +1,6 @@
+[% USE Branches %]
+[% USE Categories %]
+[% USE KohaDates %]
[% INCLUDE 'doc-head-open.inc' %]
Koha › Patrons › Update patron records
[% INCLUDE 'doc-head-close.inc' %]
@@ -13,6 +16,7 @@
[% BLOCK display_names %]
[% SWITCH field %]
+[% CASE 'branchcode' %]Home library (branchcode)
[% CASE 'surname' %]Surname
[% CASE 'firstname' %]First name
[% CASE 'title' %]Title
@@ -24,11 +28,11 @@
[% CASE 'address2' %]Address 2
[% CASE 'city' %]City
[% CASE 'state' %]State
-[% CASE 'zipcode' %]Zip code
+[% CASE 'zipcode' %]ZIP/Postal code
[% CASE 'country' %]Country
[% CASE 'email' %]Email
-[% CASE 'phone' %]Primary Phone
-[% CASE 'mobile' %]Primary Mobile Phone
+[% CASE 'phone' %]Primary phone
+[% CASE 'mobile' %]Other phone
[% CASE 'fax' %]Fax
[% CASE 'emailpro' %]Secondary email
[% CASE 'phonepro' %]Secondary phone
@@ -38,7 +42,7 @@
[% CASE 'B_address2' %]Alternate address: Address 2
[% CASE 'B_city' %]Alternate address: City
[% CASE 'B_state' %]Alternate address: State
-[% CASE 'B_zipcode' %]Alternate address: Zip/postal code
+[% CASE 'B_zipcode' %]Alternate address: ZIP/Postal code
[% CASE 'B_email' %]Alternate address: Email
[% CASE 'B_phone' %]Alternate address: Phone
[% CASE 'contactnote' %]Alternate address: Contact note
@@ -47,8 +51,6 @@
[% CASE 'contactfirstname' %]Contact: First name
[% CASE 'contacttitle' %]Contact: Title
[% CASE 'relationship' %]Contact: Relationship
-[% CASE 'ethnicity' %]Ethnicity
-[% CASE 'ethnotes' %]Ethnicity notes
[% CASE 'sex' %]Sex
[% CASE 'altcontactfirstname' %]Alternate contact: First name
[% CASE 'altcontactsurname' %]Alternate contact: Surname
@@ -56,7 +58,7 @@
[% CASE 'altcontactaddress2' %]Alternate contact: Address 2
[% CASE 'altcontactaddress3' %]Alternate contact: City
[% CASE 'altcontactstate' %]Alternate contact: State
-[% CASE 'altcontactzipcode' %]Alternate contact: Zip code
+[% CASE 'altcontactzipcode' %]Alternate contact: ZIP/Postal code
[% CASE 'altcontactcountry' %]Alternate contact: Country
[% CASE 'altcontactphone' %]Alternate contact: Phone
[% CASE 'smsalertnumber' %]SMS alert number
@@ -77,7 +79,7 @@
[% FOREACH pm IN PendingModifications %]
[% SET borrowernumber = pm.borrowernumber %]
-
+
Field |
- From |
- To |
+ Old value |
+ New value |
@@ -102,8 +105,13 @@
[% IF ( ( pm.$key OR borrowers.$borrowernumber.$key ) && ( pm.$key != borrowers.$borrowernumber.$key ) ) %]
[% PROCESS display_names field = key %] |
- [% borrowers.$borrowernumber.$key %] |
- [% pm.$key %] |
+ [% IF ( key == "dateofbirth" ) %]
+ [% borrowers.$borrowernumber.$key | $KohaDates %] |
+ [% pm.$key | $KohaDates %] |
+ [% ELSE %]
+ [% borrowers.$borrowernumber.$key %] |
+ [% pm.$key %] |
+ [% END %]
[% END %]
[% END %]