From 97abfe2b8406ba4734181ed05828b25b8d927f21 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Wed, 8 Oct 2003 22:34:59 +0000 Subject: [PATCH] =?UTF-8?q?Ajout=20modif=20du=20num=E9ro=20de=20relev=E9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/compta/bank/ligne.php | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/htdocs/compta/bank/ligne.php b/htdocs/compta/bank/ligne.php index d0e0825423d..99ea8b49bf9 100644 --- a/htdocs/compta/bank/ligne.php +++ b/htdocs/compta/bank/ligne.php @@ -56,13 +56,19 @@ if ($action == 'update') $result = $db->query($sql); } -if ($action == 'type') +if ($HTTP_POST_VARS["action"] == 'type') { - $author = $GLOBALS["REMOTE_USER"]; $sql = "update llx_bank set fk_type='$value' where rowid = $rowid;"; $result = $db->query($sql); } +if ($HTTP_POST_VARS["action"] == 'num_releve') +{ + $sql = "update llx_bank set num_releve=$num_rel where rowid = $rowid;"; + $result = $db->query($sql); +} + + $sql = "SELECT rowid, label FROM llx_bank_categ;"; $result = $db->query($sql); @@ -137,7 +143,7 @@ if ($result) print " "; - print ""; + print ""; print ""; print "
rowid\">"; @@ -174,8 +180,15 @@ if ($result) print '
"; + + print "
rowid\">"; + print ''; + print "Relevé"; + print ''; + print ""; print ""; - + print "
";