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=8f33fe6674dde8ec7f0cb2fbbfe2309752fdf3e7;hpb=715c52977a8d4a25cc91aabd22224c66956c6f33;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 8f33fe6674..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,28 +1,45 @@ +[% USE Koha %] [% USE KohaDates %] +[% USE Branches %] [% INCLUDE 'doc-head-open.inc'%] -Koha › Tools › [% IF ( del ) %]Batch item deletion[% ELSE %]Batch item modification[% END %] +Koha › Tools › Batch patron modification [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'calendar.inc' %] - - - + [% INCLUDE 'header.inc' %] [% INCLUDE 'cat-search.inc' %]
@@ -114,17 +144,37 @@
[% IF ( op == 'show_form' ) %] -

Batch patrons modification

+

Batch patron modification

- Use a file - + Use a file +
    +
  1. +
+
+ + [% IF patron_lists %] +
+ Or use a patron list +
    +
  1. + + +
  2. +
+ [% END %] +
Or list cardnumbers one by one
  1. - +
@@ -137,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

@@ -159,27 +220,32 @@ [% IF ( op == 'show_results' ) %] [% IF ( errors ) %] - Errors occured : +
+

Errors occurred:

    [% FOREACH error IN errors %] [% IF ( error.error == 'can_not_update' ) %] -
  • Can not update borrower with borrowernumber [% error.borrowernumber %]
  • +
  • Can not update patron. + [% IF ( error.cardnumber ) %] Cardnumber: [% error.cardnumber %] [% END %] + (Borrowernumber: [% error.borrowernumber %]) +
  • [% ELSE %]
  • [% error.error %]
  • [% END %] [% END %]
+
[% END %] -
[% END %] [% IF ( op == 'show' ) %]
[% IF ( borrowers ) %] - + [% END %] [% END %] + [% IF borrowers %]
@@ -188,14 +254,19 @@ [% IF ( op == 'show' ) %] [% END %] + - - - - - - - + + + + + + + + + + + [% FOREACH attrh IN attributes_header %] [% END %] @@ -207,14 +278,19 @@ [% IF ( op == 'show' ) %] [% END %] + - + - - - - + + + + + + + + [% FOREACH pa IN borrower.patron_attributes %] [% IF ( pa.code ) %] @@ -231,13 +307,17 @@ [% 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 %]
  1. -
  2. [% END %] [% IF ( patron_attributes_codes ) %]
  3. -
  4. [% END %]
@@ -312,10 +401,12 @@
[% END %] + [% END %] [% END %] [% IF ( op == 'show_results' ) %] -
- new Batch patrons modification +

+ New batch patron modification +

[% END %] @@ -323,7 +414,4 @@ [% INCLUDE 'tools-menu.inc' %] - - - - +[% INCLUDE 'intranet-bottom.inc' %]
 Card number SurnameFirstnameBranchnameCategorycodeCardnumberdateenrolleddateexpirydebarredFirst nameLibraryCategoryCityStateZIP/Postal codeCountryRegistration dateExpiry dateCirculation noteOpac Note[% attrh.attribute %][% borrower.cardnumber %] [% borrower.surname %] [% borrower.firstname %][% borrower.branchname %][% Branches.GetName( borrower.branchcode ) %] [% borrower.categorycode %][% borrower.cardnumber %][% 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 %][% pa.code %]=[% pa.value %]