X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=gl%2Fmanage%2Fbank_accounts.php;h=2517efa1741e7907311c56c9f7851fdb50b73fb7;hb=3974cfebf97c03e07b0beb608ae63b84b1e0f908;hp=b10c408e3f4aa9f72df146d96c73c4a43c585b40;hpb=0c760ea65c8c6f0a45ea8328abab53be649f2105;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(); -?>