X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep111.php;h=cbf48a04f68f03f6bf4e91bf6b1ba3a481af8c9e;hb=c31829537f02787dd94654820dd74168c054b8c4;hp=4272dbf6aec9f5cb9bbc2038d0e180f5e7aa8f30;hpb=0da4935c1fb5b588bfd7ead31f05069c9566eb8d;p=fa-stable.git diff --git a/reporting/rep111.php b/reporting/rep111.php index 4272dbf6..cbf48a04 100644 --- a/reporting/rep111.php +++ b/reporting/rep111.php @@ -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)) {