projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[0000607] Issue with Inventory Adjustment with 0 cost value
[fa-stable.git]
/
reporting
/
rep102.php
diff --git
a/reporting/rep102.php
b/reporting/rep102.php
index 04a55faebea09157ff21fec6d1d998803e841c27..8bd7714ade3d191063e92b355165488b71d4e526 100644
(file)
--- a/
reporting/rep102.php
+++ b/
reporting/rep102.php
@@
-84,7
+84,7
@@
function print_aged_customer_analysis()
$pg = new graph();
}
$pg = new graph();
}
- if ($fromcust == ALL_
NUMERIC
)
+ if ($fromcust == ALL_
TEXT
)
$from = _('All');
else
$from = get_customer_name($fromcust);
$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";
$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");
$sql .= " WHERE debtor_no=".db_escape($fromcust);
$sql .= " ORDER BY name";
$result = db_query($sql, "The customers could not be retrieved");