[0000225] Supplier Payment Report showing paid invoices (rounding problem)
[fa-stable.git] / gl / manage / exchange_rates.php
index 449168c40e1c73e422af1a87254d839bc655ea6e..55259ff8fa4a16ef43956c0022264f5b958f58c6 100644 (file)
@@ -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;
 }