[0000290] Can't upload files
[fa-stable.git] / reporting / rep109.php
index b6077b6e9838fdeafe3b3bec4a35548bae542a1c..845d0ac746301e19fb1643c60e8380e068b9f91b 100644 (file)
@@ -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,7 +214,6 @@ function print_sales_orders()
                $rep->Font();
                if ($email == 1)
                {
-                       $res = get_branch_contacts($branch['branch_code'], 'order', $branch['customer_id']);
                        $rep->End($email, $doc_Invoice_no . " " . $i, $myrow);
                }
        }