Bug 13804 - Returns via the checkouts tables uses the phrase "Returned" rather than...
authorKyle M Hall <kyle@bywatersolutions.com>
Fri, 6 Mar 2015 10:08:41 +0000 (11:08 +0100)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Wed, 11 Mar 2015 17:23:42 +0000 (14:23 -0300)
Test plan:
1) Apply this patch
2) Return an item via the checkouts table
3) Note the left most column now reads "Checked in" rather than "Returned"

Followed test plan. Works as expected.
Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/js/checkouts.js

index 65cf43d..e8f6f44 100644 (file)
@@ -66,7 +66,7 @@ $(document).ready(function() {
                 if ( data.returned ) {
                     content = CIRCULATION_RETURNED;
                     $(id).parent().parent().addClass('ok');
-                    $('#date_due_' + data.itemnumber).html(_("Returned"));
+                    $('#date_due_' + data.itemnumber).html(CIRCULATION_RETURNED);
                 } else {
                     content = CIRCULATION_NOT_RETURNED;
                     $(id).parent().parent().addClass('warn');