X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep109.php;h=0360afdca41214e31846e28bae8dda522cf0c9ae;hb=2007cfcc6a4df0ed52d9fde26f421863340dee2e;hp=e9be5d7669f1d94dbe449de250b67a8ead918352;hpb=99730b8d6deb7e81d2f1ebeb2ce7066d27729485;p=fa-stable.git diff --git a/reporting/rep109.php b/reporting/rep109.php index e9be5d76..0360afdc 100644 --- a/reporting/rep109.php +++ b/reporting/rep109.php @@ -54,10 +54,10 @@ function print_sales_orders() if ($email == 0) { - if ($print_as_quote == 1) - $rep = new FrontReport(_("QUOTE"), "QuoteBulk.pdf", user_pagesize()); - else + if ($print_as_quote == 0) $rep = new FrontReport(_("SALES ORDER"), "SalesOrderBulk.pdf", user_pagesize()); + else + $rep = new FrontReport(_("QUOTE"), "QuoteBulk.pdf", user_pagesize()); $rep->currency = $cur; $rep->Font(); $rep->Info($params, $cols, null, $aligns);