From 8e5f562ded60d6dbaed706e7ddcd0ed9e5a9343f Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 4 Apr 2018 17:50:48 +0000 Subject: [PATCH] Bug 20520: Re-indent moremember.tt This patch reindents the template for the patron detail page, moremember.tt: - Trailing spaces removed - Indentation changed to a consistent 4 spaces - Markup indentation made more consistent To test, view the patron detail page. There should be no visible difference before and after the applying the patch. HTML validation before and after the patch should return the same results. Signed-off-by: Mark Tompsett Signed-off-by: Katrin Fischer Signed-off-by: Nick Clemens Signed-off-by: Martin Renvoize --- .../prog/en/modules/members/moremember.tt | 1244 ++++++++++------- 1 file changed, 725 insertions(+), 519 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt index 6e809919ca..cac919f1dd 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt @@ -7,548 +7,754 @@ [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] Koha › Patrons › -[% UNLESS blocking_error %] - Patron details for [% INCLUDE 'patron-title.inc' no_html = 1 %] -[% END %] + [% UNLESS blocking_error %] + Patron details for [% INCLUDE 'patron-title.inc' no_html = 1 %] + [% END %] [% INCLUDE 'doc-head-close.inc' %] [% Asset.css("css/datatables.css") %] -[% INCLUDE 'header.inc' %] -[% INCLUDE 'patron-search.inc' %] - - - -
- -
-
-
- -[% INCLUDE 'members-toolbar.inc' %] - -[% IF ( error ) %] -
- [% IF ( error == 'CANT_DELETE_STAFF' ) %] -

Unable to delete staff user

-

Insufficient privileges.

- [% END %] - [% IF ( error == 'CANT_DELETE_YOURSELF' ) %] -

Not allowed to delete own account

-

Deleting your own account would lock you out of Koha.

- [% END %] - [% IF ( error == 'CANT_DELETE_OTHERLIBRARY' ) %] -

Unable to delete patrons from other libraries with current settings

-

Insufficient privileges.

- [% END %] - [% IF ( error == 'CANT_DELETE' ) %] -

Unable to delete patron

-

Insufficient privileges.

- [% END %] -
-[% END %] -
- - [% IF ( was_renewed ) %]
Patron's account has been renewed until [% patron.dateexpiry | $KohaDates %]
[% END %] + [% INCLUDE 'header.inc' %] + [% INCLUDE 'patron-search.inc' %] - [% IF fines %] -
-
    - [% INCLUDE 'blocked-fines.inc' %] -
+ - [% END %] - [% IF ( patron_messages ) %] -
-

Messages:

-
    - [% FOREACH patron_message IN patron_messages %] -
  • - [% IF(patron_message.message_type == "L") %] - - [% ELSE %] - - [% END %] - [% patron_message.message_date | $KohaDates %] - [% Branches.GetName( patron_message.branchcode ) %] - [% IF patron_message.manager_id %] - ( [% patron_message.get_column('manager_firstname') %] [% patron_message.get_column('manager_surname') %] ) +
    +
    +
    +
    + + [% INCLUDE 'members-toolbar.inc' %] + + [% IF ( error ) %] +
    + [% IF ( error == 'CANT_DELETE_STAFF' ) %] +

    Unable to delete staff user

    +

    Insufficient privileges.

    + [% END %] + [% IF ( error == 'CANT_DELETE_YOURSELF' ) %] +

    Not allowed to delete own account

    +

    Deleting your own account would lock you out of Koha.

    + [% END %] + [% IF ( error == 'CANT_DELETE_OTHERLIBRARY' ) %] +

    Unable to delete patrons from other libraries with current settings

    +

    Insufficient privileges.

    + [% END %] + [% IF ( error == 'CANT_DELETE' ) %] +

    Unable to delete patron

    +

    Insufficient privileges.

    [% END %] - "[% patron_message.message | html %]" - - [% IF patron_message.branchcode == branchcode OR Koha.Preference('AllowAllMessageDeletion') %] - Delete +
    + [% END %] + +
    + + [% IF ( was_renewed ) %] +
    + Patron's account has been renewed until [% patron.dateexpiry | $KohaDates %] +
    [% END %] -
  • - [% END %] -
