Rerun. Bug in amount selection
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Tue, 2 Nov 2010 11:12:11 +0000 (11:12 +0000)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Tue, 2 Nov 2010 11:12:11 +0000 (11:12 +0000)
reporting/rep103.php

index a028c331bb0be563ef8b60e905eb97e6ffb2d4a9..3a5fa14493a632f9e2dc20a1c0b7dee8dfd04129 100644 (file)
@@ -78,7 +78,7 @@ function getTransactions($debtorno, $branchcode, $date)
                WHERE debtor_no=".db_escape($debtorno)."
                AND branch_code=".db_escape($branchcode)."
                AND (type=".ST_SALESINVOICE." OR type=".ST_CUSTCREDIT.")
-               AND trandate >='$date'";
+               AND tran_date >='$date'";
 
     $result = db_query($sql,"No transactions were returned");