Bug 32293: Fix terminology in warning when creating orders from staged file
authorKatrin Fischer <katrin.fischer.83@web.de>
Sun, 5 Feb 2023 01:49:21 +0000 (01:49 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 27 Feb 2023 14:39:04 +0000 (11:39 -0300)
When you are ordering from a staged file and the
fund is missing, there is a warning:

Some budgets are not defined in item records

Budgets shoudl be funds here.

To test:
* Add a new basket
* Add an order from a staged file or from a file
* Leave the fund values of some selected items empty
* Make sure default fund entry is also empty
* Warning message should be triggered on saving
* Apply patch, repeat, verify it is correct now.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/js/addorderiso2709.js

index ba53f0b..850eb02 100644 (file)
@@ -67,7 +67,7 @@ $(document).ready(function() {
 
         error = checkOrderBudgets();
         if ( error > 0 ) {
-            alert( __("Some budgets are not defined in item records") );
+            alert( __("Some funds are not defined in item records") );
             return false;
         }