X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep707.php;h=2acafb07fcd787461a65a6abc6f87f5805f1d379;hb=e09e79ede2a69dba5a6579e2a616b4fadf356c16;hp=cf2590054015697fc70e19062403016e5acc36f5;hpb=c37b1d3a42a2ed774135aae6a337614bf8121a09;p=fa-stable.git diff --git a/reporting/rep707.php b/reporting/rep707.php index cf259005..2acafb07 100644 --- 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, - $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]; } @@ -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'); + $labels = array(); + $serie1 = array(); + $serie2 = array(); 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;