From 789162ad5f1c8bcea2ec2983cc2c697e317dc4c4 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Wed, 25 Sep 2002 21:45:38 +0000 Subject: [PATCH] *** empty log message *** --- htdocs/compta/bank/search.php3 | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) diff --git a/htdocs/compta/bank/search.php3 b/htdocs/compta/bank/search.php3 index 5e4551e05ad..4a3617361df 100644 --- a/htdocs/compta/bank/search.php3 +++ b/htdocs/compta/bank/search.php3 @@ -20,21 +20,11 @@ * */ -/* - * - * $viewall - * - */ require("./pre.inc.php3"); - require("./bank.lib.php3"); llxHeader(); $db = new Db(); - - - - if ($vline) { $viewline = $vline; } else { @@ -101,13 +91,9 @@ if ($result) { if ($viewall) { $nbline=0; } -/* Another solution - * create temporary table solde type=heap select amount from llx_bank limit 100 ; - * select sum(amount) from solde ; - */ $sql = "SELECT b.rowid,".$db->pdate("b.dateo")." as do, b.amount, b.label, b.rappro, b.num_releve, b.num_chq, b.fk_account"; -$sql .= " FROM llx_bank as b "; if ($account) { $sql .= " WHERE fk_account=$account"; } +$sql .= " FROM llx_bank as b "; if ($credit) { @@ -154,16 +140,10 @@ if ($result) { print "".price($total)."\n"; } - - print "".$objp->fk_account."\n"; - print ""; - - } - $i++; } $db->free(); @@ -175,7 +155,6 @@ if ($result) { print ""; - $db->close(); llxFooter("Dernière modification $Date$ révision $Revision$");