Changed all numeric constants to the new defined constants. A huge task.
[fa-stable.git] / reporting / rep111.php
index 4272dbf6aec9f5cb9bbc2038d0e180f5e7aa8f30..cbf48a04f68f03f6bf4e91bf6b1ba3a481af8c9e 100644 (file)
@@ -68,7 +68,7 @@ function print_sales_quotations()
 
        for ($i = $from; $i <= $to; $i++)
        {
-               $myrow = get_sales_order_header($i, 32);
+               $myrow = get_sales_order_header($i, ST_SALESQUOTE);
                $branch = get_branch($myrow["branch_code"]);
                if ($email == 1)
                {
@@ -81,7 +81,7 @@ function print_sales_quotations()
                $rep->title = _("SALES QUOTATION");
                $rep->Header2($myrow, $branch, $myrow, $baccount, 7);
 
-               $result = get_sales_order_details($i, 32);
+               $result = get_sales_order_details($i, ST_SALESQUOTE);
                $SubTotal = 0;
                while ($myrow2=db_fetch($result))
                {