From 85639cca228a89a2c22e43e5a39733a1be9b8a2f Mon Sep 17 00:00:00 2001
From: Jonathan Druart <jonathan.druart@biblibre.com>
Date: Fri, 18 Oct 2013 15:05:11 +0200
Subject: [PATCH] Bug 8230: Followup Bug 5336: Change numbers with
 understandable codes for orderstatus

---
 koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt
index 53a059b..87c5b04 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt
@@ -740,11 +740,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>
-- 
1.7.10.4