Added a date column and combined the # and View column in 'View / Print Transactions.
[fa-stable.git] / reporting / rep304.php
index f1262a1873730d0d5602e7d2769d647cec0feb90..f40d8e56c5c7f5fc71ff53c0d750de43f079ad7f 100644 (file)
@@ -127,7 +127,7 @@ function print_inventory_sales()
 
     $rep->Font();
     $rep->Info($params, $cols, $headers, $aligns);
-    $rep->Header();
+    $rep->NewPage();
 
        $res = getTransactions($category, $location, $fromcust, $from, $to);
        $total = $grandtotal = 0.0;
@@ -161,7 +161,7 @@ function print_inventory_sales()
                $trans['amt'] *= $rate;
                $cb = $trans['amt'] - $trans['cost'];
                $rep->NewLine();
-               $rep->fontsize -= 2;
+               $rep->fontSize -= 2;
                $rep->TextCol(0, 1, $trans['stock_id']);
                if ($fromcust == ALL_NUMERIC)
                {
@@ -174,7 +174,7 @@ function print_inventory_sales()
                $rep->AmountCol(4, 5, $trans['amt'], $dec);
                $rep->AmountCol(5, 6, $trans['cost'], $dec);
                $rep->AmountCol(6, 7, $cb, $dec);
-               $rep->fontsize += 2;
+               $rep->fontSize += 2;
                $total += $trans['amt'];
                $total1 += $trans['cost'];
                $total2 += $cb;