X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=frontaccounting.php;h=326f74ae8cfd540c96b3e14502fccf0938b43a57;hb=07737913eea4abbc7a8604a286852facb2134540;hp=3d3347b1aa4f613065745b45ab6dd78ac8431812;hpb=17b390efcf904072b02ec866b2a427490471a260;p=fa-stable.git diff --git a/frontaccounting.php b/frontaccounting.php index 3d3347b1..326f74ae 100644 --- a/frontaccounting.php +++ b/frontaccounting.php @@ -15,6 +15,7 @@ if (!isset($path_to_root) || isset($_GET['path_to_root']) || isset($_POST['path_ include_once($path_to_root . '/applications/customers.php'); include_once($path_to_root . '/applications/suppliers.php'); include_once($path_to_root . '/applications/inventory.php'); + include_once($path_to_root . '/applications/fixed_assets.php'); include_once($path_to_root . '/applications/manufacturing.php'); include_once($path_to_root . '/applications/dimensions.php'); include_once($path_to_root . '/applications/generalledger.php'); @@ -22,7 +23,7 @@ if (!isset($path_to_root) || isset($_GET['path_to_root']) || isset($_POST['path_ include_once($path_to_root . '/installed_extensions.php'); class front_accounting - { + { var $user; var $settings; var $applications; @@ -34,16 +35,16 @@ if (!isset($path_to_root) || isset($_GET['path_to_root']) || isset($_POST['path_ { } function add_application(&$app) - { - if ($app->enabled) // skip inactive modules - $this->applications[$app->id] = &$app; - } + { + if ($app->enabled) // skip inactive modules + $this->applications[$app->id] = &$app; + } function get_application($id) - { - if (isset($this->applications[$id])) - return $this->applications[$id]; - return null; - } + { + if (isset($this->applications[$id])) + return $this->applications[$id]; + return null; + } function get_selected_application() { if (isset($this->selected_application)) @@ -78,6 +79,7 @@ if (!isset($path_to_root) || isset($_GET['path_to_root']) || isset($_POST['path_ $this->add_application(new suppliers_app()); $this->add_application(new inventory_app()); $this->add_application(new manufacturing_app()); + $this->add_application(new assets_app()); $this->add_application(new dimensions_app()); $this->add_application(new general_ledger_app()); @@ -85,4 +87,4 @@ if (!isset($path_to_root) || isset($_GET['path_to_root']) || isset($_POST['path_ $this->add_application(new setup_app()); } -} + }