Fixed transaction date check messages.
[fa-stable.git] / gl / gl_bank.php
index 8dd950f1d703722641f2b50ce14ce4e130299603..d6efc5de66c743bd2d93fd3639f33047319aa210 100644 (file)
@@ -141,6 +141,7 @@ function create_cart($type, $trans_no)
                unset ($_SESSION['pay_items']);
        }
        
+       check_is_closed($type, $trans_no);
        $cart = new items_cart($type);
     $cart->order_id = $trans_no;
 
@@ -253,7 +254,7 @@ if (isset($_POST['Process']))
        }
        elseif (!is_date_in_fiscalyear($_POST['date_']))
        {
-               display_error(_("The entered date is not in fiscal year."));
+               display_error(_("The entered date is out of fiscal year or is closed for further data entry."));
                set_focus('date_');
                $input_error = 1;
        }