-/*
- This table stores security area ranges. It is used by security_role
- table administration interface. Every extension module can add their
- own security areas set by adding new entries here.
-*/
-$security_areas = array(
- // database table crud operations and administrative areas
- SA_CUSTOMER => _("Sales customer and branches"),
- _("Sales groups"),
- _("Sales prices"),
- _("Sales staff"),
- _("Sales areas"),
- _("Credit status definitions"),
- _("Sales templates"),
- _("Recurrent invoices definitions"),
- // documents, transactions entry
- SA_SALESORDER => _("Sales order entry"),
- _("Sales deliveries"),
- _("Sales invoices"),
- _("Sales credit notes against invoice"),
- _("Sales freehand credit notes"),
- _("Customer payments"),
- // maintenance and analytics
- SA_SALESALLOC => _("Customer allocations"),
- _("Customer analytical reports and inquiries"),
- _("Sales reports"),
- _("Sales other reports and inquires"),
- // database table crud operations and administrative areas
- SA_SUPPLIER => _("Suppliers"),
- // documents, transactions entry
- SA_PURCHASEORDER => _("Purchase Order Entry"),
- _("Outstanding Purchase Orders"),
- _("Supplier Invoices"),
- _("Supplier Credit Notes"),
- _("Supplier Payments"),
- // maintenance and analytics
- SA_SUPPLIERALLOC => _("Supplier allocations"),
- _("Supplier analytical reports and inquiries"),
- _("Supplier reports"),
- _("Supplier other reports and inquiries"),
- // database table crud operations and administrative areas
- SA_ITEM => _("Items"),
- _("Foreign Item Codes"),
- _("Sales Kits"),
- _("Item Categories"),
- _("Inventory Locations"),
- _("Inventory Movement Types"),
- _("Item Tax Types"),
- _("Unit of Measures"),
- _("Reorder Levels"),
- // documents, transactions entry
- SA_LOCATIONTRANSFER => _("Inventory Location Transfers"),
- _("Inventory Adjustments"),
- // maintenance and analytics
- SA_ITEMSANALYTIC => _("Items analytical reports and inquiries"),
- _("Inventory reports"),
- _("Inventory other reports and inquiries"),
- SA_SALESPRICING => _("Item Sales Pricing"),
- _("Item Purchasing Pricing"),
- _("Item Standard Costs"),
- // database table crud operations and administrative areas
- SA_BOM => _("Bill of Materials"),
- _("Work Centres"),
- // documents, transactions entry
- SA_WORKORDERENTRY => _("Work Order Entries"),
- _("Work Order Operations"),
- // maintenance and analytics
- SA_WORKORDERANALYTIC => _("Work Order analytical reports and inquiries"),
- _("Work Order Reports"),
- _("Work Order other reports and inquiries"),
- // database table crud operations and administrative areas
- SA_DIMENSION => _("Dimensions"),
- // documents, transactions entry
- SA_DIMENSIONOPERATION => _("Dimension Operations"),
- // maintenance and analytics
- SA_DIMENSIONANALYTIC => _("Dimension analytical reports and inquiries"),
- _("Dimension Reports"),
- _("Dimension other reports and inquiries"),
- // database table crud operations and administrative areas
- SA_BANKACCOUNT => _("Bank Accounts"),
- _("Quick Entries"),
- _("Currencies"),
- _("Exchange Rates"),
- _("GL Accounts"),
- _("GL Account Groups"),
- _("GL Account Classes"),
- // documents, transactions entry
- SA_PAYMENT => _("Bank Payments"),
- _("Bank Deposits"),
- _("Bank Account Transfers"),
- _("Journal Entries"),
- _("Budget Entries"),
- _("Bank Reconcile"),
- // maintenance and analytics
- SA_GLANALYTIC => _("Bank and GL analytical reports and inquiries"),
- _("Bank and GL Reports"),
- _("Bank and GL other reports and inquiries"),
- // database table crud operations and administrative areas
- SA_SETUPCOMPANY => _("Company Setup"),
- _("Users Setup"),
- _("Forms Setup"),
- _("Taxes"),
- _("Fiscal Years"),
- _("Print Profiles"),
- _("Payment Terms"),
- _("Shipping"),
- _("Point of Sales"),
- _("Printer Setup"),
- // documents, transactions entry
- SA_VOIDTRANSACTION => _("Voiding Transactions"),
- _("Viev and Print Transactions"),
- _("Attaching Documents"),
- _("Backup and Restore"),
- _("Install/Update Companies"),
- _("Install/Update Languages"),
- _("Install/Upgrade Modules"),
- _("Software Upgrades")
+ 'SA_DIMENSIONANALYTIC' => array(SS_DIM|3, _("Dimension analytical reports and inquiries")),
+ 'SA_DIMENSIONMANREP' => array(SS_DIM|4, _("Dimension reports")),
+ 'SA_DIMENSIONVARREP' => array(SS_DIM|5, _("Dimension other reports and inquiries")),
+//
+// Banking and General Ledger
+//
+ 'SA_ITEMTAXTYPE' => array(SS_GL_C|1, _("Item tax type definitions")),
+ 'SA_GLACCOUNT' => array(SS_GL_C|2, _("GL accounts edition")),
+ 'SA_GLACCOUNTGROUP' => array(SS_GL_C|3, _("GL account groups")),
+ 'SA_GLACCOUNTCLASS' => array(SS_GL_C|4, _("GL account classes")),
+ 'SA_QUICKENTRY' => array(SS_GL_C|5, _("Quick GL entry definitions")),
+ 'SA_CURRENCY' => array(SS_GL_C|6, _("Currencies")),
+ 'SA_BANKACCOUNT' => array(SS_GL_C|7, _("Bank accounts")),
+ 'SA_SETUPTAX' => array(SS_GL_C|8, _("Tax rates")),
+ 'SA_SETUPFISCALYEAR' => array(SS_GL_C|9, _("Fiscal years maintenance")),
+
+ 'SA_EXCHANGERATE' => array(SS_GL|1, _("Exchange rate table changes")),
+ 'SA_PAYMENT' => array(SS_GL|2, _("Bank payments")),
+ 'SA_DEPOSIT' => array(SS_GL|3, _("Bank deposits")),
+ 'SA_BANKACCOUNTTRANSFER' => array(SS_GL|4, _("Bank account transfers")),
+ 'SA_JOURNALENTRY' => array(SS_GL|5, _("Manual journal entries")),
+ 'SA_BUDGETENTRY' => array(SS_GL|6, _("Budget edition")),
+ 'SA_RECONCILE' => array(SS_GL|7, _("Bank reconciliation")),
+ 'SA_STANDARDCOST' => array(SS_GL|8, _("Item standard costs")),
+
+ 'SA_GLANALYTIC' => array(SS_GL_A|1, _("Bank and GL analytical reports and inquiries")),
+ 'SA_GLMANREP' => array(SS_GL_A|2, _("Bank and GL reports")),
+ 'SA_GLVARREP' => array(SS_GL_A|3, _("Bank and GL other reports and inquiries"))