Bug 27779: (QA follow-up) Fix translation issue with 'against'
authorKatrin Fischer <katrin.fischer.83@web.de>
Mon, 31 Jan 2022 21:04:52 +0000 (21:04 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 8 Aug 2022 16:37:26 +0000 (13:37 -0300)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/js/cashup_modal.js

index c2fcd83..3cc7914 100644 (file)
@@ -20,7 +20,7 @@ $(document).ready(function() {
                 tbody.empty();
                 for (out of data.summary.payout_grouped) {
                     if ( out.credit_type_code == 'REFUND' ) {
-                        tbody.append('<tr><td>' + out.credit_type.description + ' against ' + out.related_debit.debit_type.description + '</td><td>- ' + out.total + '</td></tr>');
+                        tbody.append('<tr><td>' + out.credit_type.description + ' ' + __("against") + ' ' + out.related_debit.debit_type.description + '</td><td>- ' + out.total + '</td></tr>');
                     } else {
                         tbody.append('<tr><td>' + out.credit_type.description + '</td><td>- ' + out.total + '</td></tr>');
                     }