From: Janusz Dobrowolski Date: Fri, 17 Oct 2008 11:06:08 +0000 (+0000) Subject: Changed message for missing currency rate. X-Git-Tag: v2.4.2~19^2~1842 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=65495fd89fc6eae389598ff61991ef67db92b7b8;p=fa-stable.git Changed message for missing currency rate. --- diff --git a/includes/banking.inc b/includes/banking.inc index 2c0fa945..93fcb294 100644 --- 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 - 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; }