@@ -, +, @@ - Go to Tools -> Batch patron modification - Submit a set of patrons for modification - In the table showing patron records which will be modified, confirm that all DataTables controls work correctly. - Confirm that the column visibility settings work correctly, including the controls for extended patron attribute columns. - Submit a change to your patron batch. - On the page showing the results, confirm that the DataTables controls continue to work as expected. - Go to Administraion -> Table settings and confirm that making changes to the default configuration for this table (Tools -> batch_patron_modification -> borrowerst) results in the correct default columns being shown on the batch patron modification pages. --- admin/columns_settings.yml | 50 ++++++++++++++++++++++ .../prog/en/modules/tools/modborrowers.tt | 43 ++++++++++++------- 2 files changed, 77 insertions(+), 16 deletions(-) --- a/admin/columns_settings.yml +++ a/admin/columns_settings.yml @@ -1432,6 +1432,56 @@ modules: columnname: spent tools: + batch_patron_modification: + borrowerst: + columns: + - + columnname: batch_patron_edit_selections + cannot_be_toggled: 1 + cannot_be_modified: 1 + - + columnname: batch_patron_edit_cardnumber + - + columnname: batch_patron_edit_surname + - + columnname: batch_patron_edit_firstname + - + columnname: batch_patron_edit_branchcode + - + columnname: batch_patron_edit_categorycode + - + columnname: batch_patron_edit_streetnumber + - + columnname: batch_patron_edit_address + - + columnname: batch_patron_edit_address2 + - + columnname: batch_patron_edit_city + - + columnname: batch_patron_edit_state + - + columnname: batch_patron_edit_zipcode + - + columnname: batch_patron_edit_country + - + columnname: batch_patron_edit_email + - + columnname: batch_patron_edit_phone + - + columnname: batch_patron_edit_mobile + - + columnname: batch_patron_edit_dateenrolled + - + columnname: batch_patron_edit_dateexpiry + - + columnname: batch_patron_edit_borrowernotes + - + columnname: batch_patron_edit_opacnote + - + columnname: batch_patron_edit_debarred + - + columnname: batch_patron_edit_debarredcomment + logviewer: logst: columns: --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt @@ -4,6 +4,7 @@ [% USE KohaDates %] [% USE Branches %] [% USE Categories %] +[% USE TablesSettings %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] Koha › Tools › Batch patron modification @@ -134,7 +135,9 @@ [% IF ( op == 'show' ) %] -   +   + [% ELSE %] +   [% END %] Card number Surname @@ -166,8 +169,12 @@ [% FOREACH borrower IN borrowers %] [% IF ( op == 'show' ) %] - + + [% ELSE %] + [% END %] + + [% borrower.cardnumber | html %] [% borrower.surname | html %] [% borrower.firstname | html %] @@ -336,26 +343,30 @@ [% MACRO jsinclude BLOCK %] [% INCLUDE 'calendar.inc' %] [% INCLUDE 'datatables.inc' %] + [% INCLUDE 'columns_settings.inc' %] [% Asset.js("js/tools-menu.js") | $raw %]