diff --git a/htdocs/compta/bank/account.php3 b/htdocs/compta/bank/account.php3 index 43d441b13b7..7d6d6a3f6a7 100644 --- a/htdocs/compta/bank/account.php3 +++ b/htdocs/compta/bank/account.php3 @@ -21,14 +21,7 @@ * */ -/* - * - * $viewall - * - */ require("./pre.inc.php3"); -//require("./bank.lib.php3"); -//require("./account.class.php"); if ($HTTP_POST_VARS["action"] == 'add' && $account) { @@ -101,15 +94,15 @@ if ($account) { $viewline = 20; } - - print "Bank -  -"; - print "Voir tout"; + $acct=new Account($db); + $acct->fetch($account); + print_titre("Compte : " .$acct->label); /* * Formulaire de recherche * */ - print '
'; + print ''; print ''; print ''; print ""; @@ -125,7 +118,7 @@ if ($account) * * */ - print ""; + print ""; print ''; print ""; print ""; @@ -169,8 +162,6 @@ if ($account) } - if ($viewall) { $nbline=0; } - /* Another solution * create temporary table solde type=heap select amount from llx_bank limit 100 ; * select sum(amount) from solde ; @@ -355,13 +346,8 @@ if ($account) print ''; } - print "
DateTypeDescription
"; - print "Edit Categories"; - print " Budgets"; - - } else { print_titre ("Comptes bancaires");