@@ -, +, @@ --- admin/columns_settings.yml | 29 +++++ .../intranet-tmpl/prog/en/includes/circ-menu.inc | 5 + .../prog/en/modules/members/holdshistory.tt | 135 +++++++++++++++++++++ members/holdshistory.pl | 96 +++++++++++++++ 4 files changed, 265 insertions(+) create mode 100644 koha-tmpl/intranet-tmpl/prog/en/modules/members/holdshistory.tt create mode 100644 members/holdshistory.pl --- a/admin/columns_settings.yml +++ a/admin/columns_settings.yml @@ -255,6 +255,35 @@ modules: cannot_be_toggled: 1 cannot_be_modified: 1 + holdshistory: + holdshistory-table: + - + columnname: title + cannot_be_toggled: 1 + cannot_be_modified: 1 + - + columnname: author + - + columnname: barcode + - + columnname: branch + - + columnname: reservedate + - + columnname: notificationdate + - + columnname: reminderdate + - + columnname: expirationdate + - + columnname: waitingdate + - + columnname: cancellationdate + - + columnname: itemtype + - + columnname: status + reports: lostitems: lostitems-table: --- a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc +++ a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc @@ -88,6 +88,11 @@ [% IF ( readingrecordview ) %]
Title | +Author | +Barcode | +Library | +Reserve date | +Notification date | +Reminder date | +Expiration date | +Waiting date | +Cancellation date | +Item type | +Status | + + + [% FOREACH hold IN holds %] +[% hold.biblio.title |html %] | +[% hold.biblio.author %] | +[% hold.item.barcode %] | +[% Branches.GetName( hold.branchcode ) %] | +[% hold.reservedate | $KohaDates %] | ++ [% IF hold.notificationdate %] + [% hold.notificationdate | $KohaDates %] + [% ELSE %] + + [% END %] + | ++ [% IF hold.reminderdate %] + [% hold.reminderdate | $KohaDates %] + [% ELSE %] + + [% END %] + | ++ [% IF hold.expirationdate %] + [% hold.expirationdate | $KohaDates %] + [% ELSE %] + + [% END %] + | ++ [% IF hold.waitingdate %] + [% hold.waitingdate | $KohaDates %] + [% ELSE %] + + [% END %] + | ++ [% IF hold.cancellationdate %] + [% hold.cancellationdate | $KohaDates %] + [% ELSE %] + + [% END %] + | +[% hold.itemtype %] | ++ [% IF hold.found == 'W' %] + Waiting + [% ELSIF hold.found == 'T' %] + In transit + [% ELSIF hold.cancellationdate %] + Cancelled + [% ELSE %] + In queue + [% END %] + | + + [% END %] + +
---|