+ if ($email == 1)
+ {
+ $rep = new FrontReport("", "", user_pagesize(), 9, $orientation);
+ $rep->title = _('RECEIPT');
+ $rep->filename = "Receipt" . $i . ".pdf";
+ }
+ $rep->currency = $cur;
+ $rep->Font();
+ $rep->Info($params, $cols, null, $aligns);
+