X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep102.php;fp=reporting%2Frep102.php;h=8bd7714ade3d191063e92b355165488b71d4e526;hb=9b1b5c83a37376d2076334952db1d1f739a26d1c;hp=04a55faebea09157ff21fec6d1d998803e841c27;hpb=80f8b008d24d78ccac82fd31f276f32d820907c7;p=fa-stable.git diff --git a/reporting/rep102.php b/reporting/rep102.php index 04a55fae..8bd7714a 100644 --- a/reporting/rep102.php +++ b/reporting/rep102.php @@ -84,7 +84,7 @@ function print_aged_customer_analysis() $pg = new graph(); } - if ($fromcust == ALL_NUMERIC) + if ($fromcust == ALL_TEXT) $from = _('All'); else $from = get_customer_name($fromcust); @@ -135,7 +135,7 @@ function print_aged_customer_analysis() $total = array(0,0,0,0, 0); $sql = "SELECT debtor_no, name, curr_code FROM ".TB_PREF."debtors_master"; - if ($fromcust != ALL_NUMERIC) + if ($fromcust != ALL_TEXT) $sql .= " WHERE debtor_no=".db_escape($fromcust); $sql .= " ORDER BY name"; $result = db_query($sql, "The customers could not be retrieved");