Rewritten sales shipping cost taxation, improved shipping cost handling in sales...
[fa-stable.git] / applications / fixed_assets.php
index 3967c06a6e4f6981cc9ab0bf4e4e3f1ae488db74..8c6485d5805ba68481ad8775f9be5165d4a9235d 100644 (file)
@@ -11,9 +11,9 @@
 ***********************************************************************/
 class assets_app extends application
 {
-       function assets_app()
+       function __construct()
        {
-               $this->application("assets", _($this->help_context = "&Fixed Assets"));
+               parent::__construct("assets", _($this->help_context = "&Fixed Assets"));
                        
                $this->add_module(_("Transactions"));
                $this->add_lapp_function(0, _("Fixed Assets &Purchase"),
@@ -43,7 +43,7 @@ class assets_app extends application
                $this->add_module(_("Maintenance"));
                
                $this->add_lapp_function(2, _("Fixed &Assets"),
-                       "inventory/manage/items.php?FixedAsset=1", 'SA_ASSET', MENU_ENTRY);
+                       "inventory/manage/items.php?type=F", 'SA_ASSET', MENU_ENTRY);
                $this->add_rapp_function(2, _("Fixed Assets &Locations"),
                        "inventory/manage/locations.php?FixedAsset=1", 'SA_INVENTORYLOCATION', MENU_MAINTENANCE);
                $this->add_rapp_function(2, _("Fixed Assets &Categories"),