X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep109.php;h=7c57da3f3f643afd30ff6d7ba4dda7ee85c3d351;hb=5dec41f0d87e407e1c9ffcb8eb63b92e4e471a9b;hp=78e7a1eaa975fd950a39d3d9926ba15e07a12653;hpb=e1c22a904052bae141ace1ebdaaf2b81d9111139;p=fa-stable.git diff --git a/reporting/rep109.php b/reporting/rep109.php index 78e7a1ea..7c57da3f 100644 --- a/reporting/rep109.php +++ b/reporting/rep109.php @@ -1,13 +1,13 @@ . + See the License here . ***********************************************************************/ $page_security = 2; // ---------------------------------------------------------------- @@ -25,7 +25,6 @@ include_once($path_to_root . "/sales/includes/sales_db.inc"); //---------------------------------------------------------------------------------------------------- -// trial_inquiry_controls(); print_sales_orders(); $print_as_quote = 0; @@ -64,9 +63,9 @@ function print_sales_orders() if ($email == 0) { if ($print_as_quote == 0) - $rep = new FrontReport(_("SALES ORDER"), "SalesOrderBulk.pdf", user_pagesize()); + $rep = new FrontReport(_("SALES ORDER"), "SalesOrderBulk", user_pagesize()); else - $rep = new FrontReport(_("QUOTE"), "QuoteBulk.pdf", user_pagesize()); + $rep = new FrontReport(_("QUOTE"), "QuoteBulk", user_pagesize()); $rep->currency = $cur; $rep->Font(); $rep->Info($params, $cols, null, $aligns); @@ -164,7 +163,7 @@ function print_sales_orders() $myrow['contact_email'] = $branch['email']; $myrow['DebtorName'] = $branch['br_name']; } - $rep->End($email, $doc_Invoice_no . " " . $myrow['reference'], $myrow); + $rep->End($email, $doc_Invoice_no . " " . $i, $myrow); } } if ($email == 0)