@@ -, +, @@
opac/opac-request-article
circ/request-article
opac/opac-user
circ/request-article (biblio detail tab)
circ/article-requests (staff form to handle requests)
members/moremember (Article requests tab at the bottom)
circ/circulation (Checkout/Article requests tab)
above-mentioned staff forms.
---
circ/request-article.pl | 2 ++
.../en/includes/patron-article-requests.inc | 3 ++
.../prog/en/modules/circ/article-requests.tt | 4 +++
.../prog/en/modules/circ/request-article.tt | 23 +++++++++++++++
.../en/modules/opac-request-article.tt | 29 +++++++++++++++++++
.../bootstrap/en/modules/opac-user.tt | 3 ++
opac/opac-request-article.pl | 2 ++
7 files changed, 66 insertions(+)
--- a/circ/request-article.pl
+++ a/circ/request-article.pl
@@ -66,6 +66,7 @@ if ( $action eq 'create' ) {
my $pages = $cgi->param('pages') || undef;
my $chapters = $cgi->param('chapters') || undef;
my $patron_notes = $cgi->param('patron_notes') || undef;
+ my $format = $cgi->param('format') || undef;
my $ar = Koha::ArticleRequest->new(
{
@@ -81,6 +82,7 @@ if ( $action eq 'create' ) {
pages => $pages,
chapters => $chapters,
patron_notes => $patron_notes,
+ format => $format,
}
)->store();
--- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-article-requests.inc
+++ a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-article-requests.inc
@@ -13,6 +13,7 @@
Pages |
Chapters |
Notes |
+ Format |
Status |
Pickup library |
@@ -66,6 +67,8 @@
[% ar.patron_notes | html %]
+ [% IF ar.format == 'PHOTOCOPY' %]Copy[% ELSIF ar.format == 'SCAN' %]Scan[% END %] |
+
[% IF ar.status == 'PENDING' %]
Pending
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/article-requests.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/article-requests.tt
@@ -127,6 +127,7 @@
| Copy number |
Enumeration |
Barcode |
+ Format |
Patron |
Date |
Actions |
@@ -191,6 +192,7 @@
[% ar.item.copynumber | html %] |
[% ar.item.enumchron | html %] |
[% ar.item.barcode | html %] |
+ [% IF ar.format == 'PHOTOCOPY' %]Copy[% ELSIF ar.format == 'SCAN' %]Scan[% END %] |
@@ -228,6 +230,7 @@
| Copy number |
Enumeration |
Barcode |
+ Format |
Patron |
Date |
Actions |
@@ -290,6 +293,7 @@
[% ar.item.copynumber | html %] |
[% ar.item.enumchron | html %] |
[% ar.item.barcode | html %] |
+ [% IF ar.format == 'PHOTOCOPY' %]Copy[% ELSIF ar.format == 'SCAN' %]Scan[% END %] |
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/request-article.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/request-article.tt
@@ -143,6 +143,14 @@
+
+
+
+
+
|