Rerun. Reports checked for warnings.
[fa-stable.git] / reporting / rep109.php
index a6a4a434e9b08f12952221aceea5dee802532017..2c3bb116e54e4c3ad0c8fc9c1d0b694e17dc1608 100644 (file)
@@ -158,7 +158,7 @@ function print_sales_orders()
                else    
                        $rep->TextCol(3, 6, $doc_TOTAL_ORDER2, - 2);
                $rep->TextCol(6, 7,     $DisplayTotal, -2);
-               $words = price_in_words($myrow['Total'], ST_SALESORDER);
+               $words = price_in_words($myrow["freight_cost"] + $SubTotal, ST_SALESORDER);
                if ($words != "")
                {
                        $rep->NewLine(1);