Bug 13946: Change order status 'Pending' to 'Ordered'
authorKatrin Fischer <Katrin.Fischer.83@web.de>
Mon, 25 May 2015 09:22:07 +0000 (11:22 +0200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Wed, 27 May 2015 17:33:49 +0000 (14:33 -0300)
The order status after closing the basket is 'ordered' in the
database, but displays as 'pending' in the staff interface.

As we use 'pending' when you have to review a suggestion, this
clashes in translations and the meaning is different. The patch
renames 'pending' for the order status to 'Ordered' to be more
clear.

To test:
- Verfiy 'Ordered' shows in the pull down on the acq advanced
  search and search still works correctly
- Verify the results table also display 'Ordered' as the status

Signed-off-by: Cédric Vita <cedric.vita@dracenie.com>
Signed-off-by: Jonathan Druart <jonathan.druart@koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/histsearch.tt

index 77e42a4..8cf89cc 100644 (file)
@@ -95,9 +95,9 @@ var MSG_REMOVE_PATRON = _("Remove");
                   <option value="new">New</option>
                 [% END %]
                 [% IF orderstatus == "ordered" %]
-                  <option value="ordered" selected="selected">Pending</option>
+                  <option value="ordered" selected="selected">Ordered</option>
                 [% ELSE %]
-                  <option value="ordered">Pending</option>
+                  <option value="ordered">Ordered</option>
                 [% END %]
                 [% IF orderstatus == "partial" %]
                   <option value="partial" selected="selected">Partially received</option>
@@ -180,7 +180,7 @@ var MSG_REMOVE_PATRON = _("Remove");
                     <td>
                         [% SWITCH order.orderstatus %]
                             [% CASE 'new' %]New
-                            [% CASE 'ordered' %]Pending
+                            [% CASE 'ordered' %]Ordered
                             [% CASE 'partial' %]Partially received
                             [% CASE 'complete' %]Received
                             [% CASE 'cancelled' %]Cancelled