- Add a new message -
- [% END %] - [% IF ( flagged ) %] -
-
    - [% IF ( userdebarred ) %] -
  • Patron's account is restricted - [% IF ( userdebarreddate ) %] - until [% userdebarreddate %] - [% END %] - - [% IF ( debarredcomment ) %] - with the explanation: - [% IF debarredcomment.search('OVERDUES_PROCESS') %] - Restriction added by overdues process [% debarredcomment.remove('OVERDUES_PROCESS ') | html_line_break %] - [% ELSE %] - [% debarredcomment | html_line_break %] - [% END %] - - [% END %] - View restrictions -
  • - [% END %] - [% IF ( patron.gonenoaddress ) %]
  • Patron's address is in doubt.
  • [% END %] - [% IF ( lost ) %]
  • Patron's card has been reported lost.
  • [% END %] -
-
- [% END %] -

[% UNLESS ( I ) %] - [% patron.title | html %] [% patron.firstname | html %] [% END %] [% patron.surname | html %] ([% patron.cardnumber | html %])

-
-
- - [% IF ( patron.othernames ) %]“[% patron.othernames | html %]”[% END %] - -
- [% IF Koha.Preference( 'AddressFormat' ) %] - [% INCLUDE "member-display-address-style-${ Koha.Preference( 'AddressFormat' ) }.inc" %] - [% ELSE %] - [% INCLUDE 'member-display-address-style-us.inc' %] - [% END %] -
- -
-
    - [% IF ( patron.phone ) %]
  1. Primary phone: [% patron.phone | html %]
  2. [% END %] - [% IF ( patron.phonepro ) %]
  3. Secondary phone: [% patron.phonepro | html %]
  4. [% END %] - [% IF ( patron.mobile ) %]
  5. Other phone: [% patron.mobile | html %]
  6. [% END %] - [% IF ( patron.fax ) %]
  7. Fax: [% patron.fax |html %]
  8. [% END %] - [% IF ( patron.email ) %][% END %] - [% IF ( patron.emailpro ) %][% END %] - [% UNLESS ( I ) %] - [% IF ( patron.initials ) %]
  9. Initials: [% patron.initials | html %]
  10. [% END %] - [% IF ( patron.dateofbirth ) %]
  11. Date of birth:[% patron.dateofbirth | $KohaDates %] ([% age %] years)
  12. [% END %] - [% IF ( patron.sex ) %]
  13. Gender: - [% IF ( patron.sex == 'F' ) %]Female[% ELSIF ( patron.sex == 'M' ) %]Male[% ELSE %][% patron.sex %][% END %] -
  14. [% END %] - [% END %] - [% IF guarantees %] -
  15. - Guarantees: -
      - [% FOREACH guarantee IN guarantees %] - [% IF logged_in_user.can_see_patron_infos( guarantee ) %] -
    • [% guarantee.firstname | html %] [% guarantee.surname | html %]
    • - [% ELSE %] -
    • [% guarantee.firstname | html %] [% guarantee.surname | html %]
    • + [% IF fines %] +
      +
        + [% INCLUDE 'blocked-fines.inc' %] +
      +
      [% END %] - [% END %] -
    -
  16. - [% ELSIF guarantor %] -
  17. - Guarantor: - [% IF guarantor.borrowernumber AND logged_in_user.can_see_patron_infos( guarantor ) %] - [% guarantor.firstname | html %] [% guarantor.surname | html %] - [% ELSE %] - [% guarantor.firstname | html %] [% guarantor.surname | html %] - [% END %] -
  18. - [% END %] -
-
-
- [% IF ( guarantor.borrowernumber ) %] - Edit - [% ELSE %] - Edit - [% END %]
- -
- - - -
-[% IF ( patronimages ) %] - [% IF ( CAN_user_tools_batch_upload_patron_images ) %] -
-
- [% IF ( patron.image ) %] - Manage patron image -
To update the image for [% patron.title | html %] [% patron.surname | html %], select a new image file and click 'Upload.'
Click the 'Delete' button to remove the current image. - [% ELSE %] - Upload patron image -
[% patron.title %] [% patron.firstname | html %] [% patron.surname | html %] does not currently have an image available. To import an image for [% patron.title %] [% patron.surname | html %], enter the name of an image file to upload. - [% END %] -
Only PNG, GIF, JPEG, XPM formats are supported. -
- - - -
    -
  1. - -
  2. -
