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]
/
sales
/
customer_payments.php
diff --git
a/sales/customer_payments.php
b/sales/customer_payments.php
index f5d1f011a5e9a1ec4347023e295c3c45bf721738..34a862b1fc93e39c468bdfd73d46b8bdc69f7f60 100644
(file)
--- a/
sales/customer_payments.php
+++ b/
sales/customer_payments.php
@@
-211,6
+211,8
@@
function can_process()
set_focus('discount');
return false;
}
+ if (!db_has_currency_rates(get_customer_currency($_POST['customer_id']), $_POST['DateBanked'], true))
+ return false;
$_SESSION['alloc']->amount = input_num('amount');