projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
This was bad idea. The problem should be solved on php side.
[fa-stable.git]
/
reporting
/
rep109.php
diff --git
a/reporting/rep109.php
b/reporting/rep109.php
index e9be5d7669f1d94dbe449de250b67a8ead918352..0360afdca41214e31846e28bae8dda522cf0c9ae 100644
(file)
--- a/
reporting/rep109.php
+++ b/
reporting/rep109.php
@@
-54,10
+54,10
@@
function print_sales_orders()
if ($email == 0)
{
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());
$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);
$rep->currency = $cur;
$rep->Font();
$rep->Info($params, $cols, null, $aligns);