Skip to content

Commit a6783bb

Browse files
committed
'ERROR' requests can now be 'requested from IncDocs'
This is to provide staff members the ability to fix whatever error occurred, and then request from IncDocs again. Some examples of errors: - Library email is empty - Configured template notice not found
1 parent 6e32d01 commit a6783bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Koha/Plugin/Com/PTFSEurope/IncDocs.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1021,7 +1021,7 @@ sub status_graph {
10211021
name => 'Request error',
10221022
ui_method_name => 0,
10231023
method => 0,
1024-
next_actions => [ 'COMP', 'EDITITEM', 'MIG', 'KILL' ],
1024+
next_actions => [ 'REQ', 'COMP', 'EDITITEM', 'MIG', 'KILL' ],
10251025
ui_method_icon => 0,
10261026
},
10271027
STAT => {
@@ -1046,7 +1046,7 @@ sub status_graph {
10461046
# Override REQ so we can rename the button
10471047
# Talk about a sledgehammer to crack a nut
10481048
REQ => {
1049-
prev_actions => [ 'NEW', 'QUEUED', 'CANCREQ', 'REQREV' ],
1049+
prev_actions => [ 'NEW', 'QUEUED', 'CANCREQ', 'REQREV', 'ERROR' ],
10501050
id => 'REQ',
10511051
name => 'Requested',
10521052
ui_method_name => 'Request from IncDocs',

0 commit comments

Comments
 (0)