Lines 23-28
use File::Basename qw( dirname );
Link Here
|
23 |
use C4::Installer; |
23 |
use C4::Installer; |
24 |
|
24 |
|
25 |
use Koha::DateUtils qw/ dt_from_string /; |
25 |
use Koha::DateUtils qw/ dt_from_string /; |
|
|
26 |
use Koha::I18N qw(__); |
26 |
use Koha::ILL::Requests; |
27 |
use Koha::ILL::Requests; |
27 |
use Koha::ILL::Request::Attribute; |
28 |
use Koha::ILL::Request::Attribute; |
28 |
use C4::Biblio qw( AddBiblio ); |
29 |
use C4::Biblio qw( AddBiblio ); |
Lines 168-175
sub status_graph {
Link Here
|
168 |
MIG => { |
169 |
MIG => { |
169 |
prev_actions => [ 'NEW', 'REQ', 'GENREQ', 'REQREV', 'QUEUED', 'CANCREQ', ], |
170 |
prev_actions => [ 'NEW', 'REQ', 'GENREQ', 'REQREV', 'QUEUED', 'CANCREQ', ], |
170 |
id => 'MIG', |
171 |
id => 'MIG', |
171 |
name => 'Switched provider', |
172 |
name => __('Switched provider'), |
172 |
ui_method_name => 'Switch provider', |
173 |
ui_method_name => __('Switch provider'), |
173 |
method => 'migrate', |
174 |
method => 'migrate', |
174 |
next_actions => [], |
175 |
next_actions => [], |
175 |
ui_method_icon => 'fa-search', |
176 |
ui_method_icon => 'fa-search', |
Lines 177-184
sub status_graph {
Link Here
|
177 |
EDITITEM => { |
178 |
EDITITEM => { |
178 |
prev_actions => ['NEW'], |
179 |
prev_actions => ['NEW'], |
179 |
id => 'EDITITEM', |
180 |
id => 'EDITITEM', |
180 |
name => 'Edited item metadata', |
181 |
name => __('Edited item metadata'), |
181 |
ui_method_name => 'Edit item metadata', |
182 |
ui_method_name => __('Edit item metadata'), |
182 |
method => 'edititem', |
183 |
method => 'edititem', |
183 |
next_actions => [], |
184 |
next_actions => [], |
184 |
ui_method_icon => 'fa-edit', |
185 |
ui_method_icon => 'fa-edit', |
Lines 912-946
Return a hashref of core fields
Link Here
|
912 |
|
913 |
|
913 |
sub _get_core_fields { |
914 |
sub _get_core_fields { |
914 |
return { |
915 |
return { |
915 |
article_author => 'Article author', |
916 |
article_author => __('Article author'), |
916 |
article_title => 'Article title', |
917 |
article_title => __('Article title'), |
917 |
associated_id => 'Associated ID', |
918 |
associated_id => __('Associated ID'), |
918 |
author => 'Author', |
919 |
author => __('Author'), |
919 |
chapter_author => 'Chapter author', |
920 |
chapter_author => __('Chapter author'), |
920 |
chapter => 'Chapter', |
921 |
chapter => __('Chapter'), |
921 |
conference_date => 'Conference date', |
922 |
conference_date => __('Conference date'), |
922 |
doi => 'DOI', |
923 |
doi => __('DOI'), |
923 |
editor => 'Editor', |
924 |
editor => __('Editor'), |
924 |
institution => 'Institution', |
925 |
institution => __('Institution'), |
925 |
isbn => 'ISBN', |
926 |
isbn => __('ISBN'), |
926 |
issn => 'ISSN', |
927 |
issn => __('ISSN'), |
927 |
issue => 'Issue', |
928 |
issue => __('Issue'), |
928 |
item_date => 'Date', |
929 |
item_date => __('Date'), |
929 |
pages => 'Pages', |
930 |
pages => __('Pages'), |
930 |
pagination => 'Pagination', |
931 |
pagination => __('Pagination'), |
931 |
paper_author => 'Paper author', |
932 |
paper_author => __('Paper author'), |
932 |
paper_title => 'Paper title', |
933 |
paper_title => __('Paper title'), |
933 |
part_edition => 'Part / Edition', |
934 |
part_edition => __('Part / Edition'), |
934 |
publication => 'Publication', |
935 |
publication => __('Publication'), |
935 |
published_date => 'Publication date', |
936 |
published_date => __('Publication date'), |
936 |
published_place => 'Place of publication', |
937 |
published_place => __('Place of publication'), |
937 |
publisher => 'Publisher', |
938 |
publisher => __('Publisher'), |
938 |
sponsor => 'Sponsor', |
939 |
sponsor => __('Sponsor'), |
939 |
title => 'Title', |
940 |
title => __('Title'), |
940 |
type => 'Type', |
941 |
type => __('Type'), |
941 |
venue => 'Venue', |
942 |
venue => __('Venue'), |
942 |
volume => 'Volume', |
943 |
volume => __('Volume'), |
943 |
year => 'Year' |
944 |
year => __('Year'), |
944 |
}; |
945 |
}; |
945 |
} |
946 |
} |
946 |
|
947 |
|
947 |
- |
|
|