projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed multiply sales document view link generation.
[fa-stable.git]
/
includes
/
banking.inc
diff --git
a/includes/banking.inc
b/includes/banking.inc
index 2c0fa94573c09cf2a0bcb3656741f73808f64d63..93fcb294333f7ed728924f6cc4727eeaf559feb9 100644
(file)
--- a/
includes/banking.inc
+++ b/
includes/banking.inc
@@
-85,7
+85,9
@@
function get_exchange_rate_from_home_currency($currency_code, $date_)
if (db_num_rows($result) == 0)
{
// no stored exchange rate, just return 1
if (db_num_rows($result) == 0)
{
// no stored exchange rate, just return 1
- display_error(_("Cannot retrieve currency exchange rate for this date. Please add exchange rate manually on Exchange Rates page.") );
+ display_error(
+ sprintf(_("Cannot retrieve exchange rate for currency %s as of %s. Please add exchange rate manually on Exchange Rates page."),
+ $currency_code, $date_));
return 1.000;
}
return 1.000;
}