projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Incorrect Journal Balance (sales invoice) when many decimals in tax and price.
[fa-stable.git]
/
applications
/
setup.php
diff --git
a/applications/setup.php
b/applications/setup.php
index 89b095ecf30e92933f2c0a51e6f6ddcffefef3fd..5f29aff11f8cac3a00e861c1972a800e67525857 100644
(file)
--- a/
applications/setup.php
+++ b/
applications/setup.php
@@
-11,72
+11,73
@@
***********************************************************************/
class setup_app extends application
{
***********************************************************************/
class setup_app extends application
{
- function
setup_app
()
+ function
__construct
()
{
{
-
$this->application
("system", _($this->help_context = "S&etup"));
+
parent::__construct
("system", _($this->help_context = "S&etup"));
$this->add_module(_("Company Setup"));
$this->add_lapp_function(0, _("&Company Setup"),
$this->add_module(_("Company Setup"));
$this->add_lapp_function(0, _("&Company Setup"),
- "admin/company_preferences.php?", 'SA_SETUPCOMPANY');
+ "admin/company_preferences.php?", 'SA_SETUPCOMPANY'
, MENU_SETTINGS
);
$this->add_lapp_function(0, _("&User Accounts Setup"),
$this->add_lapp_function(0, _("&User Accounts Setup"),
- "admin/users.php?", 'SA_USERS');
+ "admin/users.php?", 'SA_USERS'
, MENU_SETTINGS
);
$this->add_lapp_function(0, _("&Access Setup"),
$this->add_lapp_function(0, _("&Access Setup"),
- "admin/security_roles.php?", 'SA_SECROLES');
+ "admin/security_roles.php?", 'SA_SECROLES'
, MENU_SETTINGS
);
$this->add_lapp_function(0, _("&Display Setup"),
$this->add_lapp_function(0, _("&Display Setup"),
- "admin/display_prefs.php?", 'SA_SETUPDISPLAY');
- $this->add_lapp_function(0, _("
&Forms Setup
"),
- "admin/forms_setup.php?", 'SA_FORMSETUP');
+ "admin/display_prefs.php?", 'SA_SETUPDISPLAY'
, MENU_SETTINGS
);
+ $this->add_lapp_function(0, _("
Transaction &References
"),
+ "admin/forms_setup.php?", 'SA_FORMSETUP'
, MENU_SETTINGS
);
$this->add_rapp_function(0, _("&Taxes"),
$this->add_rapp_function(0, _("&Taxes"),
- "taxes/tax_types.php?", 'SA_TAXRATES');
+ "taxes/tax_types.php?", 'SA_TAXRATES'
, MENU_MAINTENANCE
);
$this->add_rapp_function(0, _("Tax &Groups"),
$this->add_rapp_function(0, _("Tax &Groups"),
- "taxes/tax_groups.php?", 'SA_TAXGROUPS');
+ "taxes/tax_groups.php?", 'SA_TAXGROUPS'
, MENU_MAINTENANCE
);
$this->add_rapp_function(0, _("Item Ta&x Types"),
$this->add_rapp_function(0, _("Item Ta&x Types"),
- "taxes/item_tax_types.php?", 'SA_ITEMTAXTYPE');
+ "taxes/item_tax_types.php?", 'SA_ITEMTAXTYPE'
, MENU_MAINTENANCE
);
$this->add_rapp_function(0, _("System and &General GL Setup"),
$this->add_rapp_function(0, _("System and &General GL Setup"),
- "admin/gl_setup.php?", 'SA_GLSETUP');
+ "admin/gl_setup.php?", 'SA_GLSETUP'
, MENU_SETTINGS
);
$this->add_rapp_function(0, _("&Fiscal Years"),
$this->add_rapp_function(0, _("&Fiscal Years"),
- "admin/fiscalyears.php?", 'SA_FISCALYEARS');
+ "admin/fiscalyears.php?", 'SA_FISCALYEARS'
, MENU_MAINTENANCE
);
$this->add_rapp_function(0, _("&Print Profiles"),
$this->add_rapp_function(0, _("&Print Profiles"),
- "admin/print_profiles.php?", 'SA_PRINTPROFILE');
+ "admin/print_profiles.php?", 'SA_PRINTPROFILE'
, MENU_MAINTENANCE
);
$this->add_module(_("Miscellaneous"));
$this->add_lapp_function(1, _("Pa&yment Terms"),
$this->add_module(_("Miscellaneous"));
$this->add_lapp_function(1, _("Pa&yment Terms"),
- "admin/payment_terms.php?", 'SA_PAYTERMS');
+ "admin/payment_terms.php?", 'SA_PAYTERMS'
, MENU_MAINTENANCE
);
$this->add_lapp_function(1, _("Shi&pping Company"),
$this->add_lapp_function(1, _("Shi&pping Company"),
- "admin/shipping_companies.php?", 'SA_SHIPPING');
+ "admin/shipping_companies.php?", 'SA_SHIPPING'
, MENU_MAINTENANCE
);
$this->add_rapp_function(1, _("&Points of Sale"),
$this->add_rapp_function(1, _("&Points of Sale"),
- "sales/manage/sales_points.php?", 'SA_POSSETUP');
+ "sales/manage/sales_points.php?", 'SA_POSSETUP'
, MENU_MAINTENANCE
);
$this->add_rapp_function(1, _("&Printers"),
$this->add_rapp_function(1, _("&Printers"),
- "admin/printers.php?", 'SA_PRINTERS');
+ "admin/printers.php?", 'SA_PRINTERS'
, MENU_MAINTENANCE
);
$this->add_rapp_function(1, _("Contact &Categories"),
$this->add_rapp_function(1, _("Contact &Categories"),
- "admin/crm_categories.php?", 'SA_CRMCATEGORY');
+ "admin/crm_categories.php?", 'SA_CRMCATEGORY'
, MENU_MAINTENANCE
);
$this->add_module(_("Maintenance"));
$this->add_lapp_function(2, _("&Void a Transaction"),
$this->add_module(_("Maintenance"));
$this->add_lapp_function(2, _("&Void a Transaction"),
- "admin/void_transaction.php?", 'SA_VOIDTRANSACTION');
+ "admin/void_transaction.php?", 'SA_VOIDTRANSACTION'
, MENU_MAINTENANCE
);
$this->add_lapp_function(2, _("View or &Print Transactions"),
$this->add_lapp_function(2, _("View or &Print Transactions"),
- "admin/view_print_transaction.php?", 'SA_VIEWPRINTTRANSACTION');
+ "admin/view_print_transaction.php?", 'SA_VIEWPRINTTRANSACTION'
, MENU_MAINTENANCE
);
$this->add_lapp_function(2, _("&Attach Documents"),
$this->add_lapp_function(2, _("&Attach Documents"),
- "admin/attachments.php?filterType=20", 'SA_ATTACHDOCUMENT');
+ "admin/attachments.php?filterType=20", 'SA_ATTACHDOCUMENT'
, MENU_MAINTENANCE
);
$this->add_lapp_function(2, _("System &Diagnostics"),
$this->add_lapp_function(2, _("System &Diagnostics"),
- "admin/system_diagnostics.php?", 'SA_
OPEN'
);
+ "admin/system_diagnostics.php?", 'SA_
SOFTWAREUPGRADE', MENU_SYSTEM
);
$this->add_rapp_function(2, _("&Backup and Restore"),
$this->add_rapp_function(2, _("&Backup and Restore"),
- "admin/backups.php?", 'SA_BACKUP');
+ "admin/backups.php?", 'SA_BACKUP'
, MENU_SYSTEM
);
$this->add_rapp_function(2, _("Create/Update &Companies"),
$this->add_rapp_function(2, _("Create/Update &Companies"),
- "admin/create_coy.php?", 'SA_CREATECOMPANY');
+ "admin/create_coy.php?", 'SA_CREATECOMPANY'
, MENU_UPDATE
);
$this->add_rapp_function(2, _("Install/Update &Languages"),
$this->add_rapp_function(2, _("Install/Update &Languages"),
- "admin/inst_lang.php?", 'SA_CREATELANGUAGE');
+ "admin/inst_lang.php?", 'SA_CREATELANGUAGE'
, MENU_UPDATE
);
$this->add_rapp_function(2, _("Install/Activate &Extensions"),
$this->add_rapp_function(2, _("Install/Activate &Extensions"),
- "admin/inst_module.php?", 'SA_CREATEMODULES');
+ "admin/inst_module.php?", 'SA_CREATEMODULES'
, MENU_UPDATE
);
$this->add_rapp_function(2, _("Install/Activate &Themes"),
$this->add_rapp_function(2, _("Install/Activate &Themes"),
- "admin/inst_theme.php?", 'SA_CREATEMODULES');
+ "admin/inst_theme.php?", 'SA_CREATEMODULES', MENU_UPDATE);
+ $this->add_rapp_function(2, _("Install/Activate &Chart of Accounts"),
+ "admin/inst_chart.php?", 'SA_CREATEMODULES', MENU_UPDATE);
$this->add_rapp_function(2, _("Software &Upgrade"),
$this->add_rapp_function(2, _("Software &Upgrade"),
- "admin/inst_upgrade.php?", 'SA_SOFTWAREUPGRADE');
+ "admin/inst_upgrade.php?", 'SA_SOFTWAREUPGRADE'
, MENU_UPDATE
);
$this->add_extensions();
}
}
$this->add_extensions();
}
}
-?>
\ No newline at end of file