Update from usntable branch.
[fa-stable.git] / reporting / rep706.php
index 3f09f5c0083bf81d54436283f0c36413694a693a..1ef4a9d72bc7877f3eb8783fd3baec3f1aa6abcc 100644 (file)
@@ -9,7 +9,7 @@
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  
     See the License here <http://www.gnu.org/licenses/gpl-3.0.html>.
 ***********************************************************************/
-$page_security = 2;
+$page_security = 'SA_GLANALYTIC';
 // ----------------------------------------------------------------
 // $ Revision: 2.0 $
 // Creator:    Joe Hunt
@@ -331,11 +331,13 @@ function print_balance_sheet()
                                $rep->AmountCol(2, 3, -$assetsopen * $convert, $dec);
                                $rep->AmountCol(3, 4, -$assetsperiod * $convert, $dec);
                                $rep->AmountCol(4, 5, -$assetsclose * $convert, $dec);
+                               $rep->Font();
                                $rep->NewLine();
                                if ($equityopen != 0.0 || $equityperiod != 0.0 || $equityclose != 0.0 ||
                                        $lopen != 0.0 || $lperiod != 0.0 || $lclose != 0.0)
                                {
                                        $rep->NewLine();
+                                       $rep->Font('bold');
                                        $rep->TextCol(0, 2,     _('Total') . " " . _('Liabilities') . _(' and ') . _('Equities'));
                                        $rep->AmountCol(2, 3, ($lopen + $equityopen + $calculateopen) * -1, $dec);
                                        $rep->AmountCol(3, 4, ($lperiod + $equityperiod + $calculateperiod) * -1, $dec);
@@ -343,7 +345,6 @@ function print_balance_sheet()
                                        $rep->Font();
                                        $rep->NewLine();
                                }
-                               $rep->Font();
                        }
                }
        }