Multiply contacts spport added.
[fa-stable.git] / reporting / rep111.php
index c5bed8d12f51c738ef94014ad6163f50557b4b9d..69fac4282e2c6149a58035773d1ef6675a212e07 100644 (file)
@@ -80,7 +80,8 @@ function print_sales_quotations()
                        $rep->Info($params, $cols, null, $aligns);
                }
                $rep->title = _("SALES QUOTATION");
-               $rep->SetCommonData($myrow, $branch, $myrow, $baccount, ST_SALESQUOTE);
+               $contacts = get_branch_contacts($branch['branch_code'], 'order', $branch['debtor_no']);
+               $rep->SetCommonData($myrow, $branch, $myrow, $baccount, ST_SALESQUOTE, $contacts);
                $rep->headerFunc = 'Header2';
                $rep->NewPage();