Added document Receipt and small rearrangements and bugfixes
[fa-stable.git] / reporting / rep107.php
index 5d181090fe02a27242deaa06525bb61a51d1b79a..54aefe044b6a0eae4b6078fa2da5fd17be5113bb 100644 (file)
@@ -192,6 +192,12 @@ function print_invoices()
                        $rep->Font('bold');
                        $rep->TextCol(3, 6, $doc_TOTAL_INVOICE, - 2);
                        $rep->TextCol(6, 7, $DisplayTotal, -2);
+                       $words = price_in_words($myrow['Total'], $j);
+                       if ($words != "")
+                       {
+                               $rep->NewLine(1);
+                               $rep->TextCol(1, 7, $myrow['curr_code'] . ": " . $words, - 2);
+                       }       
                        $rep->Font();
                        if ($email == 1)
                        {