From c3d5694c01fc4b87620ccd931529af86c13f9049 Mon Sep 17 00:00:00 2001 From: Pedro Amorim Date: Mon, 1 Apr 2024 13:12:24 +0000 Subject: [PATCH] Bug 36118: Compatibility work Make use of the enhancements coming from Bug 36118 --- .../intra-includes/log/reprints_desk_migrate_in.tt | 7 ++++--- .../intra-includes/log/reprints_desk_request_failed.tt | 7 ++++--- .../log/reprints_desk_request_order_updated.tt | 7 ++++--- .../intra-includes/log/reprints_desk_request_succeeded.tt | 7 ++++--- 4 files changed, 16 insertions(+), 12 deletions(-) diff --git a/Koha/Plugin/Com/PTFSEurope/ReprintsDesk/intra-includes/log/reprints_desk_migrate_in.tt b/Koha/Plugin/Com/PTFSEurope/ReprintsDesk/intra-includes/log/reprints_desk_migrate_in.tt index 4e87694..5e8746b 100644 --- a/Koha/Plugin/Com/PTFSEurope/ReprintsDesk/intra-includes/log/reprints_desk_migrate_in.tt +++ b/Koha/Plugin/Com/PTFSEurope/ReprintsDesk/intra-includes/log/reprints_desk_migrate_in.tt @@ -1,4 +1,5 @@ -

-[% log.timestamp | $KohaDates with_hours => 1 %] : Switched provider +[% USE KohaDates %] +[% PROCESS 'ill-request-log.inc' %] +[% WRAPPER ill_request_log action_label = 'Switched provider ' %] from "[% log.info.migrated_from %]" to "[% log.info.migrated_to %]" -

\ No newline at end of file +[% END %] \ No newline at end of file diff --git a/Koha/Plugin/Com/PTFSEurope/ReprintsDesk/intra-includes/log/reprints_desk_request_failed.tt b/Koha/Plugin/Com/PTFSEurope/ReprintsDesk/intra-includes/log/reprints_desk_request_failed.tt index 8e22510..ac6871c 100644 --- a/Koha/Plugin/Com/PTFSEurope/ReprintsDesk/intra-includes/log/reprints_desk_request_failed.tt +++ b/Koha/Plugin/Com/PTFSEurope/ReprintsDesk/intra-includes/log/reprints_desk_request_failed.tt @@ -1,4 +1,5 @@ -

-[% log.timestamp | $KohaDates with_hours => 1 %] : ReprintsDesk request failed +[% USE KohaDates %] +[% PROCESS 'ill-request-log.inc' %] +[% WRAPPER ill_request_log action_label = 'ReprintsDesk request failed ' %] received response "[% log.info.response.replace('\n', ', ') | html %]" -

+[% END %] \ No newline at end of file diff --git a/Koha/Plugin/Com/PTFSEurope/ReprintsDesk/intra-includes/log/reprints_desk_request_order_updated.tt b/Koha/Plugin/Com/PTFSEurope/ReprintsDesk/intra-includes/log/reprints_desk_request_order_updated.tt index 9d574b2..ec22b8b 100644 --- a/Koha/Plugin/Com/PTFSEurope/ReprintsDesk/intra-includes/log/reprints_desk_request_order_updated.tt +++ b/Koha/Plugin/Com/PTFSEurope/ReprintsDesk/intra-includes/log/reprints_desk_request_order_updated.tt @@ -1,4 +1,5 @@ -

-[% log.timestamp | $KohaDates with_hours => 1 %] : ReprintsDesk request order update succeeded +[% USE KohaDates %] +[% PROCESS 'ill-request-log.inc' %] +[% WRAPPER ill_request_log action_label = 'ReprintsDesk request order update succeeded ' %] Metadata: "[% log.info.response.replace('\n', ', ') | html %]" -

+[% END %] \ No newline at end of file diff --git a/Koha/Plugin/Com/PTFSEurope/ReprintsDesk/intra-includes/log/reprints_desk_request_succeeded.tt b/Koha/Plugin/Com/PTFSEurope/ReprintsDesk/intra-includes/log/reprints_desk_request_succeeded.tt index f2b1b34..d1225a9 100644 --- a/Koha/Plugin/Com/PTFSEurope/ReprintsDesk/intra-includes/log/reprints_desk_request_succeeded.tt +++ b/Koha/Plugin/Com/PTFSEurope/ReprintsDesk/intra-includes/log/reprints_desk_request_succeeded.tt @@ -1,3 +1,4 @@ -

-[% log.timestamp | $KohaDates with_hours => 1 %] : ReprintsDesk request succeeded -

+[% USE KohaDates %] +[% PROCESS 'ill-request-log.inc' %] +[% WRAPPER ill_request_log action_label = 'ReprintsDesk request succeeded' %] +[% END %] \ No newline at end of file