@@ -, +, @@
staff interface
* Subscription detail page > issues tab
* Catalog detail page > subscription tab
* Serial claims page
* Serial collection page of your subscription
---
.../prog/en/includes/serial-status.inc | 12 ++++++++++++
.../prog/en/modules/catalogue/detail.tt | 13 +------------
.../prog/en/modules/serials/claims.tt | 9 +--------
.../en/modules/serials/serials-collection.tt | 13 +------------
.../en/modules/serials/subscription-detail.tt | 18 +-----------------
5 files changed, 16 insertions(+), 49 deletions(-)
create mode 100644 koha-tmpl/intranet-tmpl/prog/en/includes/serial-status.inc
--- a/koha-tmpl/intranet-tmpl/prog/en/includes/serial-status.inc
+++ a/koha-tmpl/intranet-tmpl/prog/en/includes/serial-status.inc
@@ -0,0 +1,12 @@
+[% IF ( serial.status1 ) %]Expected[% END %]
+[% IF ( serial.status2 ) %]Arrived[% END %]
+[% IF ( serial.status3 ) %]Late[% END %]
+[% IF ( serial.status4 ) %]Missing[% END %]
+ [% IF ( serial.status41 ) %]Missing (never received)[% END %]
+ [% IF ( serial.status42 ) %]Missing (sold out)[% END %]
+ [% IF ( serial.status43 ) %]Missing (damaged)[% END %]
+ [% IF ( serial.status44 ) %]Missing (lost)[% END %]
+[% IF ( serial.status5 ) %]Not available[% END %]
+[% IF ( serial.status6 ) %]Delete[% END %]
+[% IF ( serial.status7 ) %]Claimed[% END %]
+[% IF ( serial.status8 ) %]Stopped[% END %]
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt
@@ -807,18 +807,7 @@ Note that permanent location is a code, and location may be an authval.
[% latestserial.planneddate | $KohaDates %] |
[% latestserial.publisheddate | $KohaDates %] |
- [% IF ( latestserial.status1 ) %]Expected[% END %]
- [% IF ( latestserial.status2 ) %]Arrived[% END %]
- [% IF ( latestserial.status3 ) %]Late[% END %]
- [% IF ( latestserial.status4 ) %]Missing[% END %]
- [% IF ( latestserial.status41 ) %]Missing (never received)[% END %]
- [% IF ( latestserial.status42 ) %]Missing (sold out)[% END %]
- [% IF ( latestserial.status43 ) %]Missing (damaged)[% END %]
- [% IF ( latestserial.status44 ) %]Missing (lost)[% END %]
- [% IF ( latestserial.status5 ) %]Not issued[% END %]
- [% IF ( latestserial.status6 ) %]Delete[% END %]
- [% IF ( latestserial.status7 ) %]Claimed[% END %]
- [% IF ( latestserial.status8 ) %]Stopped[% END %]
+ [% INCLUDE 'serial-status.inc' serial = latestserial %]
|
[% latestserial.notes | html %] |
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt
@@ -159,14 +159,7 @@
[% missingissue.issn | html %] |
[% missingissue.serialseq | html %] |
- [% IF ( missingissue.status1 ) %]Expected[% END %]
- [% IF ( missingissue.status3 ) %]Late[% END %]
- [% IF ( missingissue.status4 ) %]Missing[% END %]
- [% IF ( missingissue.status41 ) %]Missing (never received)[% END %]
- [% IF ( missingissue.status42 ) %]Missing (sold out)[% END %]
- [% IF ( missingissue.status43 ) %]Missing (damaged)[% END %]
- [% IF ( missingissue.status44 ) %]Missing (lost)[% END %]
- [% IF ( missingissue.status7 ) %]Claimed[% END %]
+ [% INCLUDE 'serial-status.inc' serial = missingissue %]
|
[% missingissue.planneddate | $KohaDates %]
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt
@@ -290,18 +290,7 @@
[% END %]
|
- [% IF ( serial.status1 ) %]Expected[% END %]
- [% IF ( serial.status2 ) %]Arrived[% END %]
- [% IF ( serial.status3 ) %]Late[% END %]
- [% IF ( serial.status4 ) %]Missing[% END %]
- [% IF ( serial.status41 ) %]Missing (never received)[% END %]
- [% IF ( serial.status42 ) %]Missing (sold out)[% END %]
- [% IF ( serial.status43 ) %]Missing (damaged)[% END %]
- [% IF ( serial.status44 ) %]Missing (lost)[% END %]
- [% IF ( serial.status5 ) %]Not issued[% END %]
- [% IF ( serial.status6 ) %]Delete[% END %]
- [% IF ( serial.status7 ) %]Claimed[% END %]
- [% IF ( serial.status8 ) %]Stopped[% END %]
+ [% INCLUDE 'serial-status.inc' serial = serial %]
|
[% serial.notes | html %]
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt
@@ -288,23 +288,7 @@
[% serialslis.publisheddatetext | html %]
|
- [% IF ( serialslis.status1 ) %]Expected[% END %]
- [% IF ( serialslis.status2 ) %]Arrived[% END %]
- [% IF ( serialslis.status3 ) %]Late[% END %]
- [% IF ( serialslis.status4 ) %]Missing[% END %]
- [% IF ( serialslis.status41 ) %]Missing (never received)[% END %]
- [% IF ( serialslis.status42 ) %]Missing (sold out)[% END %]
- [% IF ( serialslis.status43 ) %]Missing (damaged)[% END %]
- [% IF ( serialslis.status44 ) %]Missing (lost)[% END %]
- [% IF ( serialslis.status5 ) %]Not issued[% END %]
- [% IF ( serialslis.status6 ) %]Delete[% END %]
- [% IF ( serialslis.status7 ) %]
- Claimed
- [% IF ( serialslis.claimdate ) %]
- [% serialslis.claimdate | html %]
- [% END %]
- [% END %]
- [% IF ( serialslis.status8 ) %]Stopped[% END %]
+ [% INCLUDE 'serial-status.inc' serial = serialslis %]
|
[% END # /FOREACH serialslist %]
--