Merged changes from main trunk up to 2.2.5
[fa-stable.git] / reporting / rep209.php
index e8278e60e13036c644e5742654c61c983c4b0a79..87b9f559a623ce49e356e5873f2dad1239f96c9b 100644 (file)
@@ -167,6 +167,12 @@ function print_po()
                $rep->Font('bold');
                $rep->TextCol(3, 6, $doc_TOTAL_PO, - 2);
                $rep->TextCol(6, 7,     $DisplayTotal, -2);
+               $words = price_in_words($SubTotal, ST_PURCHORDER);
+               if ($words != "")
+               {
+                       $rep->NewLine(1);
+                       $rep->TextCol(1, 7, $myrow['curr_code'] . ": " . $words, - 2);
+               }       
                $rep->Font();
                if ($email == 1)
                {