X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep706.php;h=4a66e01dce6c384705fbf0fe41862f8b2446d4dc;hb=e09e79ede2a69dba5a6579e2a616b4fadf356c16;hp=cc41fd395a4ac5de79085a58bf24d4e272f2c4f5;hpb=c37b1d3a42a2ed774135aae6a337614bf8121a09;p=fa-stable.git diff --git a/reporting/rep706.php b/reporting/rep706.php index cc41fd39..4a66e01d 100644 --- a/reporting/rep706.php +++ b/reporting/rep706.php @@ -92,7 +92,7 @@ function display_type ($type, $typename, $from, $to, $convert, &$dec, &$rep, $di } $totals_arr = display_type($accounttype["id"], $accounttype["name"], $from, $to, $convert, $dec, - $rep, $dimension, $dimension2, $tags, $pg, $graphics); + $rep, $dimension, $dimension2, $tags, $pg, $graphics, $labels, $serie1, $serie2); $open_balance_total += $totals_arr[0]; $period_balance_total += $totals_arr[1]; } @@ -169,13 +169,13 @@ function print_balance_sheet() 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;