diff --git a/admin/columns_settings.yml b/admin/columns_settings.yml index 0c3b904060..368bd08b11 100644 --- a/admin/columns_settings.yml +++ b/admin/columns_settings.yml @@ -2046,31 +2046,7 @@ modules: columnname: suspend - columnname: print_slip - holds_to_modify: - default_display_length: 20 - columns: - - - columnname: checkbox - cannot_be_toggled: 1 - cannot_be_modified: 1 - - - columnname: expiration_date - - - columnname: title - - - columnname: barcode - - - columnname: patron - - - columnname: status - - - columnname: pickup_library - - - columnname: suspended - - - columnname: suspended_until - - - columnname: notes + modified_holds: default_display_length: 20 columns: @@ -2523,6 +2499,35 @@ modules: - columnname: batch_patron_edit_debarredcomment + batch_hold_modification: + holds_to_modify: + default_display_length: 20 + columns: + - + columnname: batch_hold_edit_selections + cannot_be_toggled: 1 + cannot_be_modified: 1 + - + columnname: batch_hold_edit_hold_date + - + columnname: batch_hold_edit_expiration_date + - + columnname: batch_hold_edit_title + - + columnname: batch_hold_edit_barcode + - + columnname: batch_hold_edit_patron + - + columnname: batch_hold_edit_status + - + columnname: batch_hold_edit_hold_pickup_library + - + columnname: batch_hold_edit_suspended + - + columnname: batch_hold_edit_suspended_until + - + columnname: batch_hold_edit_note + logviewer: logst: default_display_length: 20 diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_modify_holds.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_modify_holds.tt index 4850a8a01a..21953f3fae 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_modify_holds.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_modify_holds.tt @@ -8,9 +8,11 @@ [% USE TablesSettings %] [% USE To %] [% PROCESS 'html_helpers.inc' %] - +[% PROCESS 'i18n.inc' %] [% INCLUDE 'doc-head-open.inc' %] -Batch modify holds › Tools › Koha +[% FILTER collapse %] + [% t("Batch modify holds") | html %] › [% t("Tools") | html %] › [% t("Koha") | html %] +[% END %] [% INCLUDE 'doc-head-close.inc' %] [% Asset.css("css/humanmsg.css") | $raw %] @@ -25,12 +27,15 @@ [% WRAPPER breadcrumb_item %] Tools [% END %] - [% IF ( view == 'form' || view == 'report' ) %] + [% IF ( view == 'report' ) %] [% WRAPPER breadcrumb_item %] Batch modify holds [% END %] - [% ELSE %] [% WRAPPER breadcrumb_item bc_active= 1 %] + Modified holds + [% END %] + [% ELSE %] + [% WRAPPER breadcrumb_item %] Batch modify holds [% END %] [% END %] @@ -41,8 +46,8 @@
-

Batch modify holds

[% IF view == "cud-form" %] +

Batch modify holds

[% ELSIF view == "report" %] +

Modified holds

@@ -108,12 +114,12 @@ - + - + - + @@ -121,8 +127,8 @@ [% FOREACH hold IN updated_holds_obj %] - - + + @@ -247,6 +253,7 @@ [% INCLUDE 'calendar.inc' %] [% INCLUDE 'datatables.inc' %] [% INCLUDE 'select2.inc' %] + [% INCLUDE 'js-biblio-format.inc' %] [% INCLUDE 'js-patron-format.inc' %] [% Asset.js("lib/jquery/plugins/humanmsg.js") | $raw %]
Title PatronPickup LocationPickup location PriorityExpiration DateExpiration date Status SuspendedSuspended UntilSuspended until Notes
[% hold.biblio.title | html %][% hold.borrower.firstname | html %] [% hold.borrower.surname | html %][% INCLUDE 'biblio-title.inc' biblio=hold.biblio link = 1 %][% INCLUDE 'patron-title.inc' invert_name=1 patron=hold.borrower hide_patron_infos_if_needed=1 link_to="circulation_reserves" %] [% hold.branch.branchname | html %] [% hold.priority | html %] [% hold.expirationdate | $KohaDates %]