From 705245329bb81c7f237c8b24de1ca4fd1822e05b Mon Sep 17 00:00:00 2001 From: einhverfr Date: Sat, 8 Dec 2007 02:38:53 +0000 Subject: Removing sql/legacy-- will package new download from the files in branches/1.2 git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1964 4979c152-3d1c-0410-bac9-87ea11338e46 --- sql/modules/Payment.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sql/modules') diff --git a/sql/modules/Payment.sql b/sql/modules/Payment.sql index b3ba24a7..e8c0375b 100644 --- a/sql/modules/Payment.sql +++ b/sql/modules/Payment.sql @@ -223,8 +223,8 @@ BEGIN IF in_batch_id IS NULL THEN t_voucher_id := NULL; ELSE - INSERT INTO voucher (batch_id, trans_id) - values (in_batch_id, in_transactions[1][1]); + INSERT INTO voucher (batch_id, batch_class, trans_id) + values (in_batch_id, 3, in_transactions[1][1]); t_voucher_id := currval('voucher_id_seq'); END IF; -- cgit v1.2.3