Rerun. Reports checked for warnings.
[fa-stable.git] / reporting / rep112.php
index 07e312cd9a514a24ed13859e25b0e71981926434..87d87ce5881e3b3f6486c3364399a07a438b4c29 100644 (file)
@@ -88,13 +88,10 @@ function print_receipts()
 
        $cur = get_company_Pref('curr_default');
 
-       if ($email == 0)
-       {
-               $rep = new FrontReport(_('RECEIPT'), "ReceiptBulk", user_pagesize());
-               $rep->currency = $cur;
-               $rep->Font();
-               $rep->Info($params, $cols, null, $aligns);
-       }
+       $rep = new FrontReport(_('RECEIPT'), "ReceiptBulk", user_pagesize());
+       $rep->currency = $cur;
+       $rep->Font();
+       $rep->Info($params, $cols, null, $aligns);
 
        for ($i = $fno[0]; $i <= $tno[0]; $i++)
        {
@@ -178,8 +175,7 @@ function print_receipts()
                        $rep->TextCol(6, 7, "__________________");
                }       
        }
-       if ($email == 0)
-               $rep->End();
+       $rep->End();
 }
 
 ?>
\ No newline at end of file