X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep102.php;h=8bd7714ade3d191063e92b355165488b71d4e526;hb=ced25a469db48fa4badfcc96e09e414193fe0377;hp=04a55faebea09157ff21fec6d1d998803e841c27;hpb=46c5f7a65a7659a44ae8254c63152074363d3987;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");