Bug 42397: Add 'ILL_BATCHES' action_logs modulename
Update ILL/Batch.pm and ILL/Batch/Status.pm to utilize this new modulename instead Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Lisette Scheer <lisette@bywatersolutions.com> Signed-off-by: Pedro Amorim <pedro.amorim@openfifth.co.uk>
This commit is contained in:
parent
10e86285a9
commit
0c353be1c1
|
|
@ -108,7 +108,7 @@ sub create_and_log {
|
|||
|
||||
$logger->log_something(
|
||||
{
|
||||
modulename => 'ILL',
|
||||
modulename => 'ILL_BATCHES',
|
||||
actionname => 'batch_create',
|
||||
objectnumber => $self->id,
|
||||
infos => to_json( {} )
|
||||
|
|
@ -144,7 +144,7 @@ sub update_and_log {
|
|||
|
||||
$logger->log_something(
|
||||
{
|
||||
modulename => 'ILL',
|
||||
modulename => 'ILL_BATCHES',
|
||||
actionname => 'batch_update',
|
||||
objectnumber => $self->id,
|
||||
infos => to_json(
|
||||
|
|
@ -172,7 +172,7 @@ sub delete_and_log {
|
|||
|
||||
$logger->log_something(
|
||||
{
|
||||
modulename => 'ILL',
|
||||
modulename => 'ILL_BATCHES',
|
||||
actionname => 'batch_delete',
|
||||
objectnumber => $self->id,
|
||||
infos => to_json( {} )
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ sub create_and_log {
|
|||
|
||||
$logger->log_something(
|
||||
{
|
||||
modulename => 'ILL',
|
||||
modulename => 'ILL_BATCHES',
|
||||
actionname => 'batch_status_create',
|
||||
objectnumber => $self->id,
|
||||
infos => to_json( {} )
|
||||
|
|
@ -94,7 +94,7 @@ sub update_and_log {
|
|||
|
||||
$logger->log_something(
|
||||
{
|
||||
modulename => 'ILL',
|
||||
modulename => 'ILL_BATCHES',
|
||||
actionname => 'batch_status_update',
|
||||
objectnumber => $self->id,
|
||||
infos => to_json(
|
||||
|
|
@ -131,7 +131,7 @@ sub delete_and_log {
|
|||
|
||||
$logger->log_something(
|
||||
{
|
||||
modulename => 'ILL',
|
||||
modulename => 'ILL_BATCHES',
|
||||
actionname => 'batch_status_delete',
|
||||
objectnumber => $self->id,
|
||||
infos => to_json( {} )
|
||||
|
|
|
|||
|
|
@ -20,6 +20,8 @@
|
|||
<span>Holds</span>[% UNLESS Koha.Preference('HoldsLog') %]<i class="log-disabled fa-solid fa-triangle-exclamation" title="Log not enabled" data-log="HoldsLog"></i>[% END %]
|
||||
[% CASE 'ILL' %]
|
||||
<span>Interlibrary loans</span>[% UNLESS Koha.Preference('IllLog') %]<i class="log-disabled fa-solid fa-triangle-exclamation" title="Log not enabled" data-log="IllLog"></i>[% END %]
|
||||
[% CASE 'ILL_BATCHES' %]
|
||||
<span>Interlibrary loan batches</span>[% UNLESS Koha.Preference('IllLog') %]<i class="log-disabled fa-solid fa-triangle-exclamation" title="Log not enabled" data-log="IllLog"></i>[% END %]
|
||||
[% CASE 'CIRCULATION' %]
|
||||
<span>Circulation</span>[% UNLESS Koha.Preference('IssueLog') %]<i class="log-disabled fa-solid fa-triangle-exclamation" title="Log not enabled" data-log="IssueLog"></i>[% END %]
|
||||
[% CASE 'CLAIMS' %]
|
||||
|
|
|
|||
|
|
@ -169,7 +169,7 @@
|
|||
[% ELSE %]
|
||||
<label for="moduleALL" class="viewlog"><input type="checkbox" id="moduleALL" name="modules" value="" /> All</label>
|
||||
[% END %]
|
||||
[% FOREACH modx IN [ 'APIKEYS' 'AUTH' 'CATALOGUING' 'AUTHORITIES' 'MEMBERS' 'ACQUISITIONS' 'SERIAL' 'HOLDS' 'ILL' 'CIRCULATION' 'CLAIMS' 'FINES' 'SYSTEMPREFERENCE' 'CRONJOBS', 'REPORTS', 'SEARCHENGINE', 'NOTICES', 'NEWS', 'RECALLS', 'SUGGESTION', 'TRANSFERS' ] %]
|
||||
[% FOREACH modx IN [ 'APIKEYS' 'AUTH' 'CATALOGUING' 'AUTHORITIES' 'MEMBERS' 'ACQUISITIONS' 'SERIAL' 'HOLDS' 'ILL' 'ILL_BATCHES' 'CIRCULATION' 'CLAIMS' 'FINES' 'SYSTEMPREFERENCE' 'CRONJOBS', 'REPORTS', 'SEARCHENGINE', 'NOTICES', 'NEWS', 'RECALLS', 'SUGGESTION', 'TRANSFERS' ] %]
|
||||
[% IF modules.grep(modx).size %]
|
||||
<label for="module[% modx | html %]" class="viewlog"
|
||||
><input type="checkbox" id="module[% modx | html %]" name="modules" value="[% modx | html %]" checked="checked" /> [% PROCESS translate_log_module module=modx %]</label
|
||||
|
|
|
|||
Loading…
Reference in New Issue