*** empty log message ***
This commit is contained in:
parent
4151ade6b4
commit
789162ad5f
@ -20,21 +20,11 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
|
||||||
*
|
|
||||||
* $viewall
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
require("./pre.inc.php3");
|
require("./pre.inc.php3");
|
||||||
|
|
||||||
require("./bank.lib.php3");
|
require("./bank.lib.php3");
|
||||||
llxHeader();
|
llxHeader();
|
||||||
$db = new Db();
|
$db = new Db();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if ($vline) {
|
if ($vline) {
|
||||||
$viewline = $vline;
|
$viewline = $vline;
|
||||||
} else {
|
} else {
|
||||||
@ -101,13 +91,9 @@ if ($result) {
|
|||||||
|
|
||||||
if ($viewall) { $nbline=0; }
|
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 = "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) {
|
if ($credit) {
|
||||||
@ -154,16 +140,10 @@ if ($result) {
|
|||||||
print "<td align=\"right\"><b>".price($total)."</b></TD>\n";
|
print "<td align=\"right\"><b>".price($total)."</b></TD>\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
print "<td align=\"right\"><small>".$objp->fk_account."</small></TD>\n";
|
print "<td align=\"right\"><small>".$objp->fk_account."</small></TD>\n";
|
||||||
|
|
||||||
print "</tr>";
|
print "</tr>";
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
$i++;
|
$i++;
|
||||||
}
|
}
|
||||||
$db->free();
|
$db->free();
|
||||||
@ -175,7 +155,6 @@ if ($result) {
|
|||||||
print "</table>";
|
print "</table>";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
$db->close();
|
$db->close();
|
||||||
|
|
||||||
llxFooter("<em>Dernière modification $Date$ révision $Revision$</em>");
|
llxFooter("<em>Dernière modification $Date$ révision $Revision$</em>");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user