. ***********************************************************************/ class assets_app extends application { function assets_app() { $this->application("assets", _($this->help_context = "&Fixed Assets")); $this->add_module(_("Transactions")); $this->add_lapp_function(0, _("FA &Purchase"), "purchasing/po_entry_items.php?NewInvoice=Yes&FixedAsset=1", 'SA_SUPPLIERINVOICE', MENU_TRANSACTION); $this->add_lapp_function(0, _("FA Location &Transfers"), "inventory/transfers.php?NewTransfer=1&FixedAsset=1", 'SA_ASSETTRANSFER', MENU_TRANSACTION); $this->add_lapp_function(0, _("FA &Disposal"), "inventory/adjustments.php?NewAdjustment=1&FixedAsset=1", 'SA_ASSETDISPOSAL', MENU_TRANSACTION); $this->add_lapp_function(0, _("FA &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"), // "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"), "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_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"), "inventory/manage/locations.php?FixedAsset=1", 'SA_INVENTORYLOCATION', MENU_MAINTENANCE); $this->add_rapp_function(2, _("FA Item &Categories"), "inventory/manage/item_categories.php?FixedAsset=1", 'SA_ASSETCATEGORY', MENU_MAINTENANCE); $this->add_rapp_function(2, _("FA Cl&asses"), "fixed_assets/fixed_asset_classes.php", 'SA_ASSETCLASS', MENU_MAINTENANCE); $this->add_extensions(); } } ?>