X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=koha-tmpl%2Fintranet-tmpl%2Fprog%2Fen%2Fmodules%2Ftools%2Fmodborrowers.tt;h=982e1af1eadc65541c36c18c48711d7019f6ac56;hb=0f516c7efbad8b29f70dd950f4fe6b5f01e7abee;hp=62d2eb3449ac4cc399eabb31b502e2099aea202a;hpb=b764c1ee81728ce5007b89e28b8703742d202375;p=koha.git diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt index 62d2eb3449..982e1af1ea 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt @@ -1,30 +1,41 @@ +[% USE Koha %] [% USE KohaDates %] +[% USE Branches %] [% INCLUDE 'doc-head-open.inc'%] Koha › Tools › Batch patron modification [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'calendar.inc' %] - - - + [% INCLUDE 'header.inc' %] [% INCLUDE 'cat-search.inc' %] @@ -123,11 +147,29 @@

Batch patron modification

- Use a file -
    -
  1. -
+ Use a file +
    +
  1. +
+
+ + [% IF patron_lists %] +
+ Or use a patron list +
    +
  1. + + +
  2. +
+ [% END %] +
Or list cardnumbers one by one
    @@ -145,6 +187,17 @@ [% END %] + [% IF ( op == 'show') && (!borrowers) && (!notfoundcardnumbers) # Alert if no patrons given%] + [% op = 'noshow' # Change op to prevent display in code below %] +

    Batch patrons modification

    +
    +

    No patron card numbers given.

    +
    + +
    +
    + [% END #Alert if no patrons %] + [% IF ( op == 'show' or op == 'show_results' ) %] [% IF ( op == 'show' ) %]

    Batch patrons modification

    @@ -168,11 +221,14 @@ [% IF ( op == 'show_results' ) %] [% IF ( errors ) %]
    -

    Errors occured:

    +

    Errors occurred:

      [% FOREACH error IN errors %] [% IF ( error.error == 'can_not_update' ) %] -
    • Can not update patron with borrowernumber [% error.borrowernumber %]
    • +
    • Can not update patron. + [% IF ( error.cardnumber ) %] Cardnumber: [% error.cardnumber %] [% END %] + (Borrowernumber: [% error.borrowernumber %]) +
    • [% ELSE %]
    • [% error.error %]
    • [% END %] @@ -186,7 +242,7 @@
      [% IF ( borrowers ) %] - + [% END %] [% END %] [% IF borrowers %] @@ -200,12 +256,17 @@ [% END %] Card number Surname - Firstname + First name Library Category - Registration date - Expiry date - Restricted + City + State + ZIP/Postal code + Country + Registration date + Expiry date + Circulation note + Opac Note [% FOREACH attrh IN attributes_header %] [% attrh.attribute %] [% END %] @@ -220,11 +281,16 @@ [% borrower.cardnumber %] [% borrower.surname %] [% borrower.firstname %] - [% borrower.branchname %] + [% Branches.GetName( borrower.branchcode ) %] [% borrower.categorycode %] - [% borrower.dateenrolled | $KohaDates %] - [% borrower.dateexpiry | $KohaDates %] - [% borrower.debarred | $KohaDates %] + [% borrower.city %] + [% borrower.state %] + [% borrower.zipcode %] + [% borrower.country %] + [% borrower.dateenrolled | $KohaDates %] + [% borrower.dateexpiry | $KohaDates %] + [% borrower.borrowernotes %] + [% borrower.opacnote %] [% FOREACH pa IN borrower.patron_attributes %] [% IF ( pa.code ) %] [% pa.code %]=[% pa.value %] @@ -241,8 +307,8 @@ [% IF ( op == 'show' ) %]
      -

      Edit Patrons

      -
      Checking the box right next the label will disable the entry and delete the values of that field on all selected patrons
      +

      Edit patrons

      +
      Checking the box right next to the label will disable the entry and delete the values of that field on all selected patrons
        [% FOREACH field IN fields %] @@ -261,6 +327,14 @@ Library: [% CASE 'categorycode' %] Category + [% CASE 'city' %] + City + [% CASE 'state' %] + State + [% CASE 'zipcode' %] + ZIP/Postal code + [% CASE 'country' %] + Country [% CASE 'sort1' %] Sort 1: [% CASE 'sort2' %] @@ -269,16 +343,14 @@ Registration date: [% CASE 'dateexpiry' %] Expiry date: - [% CASE 'debarred' %] - Restricted: - [% CASE 'debarredcomment' %] - Restriction comment: [% CASE 'borrowernotes' %] Circulation note: + [% CASE 'opacnote' %] + OPAC note: [% END %] [% IF field.mandatory %] - + [% ELSE %] [% END %] @@ -297,9 +369,12 @@ [% END %] [% END %] [% IF ( field.type == 'date' ) %] - - Clear - [% END %] + + Clear + [% END %] + [% IF field.mandatory %] + Required fields cannot be cleared + [% END %] [% END %] [% IF ( patron_attributes_codes ) %] @@ -313,7 +388,7 @@ - New + New [% END %] @@ -339,7 +414,4 @@ [% INCLUDE 'tools-menu.inc' %]
    - - - - +[% INCLUDE 'intranet-bottom.inc' %]