From c4f637e14ca8c3e58ee744792c60a4f08bbb83d1 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Wed, 16 Oct 2002 15:08:55 +0000 Subject: [PATCH] *** empty log message *** --- htdocs/compta/bank/account.php3 | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/htdocs/compta/bank/account.php3 b/htdocs/compta/bank/account.php3 index 31250f06612..66512a8c863 100644 --- a/htdocs/compta/bank/account.php3 +++ b/htdocs/compta/bank/account.php3 @@ -46,11 +46,11 @@ if ($account) { $dateop = "$dateoy" . "$dateo"; if ($num_chq) { - $sql = "INSERT INTO llx_bank (datec, dateo, label, amount, author, num_chq,fk_account)"; - $sql .= " VALUES (now(), $dateop, '$label', $amount,'$author',$num_chq,$account)"; + $sql = "INSERT INTO llx_bank (datec, dateo, label, amount, author, num_chq,fk_account, fk_type)"; + $sql .= " VALUES (now(), $dateop, '$label', $amount,'$author',$num_chq,$account,'$operation')"; } else { - $sql = "INSERT INTO llx_bank (datec, dateo, label, amount, author,fk_account)"; - $sql .= " VALUES (now(), $dateop, '$label', $amount,'$author',$account)"; + $sql = "INSERT INTO llx_bank (datec, dateo, label, amount, author,fk_account,fk_type)"; + $sql .= " VALUES (now(), $dateop, '$label', $amount,'$author',$account,'$operation')"; } $result = $db->query($sql); @@ -231,7 +231,16 @@ if ($account) { print ""; print ''; print ''; - print ""; + print ""; + + print ''; + print ""; print ""; print ""; print "";