X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep707.php;h=211e504fe473aa04a68eca5a7cd2d4de2f09d60a;hb=7840540918bfd37c886877a5d52e3ba0b3373289;hp=85ef695ffe260cbe9b5f75da0c3fac8975e51d3d;hpb=ee7f610a0669b4dd4a85d19c1969573a82ee1826;p=fa-stable.git diff --git a/reporting/rep707.php b/reporting/rep707.php index 85ef695f..211e504f 100644 --- a/reporting/rep707.php +++ b/reporting/rep707.php @@ -101,7 +101,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, $pg, $graphics); + $pdec, $rep, $dimension, $dimension2, $tags, $pg, $graphics); $per_balance_total += $totals_arr[0]; $acc_balance_total += $totals_arr[1]; } @@ -324,9 +324,8 @@ function print_profit_and_loss_statement() $pg->type = $graphics; $pg->skin = $graph_skin; $pg->built_in = false; - $pg->fontfile = $path_to_root . "/reporting/fonts/Vera.ttf"; $pg->latin_notation = ($decseps[$_SESSION["wa_current_user"]->prefs->dec_sep()] != "."); - $filename = company_path(). "/pdf_files/test.png"; + $filename = company_path(). "/pdf_files/". uniqid("").".png"; $pg->display($filename, true); $w = $pg->width / 1.5; $h = $pg->height / 1.5;