X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=gl%2Fmanage%2Fbank_accounts.php;h=2517efa1741e7907311c56c9f7851fdb50b73fb7;hb=9451db1760036985de791ba24c442801e37f37de;hp=b10c408e3f4aa9f72df146d96c73c4a43c585b40;hpb=3f3cfa578adbc2b71f4fd9c8d0f5536d26af43d8;p=fa-stable.git diff --git a/gl/manage/bank_accounts.php b/gl/manage/bank_accounts.php index b10c408e..2517efa1 100644 --- a/gl/manage/bank_accounts.php +++ b/gl/manage/bank_accounts.php @@ -36,7 +36,7 @@ if ($Mode=='ADD_ITEM' || $Mode=='UPDATE_ITEM') if ($Mode=='ADD_ITEM' && (gl_account_in_bank_accounts(get_post('account_code')) || key_in_foreign_table(get_post('account_code'), 'gl_trans', 'account'))) { $input_error = 1; - display_error(_("The GL account selected is already in use. Select another GL account.")); + display_error(_("The GL account selected is already in use or has transactions. Select another empty GL account.")); set_focus('account_code'); } if ($input_error != 1) @@ -202,4 +202,3 @@ submit_add_or_update_center($selected_id == -1, '', 'both'); end_form(); end_page(); -?>