X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep109.php;h=845d0ac746301e19fb1643c60e8380e068b9f91b;hb=5089910120614dfb8b76a0271b43739f90f38b01;hp=26ffb53a2a7c7828f47d21ba34dd67852b01461d;hpb=4e2101cc3e8565bba519dc137795a271adf1e3a5;p=fa-stable.git diff --git a/reporting/rep109.php b/reporting/rep109.php index 26ffb53a..845d0ac7 100644 --- a/reporting/rep109.php +++ b/reporting/rep109.php @@ -203,9 +203,6 @@ function print_sales_orders() $DisplayTotal = number_format2($myrow["freight_cost"] + $SubTotal, $dec); $rep->Font('bold'); -// if ($myrow['tax_included'] == 0) -// $rep->TextCol(3, 6, $doc_TOTAL_ORDER, - 2); -// else $rep->TextCol(3, 6, $doc_TOTAL_ORDER2, - 2); $rep->TextCol(6, 7, $DisplayTotal, -2); $words = price_in_words($myrow["freight_cost"] + $SubTotal, ST_SALESORDER); @@ -217,15 +214,6 @@ function print_sales_orders() $rep->Font(); if ($email == 1) { - $res = get_branch_contacts(branch_code, 'order', customer_id); - if ($myrow['contact_email'] == '') - { - $myrow['contact_email'] = $branch['email']; - if ($myrow['contact_email'] == '') - $myrow['contact_email'] = $myrow['master_email']; - $myrow['DebtorName'] = $branch['br_name']; - } - //$myrow['reference'] = $i; $rep->End($email, $doc_Invoice_no . " " . $i, $myrow); } }