-
- - - - [% IF ( patron.image ) %]Delete[% END %] -
-
-
- [% END %] -[% END %] -
- - - -[% IF Koha.Preference('HouseboundModule') %] -
-

Housebound roles

-
-
    -
  1. - Chooser: - [% IF ( housebound_role.housebound_chooser == 1 ) %] - Yes - [% ELSE %] - No - [% END %] -
  2. -
  3. - Deliverer: - [% IF ( housebound_role.housebound_deliverer == 1 ) %] - Yes - [% ELSE %] - No - [% END %] -
  4. -
-
-
- -[% END %] -[% IF ( ExtendedPatronAttributes ) %] -[% UNLESS ( no_patron_attribute_types ) %] -
-

Additional attributes and identifiers

-[% FOREACH attribute IN attributes_loop %] - [% IF attribute.class %] -
- [% ELSE %] -
- [% END %] -

[% attribute.lib %]

-
    - [% FOREACH item IN attribute.items %] -
  1. - [% item.description %]: - [% IF ( item.value_description ) %] - [% item.value_description %] - [% ELSE %] - [% item.value| html_line_break %] - [% END %] -
  2. - [% END %] -
-
-[% END %] -
- -[% END %] -[% END %] + [% IF ( patron_messages ) %] +
+

Messages:

+
    + [% FOREACH patron_message IN patron_messages %] +
  • + [% IF(patron_message.message_type == "L") %] + + [% ELSE %] + + [% END %] + [% patron_message.message_date | $KohaDates %] + [% Branches.GetName( patron_message.branchcode ) %] + [% IF patron_message.manager_id %] + ( [% patron_message.get_column('manager_firstname') %] [% patron_message.get_column('manager_surname') %] ) + [% END %] + "[% patron_message.message | html %]" + + [% IF patron_message.branchcode == branchcode OR Koha.Preference('AllowAllMessageDeletion') %] + Delete + [% END %] +
  • + [% END %] +
+ Add a new message +
+ [% END %] + + [% IF ( flagged ) %] +
+
    + [% IF ( userdebarred ) %] +
  • Patron's account is restricted + [% IF ( userdebarreddate ) %] + until [% userdebarreddate %] + [% END %] + + [% IF ( debarredcomment ) %] + with the explanation: + [% IF debarredcomment.search('OVERDUES_PROCESS') %] + Restriction added by overdues process [% debarredcomment.remove('OVERDUES_PROCESS ') | html_line_break %] + [% ELSE %] + [% debarredcomment | html_line_break %] + [% END %] + + [% END %] + View restrictions +
  • + [% END %] + [% IF ( patron.gonenoaddress ) %] +
  • Patron's address is in doubt.
  • + [% END %] + [% IF ( lost ) %] +
  • Patron's card has been reported lost.
  • + [% END %] +
+
+ [% END %] +

+ [% UNLESS ( I ) %] + [% patron.title | html %] [% patron.firstname | html %] + [% END %] + [% patron.surname | html %] ([% patron.cardnumber | html %]) +

+
+ +
+ [% IF ( patron.othernames ) %]“[% patron.othernames | html %]”[% END %] + +
+ [% IF Koha.Preference( 'AddressFormat' ) %] + [% INCLUDE "member-display-address-style-${ Koha.Preference( 'AddressFormat' ) }.inc" %] + [% ELSE %] + [% INCLUDE 'member-display-address-style-us.inc' %] + [% END %] +
+ +
+
    + [% IF ( patron.phone ) %] +
  1. + Primary phone: + [% patron.phone | html %] +
  2. + [% END %] + [% IF ( patron.phonepro ) %] +
  3. + Secondary phone: + [% patron.phonepro | html %] +
  4. + [% END %] + [% IF ( patron.mobile ) %] +
  5. + Other phone: + [% patron.mobile | html %] +
  6. + [% END %] + [% IF ( patron.fax ) %] +
  7. + Fax: + [% patron.fax |html %] +
  8. + [% END %] + [% IF ( patron.email ) %] + + [% END %] + [% IF ( patron.emailpro ) %] + + [% END %] + [% UNLESS ( I ) %] + [% IF ( patron.initials ) %] +
  9. + Initials: + [% patron.initials | html %] +
  10. + [% END %] + [% IF ( patron.dateofbirth ) %] +
  11. + Date of birth: + [% patron.dateofbirth | $KohaDates %] ([% age %] years) +
  12. + [% END %] + [% IF ( patron.sex ) %] +
  13. + Gender: + [% IF ( patron.sex == 'F' ) %]Female[% ELSIF ( patron.sex == 'M' ) %]Male[% ELSE %][% patron.sex %][% END %] +
  14. + [% END %] + [% END %] + [% IF guarantees %] +
  15. + Guarantees: + +
  16. + [% ELSIF guarantor %] +
  17. + Guarantor: + [% IF guarantor.borrowernumber AND logged_in_user.can_see_patron_infos( guarantor ) %] + [% guarantor.firstname | html %] [% guarantor.surname | html %] + [% ELSE %] + [% guarantor.firstname | html %] [% guarantor.surname | html %] + [% END %] +
  18. + [% END %] +
