From bac6bc5d595dab716bb3c65e451e81d724b8de2d Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Tue, 2 Nov 2010 11:12:11 +0000 Subject: [PATCH] Rerun. Bug in amount selection --- reporting/rep103.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reporting/rep103.php b/reporting/rep103.php index a028c331..3a5fa144 100644 --- a/reporting/rep103.php +++ b/reporting/rep103.php @@ -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"); -- 2.30.2