From 5aaf55ed63cf456ac24a65a10eb84e44c89f3f53 Mon Sep 17 00:00:00 2001
From: einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>
Date: Mon, 8 Sep 2008 05:18:07 +0000
Subject: Correcting issue with saving discount rates

git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@2316 4979c152-3d1c-0410-bac9-87ea11338e46
---
 sql/modules/Company.sql | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'sql')

diff --git a/sql/modules/Company.sql b/sql/modules/Company.sql
index 4cd0e2cd..f8095201 100644
--- a/sql/modules/Company.sql
+++ b/sql/modules/Company.sql
@@ -394,7 +394,7 @@ CREATE OR REPLACE FUNCTION entity_credit_save (
             VALUES (
                 in_entity_id,
                 in_entity_class,
-                in_discount / 100, 
+                in_discount, 
                 in_taxincluded,
                 in_creditlimit,
                 in_terms,
-- 
cgit v1.2.3