Def. COAs. Changed query_size in users table to unsigned tinyint(1)
[fa-stable.git] / reporting / rep111.php
index 89ef41d2149ec3ca430e3d70f9d39b7e8d5a93c8..a9fa659f2f3cd78e434ecb57deeb9fe924be186a 100644 (file)
@@ -80,7 +80,7 @@ function print_sales_quotations()
                $rep->Font();
                $rep->Info($params, $cols, null, $aligns);
 
-               $contacts = get_branch_contacts($branch['branch_code'], 'order', $branch['debtor_no'], false);
+               $contacts = get_branch_contacts($branch['branch_code'], 'order', $branch['debtor_no'], true);
                $rep->SetCommonData($myrow, $branch, $myrow, $baccount, ST_SALESQUOTE, $contacts);
                //$rep->headerFunc = 'Header2';
                $rep->NewPage();
@@ -114,7 +114,7 @@ function print_sales_quotations()
                                $rep->TextCol(4, 5,     $DisplayPrice, -2);
                                $rep->TextCol(5, 6,     $DisplayDiscount, -2);
                                $rep->TextCol(6, 7,     $DisplayNet, -2);
-                       }       
+                       }
                        $rep->row = $newrow;
                        //$rep->NewLine(1);
                        if ($rep->row < $rep->bottomMargin + (15 * $rep->lineHeight))