X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=applications%2Ffixed_assets.php;h=8c6485d5805ba68481ad8775f9be5165d4a9235d;hb=8eb8e44cb90ab144f0849d1ecd2153175b619786;hp=3967c06a6e4f6981cc9ab0bf4e4e3f1ae488db74;hpb=d4bcee971cf7ea37e2afc9d6abeb16d00af20de8;p=fa-stable.git diff --git a/applications/fixed_assets.php b/applications/fixed_assets.php index 3967c06a..8c6485d5 100644 --- a/applications/fixed_assets.php +++ b/applications/fixed_assets.php @@ -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"),