projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
PHP 8 doesnt support with imagettfbbox. Replaced with imageftbbox. By @kvvaradha.
[fa-stable.git]
/
reporting
/
rep707.php
diff --git
a/reporting/rep707.php
b/reporting/rep707.php
index cf2590054015697fc70e19062403016e5acc36f5..2acafb07fcd787461a65a6abc6f87f5805f1d379 100644
(file)
--- a/
reporting/rep707.php
+++ b/
reporting/rep707.php
@@
-100,7
+100,7
@@
function display_type ($type, $typename, $from, $to, $begin, $end, $compare, $co
}
$totals_arr = display_type($accounttype["id"], $accounttype["name"], $from, $to, $begin, $end, $compare, $convert, $dec,
}
$totals_arr = display_type($accounttype["id"], $accounttype["name"], $from, $to, $begin, $end, $compare, $convert, $dec,
- $pdec, $rep, $dimension, $dimension2, $tags, $pg, $graphics);
+ $pdec, $rep, $dimension, $dimension2, $tags, $pg, $graphics
, $labels, $serie1, $serie2
);
$per_balance_total += $totals_arr[0];
$acc_balance_total += $totals_arr[1];
}
$per_balance_total += $totals_arr[0];
$acc_balance_total += $totals_arr[1];
}
@@
-192,13
+192,13
@@
function print_profit_and_loss_statement()
else
include_once($path_to_root . "/reporting/includes/pdf_report.inc");
$orientation = ($orientation ? 'L' : 'P');
else
include_once($path_to_root . "/reporting/includes/pdf_report.inc");
$orientation = ($orientation ? 'L' : 'P');
+ $labels = array();
+ $serie1 = array();
+ $serie2 = array();
if ($graphics)
{
include_once($path_to_root . "/reporting/includes/class.graphic.inc");
$pg = new Chart($graphics);
if ($graphics)
{
include_once($path_to_root . "/reporting/includes/class.graphic.inc");
$pg = new Chart($graphics);
- $labels = array();
- $serie1 = array();
- $serie2 = array();
}
if (!$decimals)
$dec = 0;
}
if (!$decimals)
$dec = 0;