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);
$rep->TextCol(6, 7, $DisplayNet, -2);
$rep->NewLine(1);
if ($rep->row < $rep->bottomMargin + (15 * $rep->lineHeight))
- $rep->Header2($myrow, $branch, $sales_order, $baccount);
+ $rep->Header2($myrow, $branch, $myrow, $baccount, 9);
}
if ($myrow['comments'] != "")
{