X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=applications%2Ffixed_assets.php;h=8a3bb86dcb6e22c16b3adff79cb40a225ee4d0a2;hb=3a07ab5b09141aa056c2c628f4f9fec79f45e85b;hp=35aa150a8a02553944d311afeb8a28ef58607c76;hpb=fd069bba86276f15311ff6ab10b22d4a06a55513;p=fa-stable.git diff --git a/applications/fixed_assets.php b/applications/fixed_assets.php index 35aa150a..8a3bb86d 100644 --- a/applications/fixed_assets.php +++ b/applications/fixed_assets.php @@ -11,41 +11,44 @@ ***********************************************************************/ 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, _("FA &Purchase"), + $this->add_lapp_function(0, _("Fixed Assets &Purchase"), "purchasing/po_entry_items.php?NewInvoice=Yes&FixedAsset=1", 'SA_SUPPLIERINVOICE', MENU_TRANSACTION); - $this->add_lapp_function(0, _("FA Location &Transfers"), + $this->add_lapp_function(0, _("Fixed Assets Location &Transfers"), "inventory/transfers.php?NewTransfer=1&FixedAsset=1", 'SA_ASSETTRANSFER', MENU_TRANSACTION); - $this->add_lapp_function(0, _("FA &Disposal"), + $this->add_lapp_function(0, _("Fixed Assets &Disposal"), "inventory/adjustments.php?NewAdjustment=1&FixedAsset=1", 'SA_ASSETDISPOSAL', MENU_TRANSACTION); - $this->add_lapp_function(0, _("FA &Sale"), + $this->add_lapp_function(0, _("Fixed Assets &Sale"), "sales/sales_order_entry.php?NewInvoice=0&FixedAsset=1", 'SA_SALESINVOICE', MENU_TRANSACTION); $this->add_rapp_function(0, _("Process &Depreciation"), "fixed_assets/process_depreciation.php", 'SA_DEPRECIATION', MENU_MAINTENANCE); // TODO: needs work - //$this->add_rapp_function(0, _("FA &Revaluation"), + //$this->add_rapp_function(0, _("Fixed Assets &Revaluation"), // "inventory/cost_update.php?FixedAsset=1", 'SA_STANDARDCOST', MENU_MAINTENANCE); $this->add_module(_("Inquiries and Reports")); - $this->add_lapp_function(1, _("FA Item In&quiry"), + $this->add_lapp_function(1, _("Fixed Assets &Movements"), + "inventory/inquiry/stock_movements.php?FixedAsset=1", 'SA_ASSETSTRANSVIEW', MENU_INQUIRY); + $this->add_lapp_function(1, _("Fixed Assets In&quiry"), "fixed_assets/inquiry/stock_inquiry.php?", 'SA_ASSETSANALYTIC', MENU_INQUIRY); - $this->add_rapp_function(1, _("FA Item &Movements"), - "inventory/inquiry/stock_movements.php?FixedAsset=1", 'SA_ASSETSTRANSVIEW', MENU_INQUIRY); + + $this->add_rapp_function(1, _("Fixed Assets &Reports"), + "reporting/reports_main.php?Class=7", 'SA_ASSETSANALYTIC', MENU_REPORT); $this->add_module(_("Maintenance")); $this->add_lapp_function(2, _("Fixed &Assets"), "inventory/manage/items.php?FixedAsset=1", 'SA_ASSET', MENU_ENTRY); - $this->add_rapp_function(2, _("FA &Locations"), + $this->add_rapp_function(2, _("Fixed Assets &Locations"), "inventory/manage/locations.php?FixedAsset=1", 'SA_INVENTORYLOCATION', MENU_MAINTENANCE); - $this->add_rapp_function(2, _("FA Item &Categories"), + $this->add_rapp_function(2, _("Fixed Assets &Categories"), "inventory/manage/item_categories.php?FixedAsset=1", 'SA_ASSETCATEGORY', MENU_MAINTENANCE); - $this->add_rapp_function(2, _("FA Cl&asses"), + $this->add_rapp_function(2, _("Fixed Assets Cl&asses"), "fixed_assets/fixed_asset_classes.php", 'SA_ASSETCLASS', MENU_MAINTENANCE); $this->add_extensions();