Merged changes from main trunk up to 2.2.5
[fa-stable.git] / reporting / rep109.php
index 5b049c111ce799fd0a4be400fe0b6a03ab392320..2c3bb116e54e4c3ad0c8fc9c1d0b694e17dc1608 100644 (file)
@@ -158,6 +158,12 @@ function print_sales_orders()
                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);
+               if ($words != "")
+               {
+                       $rep->NewLine(1);
+                       $rep->TextCol(1, 7, $myrow['curr_code'] . ": " . $words, - 2);
+               }       
                $rep->Font();
                if ($email == 1)
                {