projects
/
fa-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
fcf6015
)
Formatting error in dashboard.inc fixed.
author
Joe Hunt
<joe.hunt.consulting@gmail.com>
Mon, 25 Nov 2019 07:44:00 +0000
(08:44 +0100)
committer
Joe Hunt
<joe.hunt.consulting@gmail.com>
Mon, 25 Nov 2019 07:44:00 +0000
(08:44 +0100)
includes/dashboard.inc
patch
|
blob
|
history
diff --git
a/includes/dashboard.inc
b/includes/dashboard.inc
index bb6e6e258335fd231bd3bc75f987f302b663426e..9a5a9f4b5ce57e024ebc5292ffecdcfde36c7e31 100644
(file)
--- a/
includes/dashboard.inc
+++ b/
includes/dashboard.inc
@@
-195,7
+195,7
@@
function customer_top($today, $limit=10, $width="33", &$pg=null)
while ($myrow = db_fetch($result))
{
alt_table_row_color($k);
while ($myrow = db_fetch($result))
{
alt_table_row_color($k);
- $name = $myrow["debtor_no"]." ".
$myrow["name"]
;
+ $name = $myrow["debtor_no"]." ".
htmlspecialchars_decode($myrow["name"])
;
label_cell($name);
amount_cell($myrow['total']);
if ($pg != null)
label_cell($name);
amount_cell($myrow['total']);
if ($pg != null)
@@
-232,7
+232,7
@@
function supplier_top($today, $limit=10, $width="33", &$pg=null)
while ($myrow = db_fetch($result))
{
alt_table_row_color($k);
while ($myrow = db_fetch($result))
{
alt_table_row_color($k);
- $name = $myrow["supplier_id"]." ".
$myrow["supp_name"]
;
+ $name = $myrow["supplier_id"]." ".
htmlspecialchars_decode($myrow["supp_name"])
;
label_cell($name);
amount_cell($myrow['total']);
if ($pg != null)
label_cell($name);
amount_cell($myrow['total']);
if ($pg != null)