X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep708.php;h=6f3086b534c49c517e724a229cbc06bae9b694ae;hb=eb5b2d3ee7cc0fca5ec63dfada65ecf23b693e85;hp=322a1247b39f0aa21166702b5c862e6216803b0a;hpb=f50187b9c3095886d7fd847f635cd8763109a75e;p=fa-stable.git diff --git a/reporting/rep708.php b/reporting/rep708.php index 322a1247..6f3086b5 100644 --- a/reporting/rep708.php +++ b/reporting/rep708.php @@ -25,7 +25,6 @@ include_once($path_to_root . "/gl/includes/gl_db.inc"); //---------------------------------------------------------------------------------------------------- -// trial_inquiry_controls(); print_trial_balance(); //---------------------------------------------------------------------------------------------------- @@ -90,15 +89,9 @@ function print_trial_balance() $destination = $_POST['PARAM_5']; } if ($destination) - { include_once($path_to_root . "/reporting/includes/excel_report.inc"); - $filename = "TrialBalance.xml"; - } else - { include_once($path_to_root . "/reporting/includes/pdf_report.inc"); - $filename = "TrialBalance.pdf"; - } $dec = user_price_dec(); //$cols2 = array(0, 50, 230, 330, 430, 530); @@ -140,7 +133,7 @@ function print_trial_balance() 1 => array('text' => _('Period'),'from' => $from, 'to' => $to)); } - $rep = new FrontReport(_('Trial Balance'), $filename, user_pagesize()); + $rep = new FrontReport(_('Trial Balance'), "TrialBalance", user_pagesize()); $rep->Font(); $rep->Info($params, $cols, $headers, $aligns, $cols2, $headers2, $aligns2);