projects
/
textcart.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a938159
)
Rerun
author
Joe Hunt
<joe.hunt.consulting@gmail.com>
Mon, 22 Feb 2010 00:24:18 +0000
(
00:24
+0000)
committer
Joe Hunt
<joe.hunt.consulting@gmail.com>
Mon, 22 Feb 2010 00:24:18 +0000
(
00:24
+0000)
gl/manage/exchange_rates.php
patch
|
blob
|
history
diff --git
a/gl/manage/exchange_rates.php
b/gl/manage/exchange_rates.php
index 449168c40e1c73e422af1a87254d839bc655ea6e..55259ff8fa4a16ef43956c0022264f5b958f58c6 100644
(file)
--- a/
gl/manage/exchange_rates.php
+++ b/
gl/manage/exchange_rates.php
@@
-40,7
+40,12
@@
function check_data()
set_focus('BuyRate');
return false;
}
-
+ if (get_date_exchange_rate($_POST['curr_abrev'], $_POST['date_']))
+ {
+ display_error( _("The exchange rate for the date is already there."));
+ set_focus('date_');
+ return false;
+ }
return true;
}