X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep108.php;h=b78f5596d57c0576b953c5f4b845b7e3a6c34da7;hb=6dd72f4aebd5f2650c485e7e2b1a7326e9d6e384;hp=0247f7cc3539ef3ec2e95ff9c0900d7080e138ba;hpb=46c5f7a65a7659a44ae8254c63152074363d3987;p=fa-stable.git diff --git a/reporting/rep108.php b/reporting/rep108.php index 0247f7cc..b78f5596 100644 --- a/reporting/rep108.php +++ b/reporting/rep108.php @@ -89,7 +89,7 @@ function print_statements() } $sql = "SELECT debtor_no, name AS DebtorName, address, tax_id, curr_code, curdate() AS tran_date FROM ".TB_PREF."debtors_master"; - if ($customer != ALL_NUMERIC) + if ($customer != ALL_TEXT) $sql .= " WHERE debtor_no = ".db_escape($customer); else $sql .= " ORDER by name";