Bug 16705 - Add missing status to serials history in OPAC
authorNguyenDuyTinh <duy-tinh.nguyen@biblibre.com>
Fri, 10 Jun 2016 10:14:12 +0000 (10:14 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 24 Jun 2016 11:58:32 +0000 (11:58 +0000)
The bug is related to 10851. Due to add of status in 10851, status added were
missing in opac-detail.tt and opac-full-serial-issues.tt. The patch just added
these missing status.

To test:
1) Create New subscription in Serials, in Intranet
2) Do a search of the new subscription by Title
3) Take Serial receive as Actions to edit the status to Missing (<something>)
4) Go to Opac and Search the subscription created, by its title and See missing status
5) Apply patch, status must be showed.
6) Sign off

Followed test plan, works as expected.
Amended to format commit title and message.
Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-full-serial-issues.tt

index fe72d01..10619b0 100644 (file)
                                                 <td>[% latestserial.serialseq %]</td>
                                                 <td>[% latestserial.planneddate %]</td>
                                                 <td>
-                                                    [% IF ( latestserial.status1 ) %]
-                                                        Awaited
-                                                    [% ELSE %]
-                                                        [% IF ( latestserial.status2 ) %]
-                                                            Arrived
-                                                        [% ELSE %]
-                                                            [% IF ( latestserial.status3 ) %]
-                                                                Late
-                                                            [% ELSE %]
-                                                                [% IF ( latestserial.status4 ) %]
-                                                                    Missing
-                                                                [% ELSE %]
-                                                                    [% IF ( latestserial.status5 ) %]
-                                                                        Not issued
-                                                                    [% END %]
-                                                                [% END %]
-                                                            [% END %]
-                                                        [% END %]
-                                                    [% END %]
+                                                    [% 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 %]
                                                 </td>
                                                 <td>[% latestserial.notes %]</td>
                                             </tr>
index dbe1e11..d538e55 100644 (file)
                                                     [% 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 %]