Merged changes up to 2.3.16 into unstable
[fa-stable.git] / reporting / rep111.php
index eb973ff5be9a4a0c2bcf8d9a8d111b42ed384ba2..a9fa659f2f3cd78e434ecb57deeb9fe924be186a 100644 (file)
@@ -74,13 +74,13 @@ function print_sales_quotations()
                                $rep->filename = "SalesQuotation" . $i . ".pdf";
                        else    
                                $rep->filename = "SalesQuotation" . $myrow['reference'] . ".pdf";
-               }               
+               }
                $rep->SetHeaderType('Header2');
                $rep->currency = $cur;
                $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();