Added message when no file is selected for view or download.
[fa-stable.git] / reporting / rep701.php
index 4f49b549fbf91c399fc69bc6ec93aff30487d2f9..fc7b8a43006f1149fb0f0b9b51abf576ef471811 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_GLREP';
 // ----------------------------------------------------------------
 // $ Revision: 2.0 $
 // Creator:    Joe Hunt
@@ -71,13 +71,17 @@ function print_Chart_of_Accounts()
                        if ($account['AccountClassName'] != $classname)
                        {
                                $rep->Font('bold');
-                               $rep->TextCol(0, 4, $account['AccountClassName']);
+                               //$rep->TextCol(0, 4, $account['AccountClassName']);
+                               $rep->TextCol(0, 1, $account['ClassID']);
+                               $rep->TextCol(1, 4, $account['AccountClassName']);
                                $rep->Font();
                                //$rep->row -= ($rep->lineHeight + 4);
                                $rep->NewLine();
                        }
                        $group = $account['AccountTypeName'];
-                       $rep->TextCol(0, 4, $account['AccountTypeName']);
+                       //$rep->TextCol(0, 4, $account['AccountTypeName']);
+                       $rep->TextCol(0, 1, $account['AccountType']);
+                       $rep->TextCol(1, 4, $account['AccountTypeName']);
                        //$rep->Line($rep->row - 4);
                        //$rep->row -= ($rep->lineHeight + 4);
                        $rep->NewLine();