Cleanup.
[fa-stable.git] / reporting / rep111.php
index 00e0dcb79631894899518fc11c591a17af2fc152..02285fca2452857bf62adac6119761a67dfd3a39 100644 (file)
@@ -152,13 +152,6 @@ function print_sales_quotations()
                $rep->Font();
                if ($email == 1)
                {
-                       if ($myrow['contact_email'] == '')
-                       {
-                               $myrow['contact_email'] = $branch['email'];
-                               if ($myrow['contact_email'] == '')
-                                       $myrow['contact_email'] = $myrow['master_email'];
-                               $myrow['DebtorName'] = $branch['br_name'];
-                       }
                        if ($print_invoice_no == 1)
                                $myrow['reference'] = $i;
                        $rep->End($email, $doc_Invoice_no . " " . $myrow['reference'], $myrow);