X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep304.php;h=f40d8e56c5c7f5fc71ff53c0d750de43f079ad7f;hb=df3ebb4251529abb480179600417fe7164951fe2;hp=f1262a1873730d0d5602e7d2769d647cec0feb90;hpb=8ea6c4dd0d9b31b3456d012b0c94339b801bee0c;p=fa-stable.git diff --git a/reporting/rep304.php b/reporting/rep304.php index f1262a18..f40d8e56 100644 --- a/reporting/rep304.php +++ b/reporting/rep304.php @@ -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;