projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bug 0001669: get_exchange_rate not raising error
[fa-stable.git]
/
gl
/
gl_bank.php
diff --git
a/gl/gl_bank.php
b/gl/gl_bank.php
index 97f67ddcb9815f7d123358d9ede77175a8467ded..b11dcd34de20367a65d500e7428027584b030206 100644
(file)
--- a/
gl/gl_bank.php
+++ b/
gl/gl_bank.php
@@
-278,6
+278,8
@@
if (isset($_POST['Process']))
set_focus('person_id');
$input_error = 1;
}
+ if (!db_has_currency_rates(get_bank_account_currency($_POST['bank_account']), $_POST['date_'], true))
+ $input_error = 1;
if ($input_error == 1)
unset($_POST['Process']);