+
[% # /div.rows %] +
+ [% IF ( guarantor.borrowernumber ) %] + Edit + [% ELSE %] + Edit + [% END %] +
+ +
[% # /div#patron-information %] + + [% IF ( patronimages ) %] + [% IF ( CAN_user_tools_batch_upload_patron_images ) %] +
+
+
+ [% IF ( patron.image ) %] + Manage patron image +
To update the image for [% patron.title | html %] [% patron.surname | html %], select a new image file and click 'Upload.'
Click the 'Delete' button to remove the current image. + [% ELSE %] + Upload patron image +
[% patron.title %] [% patron.firstname | html %] [% patron.surname | html %] does not currently have an image available. To import an image for [% patron.title %] [% patron.surname | html %], enter the name of an image file to upload. + [% END %] +
Only PNG, GIF, JPEG, XPM formats are supported. +
+ + + +
    +
  1. + + +
  2. +
+
+ + + + [% IF ( patron.image ) %] + Delete + [% END %] +
+
+
+
[% # /div#manage-patron-image %] + [% END %] + [% END %] -[% IF ( EnhancedMessagingPreferences ) %] -
-

Patron messaging preferences

-[% INCLUDE 'messaging-preference-form.inc' %] - [% IF ( SMSSendDriver ) %] - - [% END %] -
- -[% END %] + [% IF Koha.Preference('HouseboundModule') %] +
+

Housebound roles

+
+
    +
  1. + Chooser: + [% IF ( housebound_role.housebound_chooser == 1 ) %] + Yes + [% ELSE %] + No + [% END %] +
  2. +
  3. + Deliverer: + [% IF ( housebound_role.housebound_deliverer == 1 ) %] + Yes + [% ELSE %] + No + [% END %] +
  4. +
+
+
+
+ Edit +
+ [% END %] -
-
-
-

Library use

-
-
    -
  1. Card number: [% patron.cardnumber %]
  2. -
  3. Borrowernumber: [% patron.borrowernumber %]
  4. -
  5. Category: [% patron.category.description %] ([% patron.categorycode %])
  6. -
  7. Registration date: [% patron.dateenrolled | $KohaDates %]
  8. - [% IF ( patron.date_renewed ) %] -
  9. Renewal date: [% patron.date_renewed | $KohaDates %]
  10. - [% END %] -
  11. Expiration date: - [% IF ( was_renewed ) %] - [% patron.dateexpiry | $KohaDates %] - [% ELSE %] - [% patron.dateexpiry | $KohaDates %] - [% END %] -
  12. - -
  13. Library: [% branchname %]
  14. - - [% IF ( OPACPrivacy ) %]
  15. Privacy Pref: - [% IF ( privacy0 ) %]Forever[% END %] - [% IF ( privacy1 ) %]Default[% END %] - [% IF ( privacy2 ) %]Never[% END %] -
  16. [% END %] - -
  17. - Show checkouts to guarantor - [% IF privacy_guarantor_checkouts %] - Yes - [% ELSE %] - No - [% END %] -
  18. - - [% IF ( patron.sort1 ) %]
  19. Sort field 1:[% AuthorisedValues.GetByCode('Bsort1', patron.sort1) |html %]
  20. [% END %] - [% IF ( patron.sort2 ) %]
  21. Sort field 2:[% AuthorisedValues.GetByCode('Bsort2', patron.sort2) |html %]
  22. [% END %] -
  23. Username: [% patron.userid |html %]
  24. -
  25. Password: - [% IF ( patron.password ) %] - ******* - [% ELSE %] - Undefined - [% END %] -
  26. - [% IF ( patron.borrowernotes ) %]
  27. Circulation note: [% patron.borrowernotes |html %]
  28. [% END %] - [% IF ( patron.opacnote ) %]
  29. OPAC note:[% patron.opacnote |html %]
  30. [% END %] - [% IF Koha.Preference( 'NorwegianPatronDBEnable' ) == 1 %] - [% IF ( sync == 1 ) %] -
  31. Activate sync: Yes
  32. - [% IF ( syncstatus ) %]
  33. Sync status: [% syncstatus %]
  34. [% END %] - [% IF ( lastsync ) %]
  35. Last sync: [% lastsync | $KohaDates %]
  36. [% END %] - [% ELSE %] -
  37. Activate sync: No
  38. - [% END %] - [% END %] - [% IF ( Koha.Preference('CheckPrevCheckout') == 'softyes' || Koha.Preference('CheckPrevCheckout') == 'softno' ) %] -
  39. Check previous checkouts: - [% IF ( patron.checkprevcheckout == 'yes' ) %] - Yes - [% ELSIF ( patron.checkprevcheckout == 'no' ) %] - No - [% ELSE %] - Inherited - [% END %] -
  40. - [% END %] - [% IF Koha.Preference('TranslateNotices') %] -
  41. - Preferred language for notices: - [% translated_language %] -
  42. - [% END %] -
-
-
- - -
-

Alternate address

- - [% IF Koha.Preference( 'AddressFormat' ) %] - [% INCLUDE "member-display-alt-address-style-${ Koha.Preference( 'AddressFormat' ) }.inc" %] - [% ELSE %] - [% INCLUDE 'member-display-alt-address-style-us.inc' %] - [% END %] + [% IF ( ExtendedPatronAttributes ) %] + [% UNLESS ( no_patron_attribute_types ) %] +
+

Additional attributes and identifiers

+ [% FOREACH attribute IN attributes_loop %] + [% IF attribute.class %] +
+ [% ELSE %] +
+ [% END %] +

[% attribute.lib %]

+
    + [% FOREACH item IN attribute.items %] +
  1. + [% item.description %]: + [% IF ( item.value_description ) %] + [% item.value_description %] + [% ELSE %] + [% item.value| html_line_break %] + [% END %] +
  2. + [% END %] +
+
+ [% END %] +
+
+ Edit +
+ [% END %] + [% END %] -
    - [% IF ( patron.B_phone ) %]
  1. Phone: [% patron.B_phone |html %]
  2. [% END %] - [% IF ( patron.B_email ) %][% END %] - [% IF ( patron.contactnote ) %]
  3. Contact note: [% patron.contactnote |html %]
  4. [% END %] -
-
-
- - -
-

Alternative contact

-
  1. Surname: [% patron.altcontactsurname | html %]
  2. -
  3. First name: [% patron.altcontactfirstname | html %]
  4. -
  5. Address: [% patron.altcontactaddress1 | html %]
  6. -
  7. Address 2: [% patron.altcontactaddress2 | html %]
  8. -
  9. City: [% patron.altcontactaddress3 | html %]
  10. - [% IF ( patron.altcontactstate ) %]
  11. State: [% patron.altcontactstate | html %]
  12. [% END %] -
  13. ZIP/Postal code: [% patron.altcontactzipcode | html %]
  14. - [% IF ( patron.altcontactcountry ) %]
  15. Country: [% patron.altcontactcountry | html %]
  16. [% END %] - [% IF ( patron.altcontactphone ) %]
  17. Phone: [% patron.altcontactphone | html %]
  18. [% END %] -
-
- - -
-
-
- - -[% INCLUDE "checkouts-table.inc" %] - -[% IF ( relatives_issues_count ) %] -
- - - - - - - - - - - - - - - - - -
Due date hidden not formattedDue dateTitleItem typeLocationChecked out onChecked out fromCall noChargeFinePricePatron
-
-[% END %] + [% IF ( EnhancedMessagingPreferences ) %] +
+

Patron messaging preferences

+ [% INCLUDE 'messaging-preference-form.inc' %] + [% IF ( SMSSendDriver ) %] +
+
    +
  1. + SMS number: + [% patron.smsalertnumber %] +
  2. +
+
+ [% END %] +
+
+ Edit +
+ [% END %] -
- [% IF ( totaldue_raw ) %] -

Total due: [% totaldue %]

- [% ELSE %] -

No outstanding charges

- [% END %] -
+
[% # /div.yui-u.first %] + +
+
+

Library use

+
+
    +
  1. + Card number: + [% patron.cardnumber %] +
  2. +
  3. + Borrowernumber: + [% patron.borrowernumber %] +
  4. +
  5. + Category: + [% patron.category.description %] ([% patron.categorycode %]) +
  6. +
  7. + Registration date: + [% patron.dateenrolled | $KohaDates %] +
  8. + + [% IF ( patron.date_renewed ) %] +
  9. + Renewal date: + [% patron.date_renewed | $KohaDates %] +
  10. + [% END %] + +
  11. + Expiration date: + [% IF ( was_renewed ) %] + [% patron.dateexpiry | $KohaDates %] + [% ELSE %] + [% patron.dateexpiry | $KohaDates %] + [% END %] +
  12. +
  13. + Library: + [% branchname %] +
  14. + + [% IF ( OPACPrivacy ) %] +
  15. + Privacy Pref: + [% IF ( privacy0 ) %]Forever[% END %] + [% IF ( privacy1 ) %]Default[% END %] + [% IF ( privacy2 ) %]Never[% END %] +
  16. + [% END %] + +
  17. + Show checkouts to guarantor + [% IF privacy_guarantor_checkouts %] + Yes + [% ELSE %] + No + [% END %] +
  18. + + [% IF ( patron.sort1 ) %] +
  19. + Sort field 1: + [% AuthorisedValues.GetByCode('Bsort1', patron.sort1) |html %] +
  20. + [% END %] + [% IF ( patron.sort2 ) %] +
  21. + Sort field 2: + [% AuthorisedValues.GetByCode('Bsort2', patron.sort2) |html %] +
  22. + [% END %] +
  23. + Username: + [% patron.userid |html %] +
  24. +
  25. + Password: + [% IF ( patron.password ) %] + ******* + [% ELSE %] + Undefined + [% END %] +
  26. + + [% IF ( patron.borrowernotes ) %] +
  27. + Circulation note: + [% patron.borrowernotes |html %] +
  28. + [% END %] + + [% IF ( patron.opacnote ) %] +
  29. + OPAC note: + [% patron.opacnote |html %] +
  30. + [% END %] + + [% IF Koha.Preference( 'NorwegianPatronDBEnable' ) == 1 %] + [% IF ( sync == 1 ) %] +
  31. + Activate sync: + Yes +
  32. + [% IF ( syncstatus ) %] +
  33. + Sync status: + [% syncstatus %] +
  34. + [% END %] + [% IF ( lastsync ) %] +
  35. + Last sync: + [% lastsync | $KohaDates %] +
  36. + [% END %] + [% ELSE %] +
  37. + Activate sync: + No +
  38. + [% END %] + [% END %] + + [% IF ( Koha.Preference('CheckPrevCheckout') == 'softyes' || Koha.Preference('CheckPrevCheckout') == 'softno' ) %] +
  39. + Check previous checkouts: + [% IF ( patron.checkprevcheckout == 'yes' ) %] + Yes + [% ELSIF ( patron.checkprevcheckout == 'no' ) %] + No + [% ELSE %] + Inherited + [% END %] +
  40. + [% END %] + + [% IF Koha.Preference('TranslateNotices') %] +
  41. + Preferred language for notices: + [% translated_language %] +
  42. + [% END %] +
+
[% # /div.rows %] +
[% # /div#patron-library-details %] +
+ Edit +
+ +
+

Alternate address

+ + [% IF Koha.Preference( 'AddressFormat' ) %] + [% INCLUDE "member-display-alt-address-style-${ Koha.Preference( 'AddressFormat' ) }.inc" %] + [% ELSE %] + [% INCLUDE 'member-display-alt-address-style-us.inc' %] + [% END %] + +
+
    + [% IF ( patron.B_phone ) %] +
  1. + Phone: + [% patron.B_phone |html %] +
  2. + [% END %] + [% IF ( patron.B_email ) %] + + [% END %] + [% IF ( patron.contactnote ) %] +
  3. + Contact note: + [% patron.contactnote |html %] +
  4. + [% END %] +
+
+
[% # /div#patron-alternate-address %] +
+ Edit +
+ +
+

Alternative contact

+
+
    +
  1. + Surname: + [% patron.altcontactsurname | html %] +
  2. +
  3. + First name: + [% patron.altcontactfirstname | html %] +
  4. +
  5. + Address: + [% patron.altcontactaddress1 | html %] +
  6. +
  7. + Address 2: + [% patron.altcontactaddress2 | html %] +
  8. +
  9. + City: + [% patron.altcontactaddress3 | html %] +
  10. + + [% IF ( patron.altcontactstate ) %] +
  11. + State: + [% patron.altcontactstate | html %] +
  12. + [% END %] + +
  13. + ZIP/Postal code: + [% patron.altcontactzipcode | html %] +
  14. + [% IF ( patron.altcontactcountry ) %] +
  15. + Country: + [% patron.altcontactcountry | html %] +
  16. + [% END %] + [% IF ( patron.altcontactphone ) %] +
  17. + Phone: + [% patron.altcontactphone | html %] +
  18. + [% END %] +
+
[% # /div.rows %] +
[% # /div#patron-alternative-contact %] +
+ Edit +
+
[% # /div.yui-u %] +
[% # /div.yui-g %] + +
+ + + [% INCLUDE "checkouts-table.inc" %] + + [% IF ( relatives_issues_count ) %] +
+ + + + + + + + + + + + + + + + + +
Due date hidden not formattedDue dateTitleItem typeLocationChecked out onChecked out fromCall noChargeFinePricePatron
+
+ [% END %] -[% IF CAN_user_clubs && ( enrollments.count || enrollable.count ) %] -
- Loading... -
-[% END %] +
+ [% IF ( totaldue_raw ) %] +

Total due: [% totaldue %]

+ [% ELSE %] +

No outstanding charges

+ [% END %] +
-[% INCLUDE borrower_debarments.inc %] - -[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %] -
-[% IF ( holds_count ) %] -
- - - - - - - - - - - - - - - -
Hold dateTitleCall numberBarcodePickup atExpirationPriorityDelete?Suspend?
- -
- -
-
- - [% IF Koha.Preference('SuspendHoldsIntranet') %] -
-
- - - - - [% IF Koha.Preference('AutoResumeSuspendedHolds') %] - - - Specify date on which to resume [% INCLUDE 'date-format.inc' %]: - [% END %] -
-
- -
-
- - - - -
-
- [% END # IF SuspendHoldsIntranet %] - - [% ELSE %]

Patron has nothing on hold.

[% END %] -
-[% END %] + [% IF CAN_user_clubs && ( enrollments.count || enrollable.count ) %] +
+ Loading... +
+ [% END %] -[% IF Koha.Preference('ArticleRequests') %] - [% INCLUDE 'patron-article-requests.inc' %] -[% END %] + [% INCLUDE borrower_debarments.inc %] + + [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %] +
+ [% IF ( holds_count ) %] +
+ + + + + + + + + + + + + + + +
Hold dateTitleCall numberBarcodePickup atExpirationPriorityDelete?Suspend?
+ +
+ +
+
+ + [% IF Koha.Preference('SuspendHoldsIntranet') %] +
+
+ + + + + [% IF Koha.Preference('AutoResumeSuspendedHolds') %] + + + Specify date on which to resume [% INCLUDE 'date-format.inc' %]: + [% END %] +
+
+ +
+
+ + + + +
+
+ [% END # IF SuspendHoldsIntranet %] + + [% ELSE %] +

Patron has nothing on hold.

+ [% END %] +
[% # /div#reserves %] + [% END %] + + [% IF Koha.Preference('ArticleRequests') %] + [% INCLUDE 'patron-article-requests.inc' %] + [% END %] -
+
[% # /div#finesholdsissues %] +
[% # /div.yui-b %] +
[% # /div#yui-main %] -
-
-
-[% INCLUDE 'circ-menu.inc' %] -
-
+
+ [% INCLUDE 'circ-menu.inc' %] +
+
[% # /div#bd %] [% MACRO jsinclude BLOCK %] [% INCLUDE 'datatables.inc' %] @@ -564,7 +770,7 @@ [% Asset.js("js/holds.js") %] [% Asset.js("js/members-menu.js") %] [% Asset.js("js/messaging-preference-form.js") %] -