Bug 8230: (follow-up) reflect the fact that order statuses are now alphabetic codes
authorJonathan Druart <jonathan.druart@biblibre.com>
Fri, 18 Oct 2013 13:05:11 +0000 (15:05 +0200)
committerGalen Charlton <gmc@esilibrary.com>
Fri, 13 Dec 2013 23:22:43 +0000 (23:22 +0000)
Signed-off-by: Paola Rossi <paola.rossi@cineca.it>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Passes koha-qa.pl, works as advertised. No regressions found.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt

index 1bac5a9..294496a 100644 (file)
@@ -847,11 +847,11 @@ function verify_images() {
             <td><span title="[% order.datereceived %]">[% order.datereceived | $KohaDates%]</span></td>
             <td>
               [% SWITCH order.orderstatus %]
-                [% CASE '0' %]New
-                [% CASE '1' %]Ordered
-                [% CASE '2' %]Partial
-                [% CASE '3' %]Complete
-                [% CASE '4' %]Deleted
+                [% CASE 'new' %]New
+                [% CASE 'ordered' %]Ordered
+                [% CASE 'partial' %]Partial
+                [% CASE 'complete' %]Complete
+                [% CASE 'cancelled' %]Cancelled
               [% END %]
             </td>
             <td>