Merged changes from main trunk up to 2.2.5
[fa-stable.git] / reporting / rep111.php
index 0301ed616e2f8677c3765cb3f703702f0e16aca9..5db2f9d06dd40f8ce9281e46d4c1eea7228f35fa 100644 (file)
@@ -142,6 +142,12 @@ function print_sales_quotations()
                else    
                        $rep->TextCol(3, 6, $doc_TOTAL_ORDER2, - 2);
                $rep->TextCol(6, 7,     $DisplayTotal, -2);
+               $words = price_in_words($myrow["freight_cost"] + $SubTotal, ST_SALESQUOTE);
+               if ($words != "")
+               {
+                       $rep->NewLine(1);
+                       $rep->TextCol(1, 7, $myrow['curr_code'] . ": " . $words, - 2);
+               }       
                $rep->Font();
                if ($email == 1)
                {