*** empty log message ***
This commit is contained in:
parent
4151ade6b4
commit
789162ad5f
@ -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 "<td align=\"right\"><b>".price($total)."</b></TD>\n";
|
||||
}
|
||||
|
||||
|
||||
|
||||
print "<td align=\"right\"><small>".$objp->fk_account."</small></TD>\n";
|
||||
|
||||
print "</tr>";
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
$i++;
|
||||
}
|
||||
$db->free();
|
||||
@ -175,7 +155,6 @@ if ($result) {
|
||||
print "</table>";
|
||||
|
||||
|
||||
|
||||
$db->close();
|
||||
|
||||
llxFooter("<em>Dernière modification $Date$ révision $Revision$</em>");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user