Changed Std. Cost to show all decimals, and added UOM
[fa-stable.git] / applications / generalledger.php
index 70a022a0b46cd303a249b017b3212ffd6a8e8273..1bbea0d4c5779a0e65b2d69b3d0019d4ff1bd308 100644 (file)
@@ -1,17 +1,17 @@
 <?php
 /**********************************************************************
     Copyright (C) FrontAccounting, LLC.
-       Released under the terms of the GNU General Public License, GPL, 
-       as published by the Free Software Foundation, either version 3 
+       Released under the terms of the GNU General Public License, GPL,
+       as published by the Free Software Foundation, either version 3
        of the License, or (at your option) any later version.
     This program is distributed in the hope that it will be useful,
     but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
     See the License here <http://www.gnu.org/licenses/gpl-3.0.html>.
 ***********************************************************************/
-class general_ledger_app extends application 
+class general_ledger_app extends application
 {
-       function general_ledger_app() 
+       function general_ledger_app()
        {
                $this->application("GL", _($this->help_context = "&Banking and General Ledger"));
 
@@ -28,7 +28,9 @@ class general_ledger_app extends application
                        "gl/gl_budget.php?", 'SA_BUDGETENTRY');
                $this->add_rapp_function(0, _("&Reconcile Bank Account"),
                        "gl/bank_account_reconcile.php?", 'SA_RECONCILE');
-                       
+               $this->add_rapp_function(0, _("Revenue / &Costs Accruals"),
+                       "gl/accruals.php?", 'SA_ACCRUALS');
+
                $this->add_module(_("Inquiries and Reports"));
                $this->add_lapp_function(1, _("&Journal Inquiry"),
                        "gl/inquiry/journal_inquiry.php?", 'SA_GLANALYTIC');
@@ -41,12 +43,14 @@ class general_ledger_app extends application
 
                $this->add_rapp_function(1, _("Trial &Balance"),
                        "gl/inquiry/gl_trial_balance.php?", 'SA_GLANALYTIC');
-               $this->add_rapp_function(1, _("Balance &Sheet"),
+               $this->add_rapp_function(1, _("Balance &Sheet Drilldown"),
                        "gl/inquiry/balance_sheet.php?", 'SA_GLANALYTIC');
+               $this->add_rapp_function(1, _("&Profit and Loss Drilldown"),
+                       "gl/inquiry/profit_loss.php?", 'SA_GLANALYTIC');
                $this->add_rapp_function(1, _("Banking &Reports"),
                        "reporting/reports_main.php?Class=5", 'SA_BANKREP');
                $this->add_rapp_function(1, _("General Ledger &Reports"),
-                       "reporting/reports_main.php?Class="._("General Ledger"), 'SA_GLREP');
+                       "reporting/reports_main.php?Class=6", 'SA_GLREP');
 
                $this->add_module(_("Maintenance"));
                $this->add_lapp_function(2, _("Bank &Accounts"),
@@ -67,6 +71,9 @@ class general_ledger_app extends application
                        "gl/manage/gl_account_types.php?", 'SA_GLACCOUNTGROUP');
                $this->add_rapp_function(2, _("GL Account &Classes"),
                        "gl/manage/gl_account_classes.php?", 'SA_GLACCOUNTCLASS');
+               $this->add_rapp_function(2, "","");
+               $this->add_rapp_function(2, _("&Revaluation of Currency Accounts"),
+                       "gl/manage/revaluate_currencies.php?", 'SA_EXCHANGERATE');
 
                $this->add_extensions();
        }