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=3a04aa23d59d1e6f0f82783d66c3de56e0356707;hpb=840a907b86c054aa1c216a8cf353b1a9ef3c44fa;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 3a04aa23d5..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,35 +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 'datatables-strings.inc' %] - + +[% INCLUDE 'datatables.inc' %] - + [% INCLUDE 'header.inc' %] [% INCLUDE 'cat-search.inc' %] @@ -128,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
    @@ -150,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

    @@ -173,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 %] @@ -191,7 +242,7 @@
      [% IF ( borrowers ) %] - + [% END %] [% END %] [% IF borrowers %] @@ -205,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 %] @@ -225,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 %] @@ -246,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 %] @@ -266,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' %] @@ -274,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 %] @@ -302,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 ) %] @@ -318,7 +388,7 @@ - New + New [% END %] @@ -344,7 +414,4 @@ [% INCLUDE 'tools-menu.inc' %]
    - - - - +[% INCLUDE 'intranet-bottom.inc' %]