X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep203.php;h=c276188f8a6d0befbcb2cab9f91cb57c31c0fb85;hb=4a4ad9da800763d6ac61c8458a3c8bbc53f2436f;hp=078c7c0801bc8e147efcf730963314d6f1091543;hpb=f50187b9c3095886d7fd847f635cd8763109a75e;p=fa-stable.git diff --git a/reporting/rep203.php b/reporting/rep203.php index 078c7c08..c276188f 100644 --- a/reporting/rep203.php +++ b/reporting/rep203.php @@ -25,7 +25,6 @@ include_once($path_to_root . "/gl/includes/gl_db.inc"); //---------------------------------------------------------------------------------------------------- -// trial_inquiry_controls(); print_payment_report(); function getTransactions($supplier, $date) @@ -65,15 +64,9 @@ function print_payment_report() $comments = $_POST['PARAM_3']; $destination = $_POST['PARAM_4']; if ($destination) - { include_once($path_to_root . "/reporting/includes/excel_report.inc"); - $filename = "PaymentReport.xml"; - } else - { include_once($path_to_root . "/reporting/includes/pdf_report.inc"); - $filename = "PaymentReport.pdf"; - } if ($fromsupp == reserved_words::get_all_numeric()) $from = _('All'); @@ -102,7 +95,7 @@ function print_payment_report() 2 => array('text' => _('Supplier'), 'from' => $from, 'to' => ''), 3 => array( 'text' => _('Currency'),'from' => $currency, 'to' => '')); - $rep = new FrontReport(_('Payment Report'), "PaymentReport.pdf", user_pagesize()); + $rep = new FrontReport(_('Payment Report'), "PaymentReport", user_pagesize()); $rep->Font(); $rep->Info($params, $cols, $headers, $aligns);