<?php


// Added by Nalin on Bharata's instructions for adding a new security sction 
define('SS_EXTERNAL_SYSTEM',64<<8);
//define('SS_DASHBOARD',65<<8);
//define('SS_REPORT_GENERATOR' ,66<<8);
//define('SS_ASSETREGISTER' ,67<<8);



define('SS_PAYROLL_C' ,70<<8);
define('SS_PAYROLL' ,71<<8);
define('SS_PAYROLL_A' ,72<<8);

define('SS_ESTIMATION_C' ,75<<8);
define('SS_ESTIMATION' ,76<<8);
define('SS_ESTIMATION_A' ,77<<8);

define('SS_PROJECTS_C' ,80<<8);
define('SS_PROJECTS' ,81<<8);
define('SS_PROJECTS_A' ,82<<8);

define('SS_PETTY_CASH_C' ,85<<8);
define('SS_PETTY_CASH' ,86<<8);
define('SS_PETTY_CASH_A' ,87<<8);

define('SS_TRANSPORT_C' ,90<<8);
define('SS_TRANSPORT' ,91<<8);
define('SS_TRANSPORT_A' ,92<<8);

define('SS_FINANCE_C' ,95<<8);
define('SS_FINANCE' ,96<<8);
define('SS_FINANCE_A' ,97<<8);

//define('SS_ASSETS_C' ,100<<8);
//define('SS_ASSETS' ,101<<8);
//define('SS_ASSETS_A' ,102<<8);

define('SS_DASHBOARD_C' ,105<<8);
define('SS_DASHBOARD' ,106<<8);
define('SS_DASHBOARD_A' ,107<<8);

define('SS_IMPORTS_C' ,110<<8);
define('SS_IMPORTS' ,111<<8);
define('SS_IMPORTS_A' ,112<<8);


$security_sections = array_replace($security_sections, array(

        SS_EXTERNAL_SYSTEM =>_("External Systems"), 
        
        SS_PAYROLL_C => _("Payroll Configuration"),
        SS_PAYROLL => _("Payroll Transactions"),
        SS_PAYROLL_A => _("Payroll Analytics"),

        SS_ESTIMATION_C => _("Estimation Configuration"),
        SS_ESTIMATION => _("Estimation Transactions"),
        SS_ESTIMATION_A => _("Estimation Analytics"),

        SS_PROJECTS_C => _("Projects Configuration"),
        SS_PROJECTS => _("Projects Transactions"),
        SS_PROJECTS_A => _("Projects Analytics"),

        SS_PETTY_CASH_C => _("Petty Cash Configuration"),
        SS_PETTY_CASH => _("Petty Cash Transactions"),
        SS_PETTY_CASH_A => _("Petty Cash Analytics"),

        SS_TRANSPORT_C => _("Transport Configuration"),
        SS_TRANSPORT => _("Transport Transactions"),
        SS_TRANSPORT_A => _("Transport Analytics"),

        SS_FINANCE_C => _("Finance Management Configuration"),
        SS_FINANCE => _("Finance Management Transactions"),
        SS_FINANCE_A => _("Finance Management Analytics"),

        SS_ASSETS_C => _("Assets Configuration"),
        SS_ASSETS => _("Assets Transactions"),
        SS_ASSETS_A => _("Assets Analytics"),

        SS_DASHBOARD_C => _("Dashboard Configuration"),
        SS_DASHBOARD => _("Dashboard Transactions"),
        SS_DASHBOARD_A => _("Dashboard Analytics"),

        SS_IMPORTS_C => _("Imports Configuration"),
        SS_IMPORTS => _("Imports Transactions"),
        SS_IMPORTS_A => _("Imports Analytics")
));


$security_areas = array_merge($security_areas, array(

//=================================================================
// Setup related functionality
//=================================================================

    'SA_LIST_VALUES' => array(SS_SETUP|15, _("List values")),
    'SA_LISTS' => array(SS_SETUP|16, _("Lists")), 
    'SA_CHEQUE_PRINTING_TEMPLATES' => array(SS_SETUP|17, _("Cheque Printing Templates")), 
    'SA_REP_SETTING' => array(SS_SETUP|18, _("Print Lists")),  
    'SA_REP_SQL_QUERY_RESULT' => array(SS_SETUP|19, _("SQL Query Result Report")),       
    'SA_ORDER_CATEGORIES' => array(SS_SETUP|20, _("Order Categories")),     	   
    'SA_CALENDAR_YEARS' => array(SS_SETUP|21, _("Calendar Years")),   
    'SA_ORDER_CATEGORIES' => array(SS_SETUP|22, _("Order Categories")),     
    'SA_SYSTEM_VALUES' => array(SS_SETUP|23, _("System Values")),  
    'SA_CHEQUE_PRINTING_TEMPLATES' => array(SS_SETUP|24, _("Cheque Printing Templates")),
    'SA_ACCESSIBLE_CLASS_SUBJECTS' => array(SS_SETUP|25, _("Accessible Class Subjects")),
    'SA_ACCESSIBLE_TEACHERS' => array(SS_SETUP|26, _("Accessible Teachers")),
    'SA_USER_SEARCH' => array(SS_SETUP|27, _("User Search")),		
    'SA_USERS_INQUIRY' => array(SS_SETUP|28, _("User Inquiries")),
        	
//========================================================
// Inventory related functionality
//========================================================
    
    
    'SA_MATERIAL_REQ_TRANSFER' => array(SS_ITEMS|8, _("Material requisition transfers")),   
    'SA_MATERIAL_REQ' => array(SS_ITEMS|9, _("Material Requisitions")),
    'SA_INVENTORY_RECEIPT' => array(SS_ITEMS|10, _("Inventory Receipts")),
    'SA_INVENTORY_ISSUE' => array(SS_ITEMS|11, _("Inventory Issues")),
    'SA_APPROVE_MATERIAL_REQ' => array(SS_ITEMS|12, _("Approve Material Requisitions")),
    'SA_APPROVE_MATERIAL_TRANSFER_REQ' => array(SS_ITEMS|13, _("Approve Material Transfer Requisitions")),
    'SA_STOCK_RESERVATION' => array(SS_ITEMS|14, _("Stock Reservations")),
    'SA_STOCK_RELEASE' => array(SS_ITEMS|15, _("Stock Reservation Releases")),
    'SA_ITEM_LOTS' => array(SS_ITEMS|16, _("Item Lots")),
    'SA_ITEM_LOT_ADJUSTMENT' => array(SS_ITEMS|17, _("Item Lot Adjustments")),      
    'SA_ITEM_SERIAL_NOS' => array(SS_ITEMS|18, _("Item Serial Numbers")),
    'SA_ITEM_SERIAL_NO_ADJUSTMENTS' => array(SS_ITEMS|19, _("Item Serial Number Adjustments")),   
    'SA_STOCK_COUNT' => array(SS_ITEMS|20, _("Stock Count")),
    'SA_ENTER_COUNTED_DATA' => array(SS_ITEMS|21, _("Enter Counted Data")),
    'SA_COMPLETE_STOCK_COUNT' => array(SS_ITEMS|22, _("Complete Stock Count")),
    'SA_PROCESS_STOCK_COUNT' => array(SS_ITEMS|23, _("Process Stock Count")),
    'SA_INVENTORY_RECEIPT_REQUEST' => array(SS_ITEMS|24, _("Inventory Receipt Request")),
    'SA_INVENTORY_ISSUE_REQUEST' => array(SS_ITEMS|25, _("Inventory Issue Request")),
    'SA_SITE_MATERIAL_RETURN' => array(SS_ITEMS|26, _("Site Material Returns")),
    'SA_RECEIVE_PETTY_CASH_ITEMS' => array(SS_ITEMS|27, _("Receive Petty Cash items")),
    'SA_ISSUE_PETTY_CASH_ITEMS' => array(SS_ITEMS|28, _("Issue Petty Cash items")),
    'SA_CREATE_GATE_PASS' => array(SS_ITEMS|29, _("Create Gate Pass")),
    'SA_DAILY_ITEM_ISSUE' => array(SS_ITEMS|30, _("Daily Item Issues")),
    'SA_DAILY_ITEM_RETURN' => array(SS_ITEMS|31, _("Daily Item Returns")), 
    
    
    'SA_MONTHS'  => array(SS_SETUP|12, _("Months")),
    
    'SA_DATA_IMPORT' => array(SS_SPEC|7, _("Data Import")),
    'SA_RUN_CUSTOM_SCRIPT' => array(SS_SPEC|8, _("Run Custom Script")),
    'SA_INVENTORY_REBUILD' => array(SS_SPEC|9, _("Inventory Rebuild")),
    'SA_JOQ_REQ_INQ' => array(SS_SPEC|9, _("Job Que Request Inquiry")),
    'SA_MANAGE_JOBQ_REQUESTS' => array(SS_SPEC|9, _("Manage Job Que Requests")),
    'SA_VIEW_ITEM_COST' => array(SS_SPEC|10, _("View Item Costs")),
	
    
    
    
//=================================================================
// Sales related functionality
//=================================================================
    
    
    'SA_SALESPDCSINHAND' => array(SS_SALES|11, _("Post dated cheques in hand")),
    'SA_SALESUPLOADPOSSALES' => array(SS_SALES|12, _("Upload POS Sales")),
    'SA_SALELAUNRYORDERS' => array(SS_SALES|13, _("Laundry orders")),
    'SA_APPROVE_SALES_QUOTES' => array(SS_SALES|14, _("Approve Sales Quotations")),
    'SA_APPROVE_SALES_ORDERS' => array(SS_SALES|15, _("Approve Sales orders")),
    'SA_REOPEN_SALES_ORDERS' => array(SS_SALES|16, _("Reopen Sales orders")),
    'SA_CUSTOMER_PAYMENT_RETURN' => array(SS_SALES|17, _("Customer Payment Returns")),
    
    
    'SA_CUST_TRAN_INQ' => array(SS_SALES_A|10, _("Customer transaction inquiry")),
    'SA_OUTSTANDING_SALES_ORDERS_INQ' => array(SS_SALES_A|11, _("Outstanding sales orders inquiry")),
    'SA_CUST_TRAN_DETAIL_INQ' => array(SS_SALES_A|20, _("Customer transaction detail inquiry")),        
    'SA_SALES_QUOTE_INQ' => array(SS_SALES_A|30, _("Sales Quotation Inquiry")),
    'SA_SALES_ORDER_INQ' => array(SS_SALES_A|40, _("Sales Orders Inquiry")),
    'SA_CUST_ALLOC_INQ' => array(SS_SALES_A|50, _("Customer Allocation Inquiry")),
    'SA_OUTSTANDING_SALES_INVOICES_INQ' => array(SS_SALES_A|51, _("Outstanding sales invoices inquiry")),
    'SA_CUST_BALANCE' => array(SS_SALES_A|52, _("Customer Balances")),

    'SA_SALESANALYTIC' => array(SS_SALES_A|100, _("Sales analytical reports")),        
    'SA_REP_CUST_DETAILS' => array(SS_SALES_A|101, _("Customer Detail Listing")),       
    'SA_REP_SALES_INVOICE' => array(SS_SALES_A|102, _("Print Invoices/Credit Notes")),        
    'SA_REP_DESPATCH' => array(SS_SALES_A|103, _("Print Despatch Notes")),        
    'SA_REP_SALESPAYMNT' => array(SS_SALES_A|104, _("Print Receipts")),     
    'SA_REP_SALES_ORDER' => array(SS_SALES_A|105, _("Print Sales Order")),
    'SA_REP_INVOICE_MASTER' => array(SS_SALES_A|106, _("Invoice Master report")),
    'SA_SALESBULKREP' => array(SS_SALES_A|110, _("Sales document bulk reports")),
    'SA_PRICEREP' => array(SS_SALES_A|120, _("Sales prices listing")),
    'SA_SALESMANREP' => array(SS_SALES_A|130, _("Sales staff listing")),
    'SA_CUSTBULKREP' => array(SS_SALES_A|140, _("Customer bulk listing")),
    'SA_CUSTSTATREP' => array(SS_SALES_A|150, _("Customer status report")),
    'SA_CUSTPAYMREP' => array(SS_SALES_A|160, _("Customer payments report")),
    
//=======================================================
// Purchase related functions
//=======================================================
    
    
    'SA_PURCHASE_REQUISITION' => array(SS_PURCH|9, _("Purchase Requisition Entry")),
    'SA_PURCHASE_REQUISITION_ALLOCATION' => array(SS_PURCH|10, _("Purchase Requisition Allocation")),
    'SA_PURCHASEORDER_GENERATE' => array(SS_PURCH|11, _("Generate Purchase Orders")),
    'SA_SUPPPDCSISSUED' => array(SS_PURCH|13, _("Post dated cheque payments")),
    'SA_GRNDELETE' => array(SS_PURCH|15, _("Deleting GRN items during invoice entry")), 
    'SA_APPROVE_PURCH_REQUISITIONS' => array(SS_PURCH|16, _("Approve Purchase Requisitions")),
    'SA_REOPEN_PURCH_ORDERS' => array(SS_PURCH|17, _("Reopen Purchase orders")),
    'SA_REOPEN_PR_ALLLOCATIONS' => array(SS_PURCH|18, _("Reopen Purchase Requisition Allocations")),
    'SA_SUPPLIERINVOICE_GROUPING' => array(SS_PURCH|19, _("Supplier invoice Grouping")),
    'SA_OUTSTANDING_PO_SEARCH' => array(SS_PURCH|20, _("Outstanding Purchase Orders Maintenance")),
    'SA_PURCHASE_REQUISITION_ISSUES' => array(SS_PURCH|21, _("Purchase Requisition Issues")),
    'SA_APPROVE_PURCH_ORDER' => array(SS_PURCH|22, _("Approve Purchase Orders")),
    'SA_GRNS_WITHOUT_PRS' => array(SS_PURCH|23, _("Create GRNs Without Purchase Requisitions")),
    'SA_PR_ISSUES_WITHOUT_POS' => array(SS_PURCH|24, _("PR Issues Without Purchase Orders")),
    
    'SA_PURCH_REQ_INQ' => array(SS_PURCH_A|4, _("Purchase Requisition Inquiry")),
    'SA_PURCH_INDENTS_INQ' => array(SS_PURCH_A|5, _("Purchase Indents Inquiry")),
    'SA_PURCH_REQ_ALLOC_INQ' => array(SS_PURCH_A|6, _("Purchase Requisition Allocation Inquiry")),
    'SA_PURCH_ORDERS_INQ' => array(SS_PURCH_A|7, _("Purchase Orders Inquiry")),
    'SA_SUPP_TRANS_INQ' => array(SS_PURCH_A|8, _("Supplier Transaction Inquiry")),
    'SA_SUPP_ALLOC_INQ' => array(SS_PURCH_A|9, _("Supplier Allocation Inquiry")),
    'SA_DOCUMENT_LINKS_INQ' => array(SS_PURCH_A|10, _("Document Links Inquiry")),
    'SA_GRN_INQ' => array(SS_PURCH_A|11, _("GRN Inquiry")),
    'SA_REP_SUPP_BALANCES' => array(SS_PURCH_A|12, _("Purchase Summary Reports")),
    'SA_REP_SUPP_DETAILS' => array(SS_PURCH_A|13, _("Supplier Detail Listing	")),
    'SA_REP_PAY_VOUCHER' => array(SS_PURCH_A|14, _("Print Payment Voucher")),
    'SA_REP_PURCH' => array(SS_PURCH_A|15, _("Print Purchase Orders/Indents")),    
    'SA_PURCH_REQ_ISSUE_INQ' => array(SS_PURCH_A|16, _("Purchase Requisition Issues Inquiry")),    
        
    'SA_REP_PO_DETAILS' => array(SS_PURCH_A|17, _("Print PO Details Report")),    
    'SA_REP_PO_ITEM_DETAILS' => array(SS_PURCH_A|18, _("Print PO Items Detail Report")),    
    'SA_REP_PO_GRN' => array(SS_PURCH_A|19, _("Print PO GRN Report")),       
    'SA_PURCH_REQ_RETURN_INQ' => array(SS_PURCH_A|20, _("Purchase Requisition Returns Inquiry")),       
        
        	
//========================================================
// Inventory 
//========================================================

    
    'SA_IMPORT_ITEM_MATERIAL_GROUPS' => array(SS_ITEMS_C|5, _("Import Item Material Groups")),
    'SA_IMPORT_STOCK_ITEMS' => array(SS_ITEMS_C|6, _("Import Stock Items")), 
    
    'SA_ITEMSSTATVIEW' => array(SS_ITEMS|1, _("Stock status view")),
    'SA_ITEMSTRANSVIEW' => array(SS_ITEMS|2, _("Stock transaction views")),
    'SA_FORITEMCODE' => array(SS_ITEMS|3, _("Foreign item codes entry")),
    'SA_LOCATIONTRANSFER' => array(SS_ITEMS|4, _("Inventory location transfers")),
    'SA_INVENTORYADJUSTMENT' => array(SS_ITEMS|5, _("Inventory adjustments")),
    'SA_MATERIAL_TRANSFER_REQ' => array(SS_ITEMS|6, _("Material transfer requisitions")),
    //'SA_MANAGE_MATERIAL_TRANSFER_REQ' => array(SS_ITEMS|7, _("Manage material transfer requisitions")),
    'SA_MATERIAL_REQ_TRANSFER' => array(SS_ITEMS|8, _("Material requisition transfers")),   
    'SA_MATERIAL_REQ' => array(SS_ITEMS|9, _("Material Requisitions")),
    'SA_INVENTORY_RECEIPT' => array(SS_ITEMS|10, _("Inventory Receipts")),
    'SA_INVENTORY_ISSUE' => array(SS_ITEMS|11, _("Inventory Issues")),
    'SA_APPROVE_MATERIAL_REQ' => array(SS_ITEMS|12, _("Approve Material Requisitions")),
    'SA_APPROVE_MATERIAL_TRANSFER_REQ' => array(SS_ITEMS|13, _("Approve Material Transfer Requisitions")),
    'SA_STOCK_RESERVATION' => array(SS_ITEMS|14, _("Stock Reservations")),
    'SA_STOCK_RELEASE' => array(SS_ITEMS|15, _("Stock Reservation Releases")),
    'SA_ITEM_LOTS' => array(SS_ITEMS|16, _("Item Lots")),
    'SA_ITEM_LOT_ADJUSTMENT' => array(SS_ITEMS|17, _("Item Lot Adjustments")),      
    'SA_ITEM_SERIAL_NOS' => array(SS_ITEMS|18, _("Item Serial Numbers")),
    'SA_ITEM_SERIAL_NO_ADJUSTMENTS' => array(SS_ITEMS|19, _("Item Serial Number Adjustments")),   
    'SA_STOCK_COUNT' => array(SS_ITEMS|20, _("Stock Count")),
    'SA_ENTER_COUNTED_DATA' => array(SS_ITEMS|21, _("Enter Counted Data")),
    'SA_COMPLETE_STOCK_COUNT' => array(SS_ITEMS|22, _("Complete Stock Count")),
    'SA_PROCESS_STOCK_COUNT' => array(SS_ITEMS|23, _("Process Stock Count")),
    'SA_INVENTORY_RECEIPT_REQUEST' => array(SS_ITEMS|24, _("Inventory Receipt Request")),
    'SA_INVENTORY_ISSUE_REQUEST' => array(SS_ITEMS|25, _("Inventory Issue Request")),
    'SA_SITE_MATERIAL_RETURN' => array(SS_ITEMS|26, _("Site Material Returns")),
    'SA_RECEIVE_PETTY_CASH_ITEMS' => array(SS_ITEMS|27, _("Receive Petty Cash items")),
    'SA_ISSUE_PETTY_CASH_ITEMS' => array(SS_ITEMS|28, _("Issue Petty Cash items")),
    'SA_CREATE_GATE_PASS' => array(SS_ITEMS|29, _("Create Gate Pass")),
    'SA_DAILY_ITEM_ISSUE' => array(SS_ITEMS|30, _("Daily Item Issues")),
    'SA_DAILY_ITEM_RETURN' => array(SS_ITEMS|31, _("Daily Item Returns")), 

        
    'SA_ITEMSANALYTIC' => array(SS_ITEMS_A|1, _("Items analytical general reports")),
    'SA_REORDER' => array(SS_ITEMS_A|2, _("Reorder levels")),
    'SA_ITEMSVALREP' => array(SS_ITEMS_A|3, _("Inventory valuation report")),
    'SA_MATERIAL_REQ_VIEW' => array(SS_ITEMS_A|4, _("Material Requisitions Inquiry")),
    'SA_MATERIAL_TRANS_REQ_VIEW' => array(SS_ITEMS_A|5, _("Material Transfer Requisitions Inquiry")),
    'SA_INVENTORY_TRANS_INQ' => array(SS_ITEMS_A|6, _("Inventory Transactions Inquiry")),
    'SA_ITEM_MOVEMENTS_INQ' => array(SS_ITEMS_A|7, _("Stock Movements Inquiry")),
    'SA_STOCK_STATUS_INQ' => array(SS_ITEMS_A|8, _("Stock Status Inquiry")),
    'SA_STOCK_RESERVATIONS_INQ' => array(SS_ITEMS_A|9, _("Stock Reservations Inquiry")),  
    'SA_STOCK_COUNT_INQ' => array(SS_ITEMS_A|10, _("Stock Count Inquiry")), 
    'SA_STOCK_COUNT_VIEW' => array(SS_ITEMS_A|11, _("Stock Count View")),            
    'SA_REP_GRN_VALUATION' => array(SS_ITEMS_A|12, _("GRN Valuation Report")),
    'SA_REP_INVEN_PURCHASE' => array(SS_ITEMS_A|13, _("Inventory Purchasing Report")),
    'SA_REP_ITEMS_SALES' => array(SS_ITEMS_A|14, _("Item Sales Summary Report")),
    'SA_REP_EXPORT_STOCK' => array(SS_ITEMS_A|15, _("Export Stock Master")),
    'SA_REP_ITEMS_SALES_PRICES' => array(SS_ITEMS_A|16, _("Export Item Sales Prices")),
    'SA_REP_ITEMS_PURCH_PRICES' => array(SS_ITEMS_A|17, _("Export Item Purchasing Prices")),  
    'SA_REP_SUPPLIER_RETURN' => array(SS_ITEMS_A|18, _("Supplier Material Return Note")), 
    'SA_INVENTORY_ADJ_REQUESTS_INQ' => array(SS_ITEMS_A|19, _("Inventory Adjustment Requests Inquiry")), 
    'SA_STANDARDCOST_INQ' => array(SS_ITEMS_A|20, _("Item Cost Inquiry")), 
    'SA_SITE_MATERIAL_RETURN_INQ' => array(SS_ITEMS_A|21, _("Site Material Returns Inquiry")), 
    'SA_PETTY_CASH_ITEM_RECEIPTS_INQ' => array(SS_ITEMS_A|22, _("Petty Cash Item receipts Inquiry")), 
    'SA_DAILY_ITEM_ISSUES_INQ' => array(SS_ITEMS_A|23, _("Daily Item Issues Inquiry")), 
    'SA_DAILY_ITEM_RETURNS_INQ' => array(SS_ITEMS_A|24, _("Daily Item Returns Inquiry")), 
        

//=====================================================================
// Manufacturing module 
//=====================================================================

    'SA_COPY_MANUF_BOM' => array(SS_MANUF_C|2, _("Copy Bill of Materials")),
    'SA_WORK_CENTER_SHIFTS' => array(SS_MANUF_C|3, _("Workcentre Shifts")),
    'SA_WORKCENTRES' => array(SS_MANUF_C|4, _("Work centres")),
    'SA_PROJECT_JOBS' => array(SS_MANUF_C|5, _("Project Jobs")),
    'SA_RAW_MATERIAL_ISSUE' => array(SS_MANUF|7, _("Raw material issue")),
    'SA_RECEIVE_MANUFACTURED_ITEMS' => array(SS_MANUF|8, _("Receive manuafactured items")),
    'SA_RAW_MATERIAL_RETURN' => array(SS_MANUF|9, _("Raw material return")),
    'SA_RETURN_MANUFACTURED_ITEMS' => array(SS_MANUF|10, _("Return manufactured items")),
        
    'SA_MANUF_REQUIREMENTS' => array(SS_MANUF|11, _("Return manufactured items")),
    'SA_GENERATE_PRODUCTION_SCHEDULE' => array(SS_MANUF|12, _("Generate Production Schedule")),
    'SA_CONFIRM_PRODUCTION_SCHEDULE' => array(SS_MANUF|13, _("Confirm Production Schedule")),
    'SA_WORK_ORDER_COST' => array(SS_MANUF|14, _("Work Order Additional Costs")),
    'SA_MANUFTRANSVIEW' => array(SS_MANUF|14, _("Manufacturing Transaction Views")),
    'SA_APPROVE_WORK_ORDER' => array(SS_MANUF|15, _("Approve Work Orders")),
    
    'SA_MANUF_REQUESTS_INQ' => array(SS_MANUF_A|5, _("Manufacturing Requests inquiry")),
    'SA_MANUF_TRANS_INQ' => array(SS_MANUF_A|6, _("Manufacturing Transactions inquiry")),
    'SA_MANUF_ORDER_BOOKING_INQ' => array(SS_MANUF_A|7, _("Manufacturing Order Booking inquiry")),
    'SA_MANUF_LABOUR_BOOKING_INQ' => array(SS_MANUF_A|8, _("Manufacturing Labour Booking inquiry")),
    'SA_WORK_CENTER_SCHEDULE_INQ' => array(SS_MANUF_A|9, _("Workcenter Schedule inquiry")),
    'SA_MANUF_WHERE_USED_INQ' => array(SS_MANUF_A|9, _("Inventory Item Where Used inquiry")),    
        
        
    'SA_MANUFBULKREP' => array(SS_MANUF_A|10, _("Work order bulk reports")),
    'SA_BOMREP' => array(SS_MANUF_A|11, _("Bill of materials reports")),
    'SA_WORK_ORDER_INQ' => array(SS_MANUF_A|12, _("Work order inquiry")),        
    'SA_PROJECT_JOB_COST_INQ' => array(SS_MANUF_A|13, _("Job Cost inquiry")),        
        

//====================================================
// Banking and General Ledger
//====================================================
    
    'SA_UTILITY_EXPENSE_TYPES' => array(SS_GL_C|14, _("Utility Expense Types")),
    'SA_IMPORT_GL_BANK_TRANS' => array(SS_GL_C|15, _("Import GL Bank Transactions")),
    'SA_ACCOUNTING_PERIODS' => array(SS_GL_C|16, _("Accounting Periods")),
    
    
    'SA_BANK_CUST_PAYMENTS' => array(SS_GL|13, _("Bank Customer Payments")),
    'SA_PRINT_CHEQUES' => array(SS_GL|14, _("Print Cheques")),
    'SA_UTILITY_BILLS' => array(SS_GL|15, _("Utility Bills")),
    'SA_UTILITY_BILL_CREDIT_NOTES' => array(SS_GL|16, _("Utility Bill Credit Notes")),
    'SA_GENERATE_FI_ENTRIES' => array(SS_GL|17, _("Generate FI Accounting Entries")),
    'SA_MONTHLY_PROJECT_COSTS' => array(SS_GL|18, _("Monthly Project Costs")),
    'SA_POST_FI_ENTRIES' => array(SS_GL|19, _("Post FI Accounting Entries")),
    'SA_DELETE_FI_BATCH' => array(SS_GL|20, _("Delet FI Batch")),
    'SA_CASH_PAYMENT' => array(SS_GL|21, _("Cash payments")),
    'SA_CASH_RECEIPT' => array(SS_GL|22, _("Cash Receipts")),
    'SA_GL_CREDIT' => array(SS_GL|23, _("GL Credit Adjustments")),
    'SA_GL_DEBIT' => array(SS_GL|24, _("GL Debit Adjustments")),
    'SA_APPROVE_GL_ADJUST' => array(SS_GL|25, _("Approve GL Adjustments")),
    'SA_MONTH_REPORTING_ADJUSTMENTS' => array(SS_GL|26, _("Month Reporting Adjustments")),
    'SA_EDIT_GL_TRANS_TYPE' => array(SS_GL|27, _("Edit GL Transaction Type")),

    
    'SA_UTILITY_BILL_INQ' => array(SS_GL_A|5, _("Utility Bill Inquiry")),
    'SA_UTILITY_BILL_VIEW' => array(SS_GL_A|6, _("Utility Bill View")),   
    'SA_UTILITY_BILL_CREDIT_NOTES_INQ' => array(SS_GL_A|7, _("Utility Bill Credit Note Inquiry")),
    'SA_UTILITY_BILL_CREDIT_NOTE_VIEW' => array(SS_GL_A|8, _("Utility Bill Credit Note View")),   
    'SA_FI_TRANSACTIONS_INQ' => array(SS_GL_A|9, _("FI Transactions Inquiry")),
    'SA_MONTHLY_PROJECT_COSTS_INQ' => array(SS_GL_A|10, _("Monthly Project Costs Inquiry")), 
    'SA_MONTHLY_PROJECT_COSTS_VIEW' => array(SS_GL_A|10, _("Monthly Project Costs View")), 
    'SA_UTILITY_BILL_ALYTIC' => array(SS_GL_A|11, _("Utility bill analytical reports and inquiries")), 
    'SA_FI_BATCHES_INQ' => array(SS_GL_A|12, _("FI Batches Inquiry")), 
    'SA_GL_BATCHES_INQ' => array(SS_GL_A|13, _("GL Batches Inquiry")), 
    'SA_COMPANY_CASH_FLOW_VIEW' => array(SS_GL_A|14, _("Company Cash Flow View")), 

    
     // Added by Nalin on Bharata's instructions for adding a new security sction 
    'SA_LOGINPOS' => array(SS_EXTERNAL_SYSTEM|1, _("Login to POS")),
    'SA_LOGINRESTAURANT' => array(SS_EXTERNAL_SYSTEM|2, _("Login to Restaurant")),
    'SA__LOGINLAUNDRY' => array(SS_EXTERNAL_SYSTEM|3, _("Login to Laundry")),

//    'SA_DASHBOARDSETUP' => array(SS_DASHBOARD|1, _("Setup Dashboard")),
//    'SA_DASHBOARDREMINDERS' => array(SS_DASHBOARD|2, _("Reminder Setup")),
//
//    'SA_REPORT_GENERATOR' => array(SS_REPORT_GENERATOR|1, _("Report Generator")),
    
//=====================================================
// Payroll
//=====================================================
    
        'SA_EMPLOYEES' => array(SS_PAYROLL_C|1, _("Employee maintenance")),
        'SA_EMPLOYEE_ATTACHEMENTS' => array(SS_PAYROLL_C|2, _("Empoyee attachments")),
        'SA_WORKING_WEEK' => array(SS_PAYROLL_C|3, _("Working week")),
        'SA_HOLIDAYS' => array(SS_PAYROLL_C|4, _("Holidays")),
        'SA_LEAVE_ENTITLEMENTS' => array(SS_PAYROLL_C|5, _("Leave entitements")),
        'SA_CALENDARS' => array(SS_PAYROLL_C|6, _("Calendars")),   
        'SA_LOANS' => array(SS_PAYROLL_C|7, _("Loans")),
        'SA_SALARIES' => array(SS_PAYROLL_C|8, _("Salaries")),
        'SA_SHIFTS_SCHEDULE' => array(SS_PAYROLL_C|9, _("Employee shifts schedule")), 
        'SA_SHIFTS' => array(SS_PAYROLL_C|10, _("Shifts")),
        'SA_VALUE_TABLES' => array(SS_PAYROLL_C|11, _("Value tables")),
        'SA_PAYROLL_SETUP' => array(SS_PAYROLL_C|12, _("Payroll Setup")),        
        'SA_GRUOP_SALARIES' => array(SS_PAYROLL_C|13, _("Group Salaries")),   
        'SA_EMPLOYEE_SHIFT_SCHEDULE' => array(SS_PAYROLL_C|14, _("Employee Shifts Schedule")),
        'SA_PAYROLL_SETTINGS' => array(SS_PAYROLL_C|15, _("Payroll Settings")),
        'SA_PAYROLL_MODULE_SETUP' => array(SS_PAYROLL_C|16, _("Payroll Module Setup")), 
        'SA_BANK_BRANCHES' => array(SS_PAYROLL_C|17, _("Bank Branches")),
        'SA_EMPLOYEE_RATE_CATEGORIES' => array(SS_PAYROLL_C|18, _("Rate Categories")),  
        'SA_SALARY_COMP_GROUPING' => array(SS_PAYROLL_C|19, _("Salary Component Grouping")), 
        'SA_SALARY_FUNCTIONS' => array(SS_PAYROLL_C|20, _("Salary Function Details")),
        'SA_SALARY_TOTAL_CONFIG' => array(SS_PAYROLL_C|21, _("Salary Total Configuration")),  
        'SA_PAYROLL_ACC_SETUP' => array(SS_PAYROLL_C|22, _("Payroll Accounts Setup")),  
        'SA_CALCULATE_DEPARTMENT_SUMMARY' => array(SS_PAYROLL_C|23, _("Calculate Department Summary")),     
    
            
        'SA_APPLY_LEAVE' => array(SS_PAYROLL|1, _("Apply leave")),
        'SA_APPROVE_LEAVE' => array(SS_PAYROLL|2, _("Approve leave")),
        'SA_ATTENDANCE_ENTRY' => array(SS_PAYROLL|3, _("Attendance entry")),
        'SA_APPROVE_ATTENDANCE' => array(SS_PAYROLL|4, _("Approve attendance")),
        'SA_SALARY_DEDUCTION' => array(SS_PAYROLL|5, _("Salary deductions")),
        'SA_SALARY_ADDITION' => array(SS_PAYROLL|6, _("Salary additions")),
        'SA_PAYROLL_RUN' => array(SS_PAYROLL|7, _("Payroll run")),
        'SA_APPROVE_PAYROLL' => array(SS_PAYROLL|8, _("Approve payroll run")),
        'SA_SALARY_ADVANCE' => array(SS_PAYROLL|9, _("Salary Advances")),
        'SA_MOBILE_ALLOWANCE_USAGE' => array(SS_PAYROLL|10, _("Mobile Allowances Usage Entry")),
        'SA_EMPLYEE_ALLOWANCES_USAGE' => array(SS_PAYROLL|11, _("Employee Allowances Usage Entry")),
        'SA_PERFORMANCE_INCENTIVE' => array(SS_PAYROLL|12, _("Performamnce Incentives Entry")),
        'SA_APPROVE_OT' => array(SS_PAYROLL|13, _("Approve Overtime")),
        'SA_APPROVE_SALARY_AJUSTMENTS' => array(SS_PAYROLL|14, _("Approve Salary Adjustments")),
        'SA_APPROVE_PAYROLL_ATTENDANCE_SUMMARY' => array(SS_PAYROLL|15, _("Approve Payroll Attendance Summary")),
        'SA_APPROVE_PAYROLL_WORKTIME_DEFICIT_SUMMARY' => array(SS_PAYROLL|16, _("Payroll Worktime Deficit Summary")),
        'SA_UPDATE_APPROVED_LEAVE' => array(SS_PAYROLL|17, _("Update Approved Leaves")),
        'SA_IMPORT_ATTENDANCE_DATA' => array(SS_PAYROLL|18, _("Import Attendance Data")),
        'SA_GENERATE_SALARY_BANK_FILE' => array(SS_PAYROLL|18, _("Generate Salary Bank File")),
            
        
        'SA_ATTENDANCE_VIEW' => array(SS_PAYROLL_A|1, _("Attendance Inquiry")),
        'SA_EMPLOYEE_VIEW' => array(SS_PAYROLL_A|2, _("Employee Inquiry")),
        'SA_LEAVE_VIEW' => array(SS_PAYROLL_A|3, _("Leave Inquiry")),
        'SA_LOAN_VIEW' => array(SS_PAYROLL_A|4, _("Loans Inquiry")),
        'SA_PAYROLL_REPORTS' => array(SS_PAYROLL_A|5, _("HR & Payroll Reports")),
        'SA_PAYROLL_TRANSVIEW' => array(SS_PAYROLL_A|6, _("Payroll Transaction Views")),
        'SA_PAYROLL_VIEW' => array(SS_PAYROLL_A|7, _("Payroll View")),
    
    
    
//===========================================================
// Etimation
//========================================================== 
    
            
   
        'SA_EST_INITIATE_PROJECTS' => array(SS_ESTIMATION_C|1, _("Initiate Estimation Projects")),
    
        'SA_EST_PROJECTS' => array(SS_ESTIMATION|1, _("Estimation Projects")),
        'SA_EST_PROJECT_BOQ_ITEM_GROUPS' => array(SS_ESTIMATION|2, _("Estimation Project BOQ Item Groups")),
        'SA_EST_PROJECT_BOQ_ITEMS' => array(SS_ESTIMATION|3, _("Estimation Project BOQ Items")),
        'SA_EST_COMPETITORS' => array(SS_ESTIMATION|4, _("Estimation Projects Competitors")),
        'SA_REOPEN_PROJECTS' => array(SS_ESTIMATION|5, _("Reopen Projects")),  
        'SA_EST_COPY_TO_SYS_PROJECT' => array(SS_ESTIMATION|6, _("Copy Estimation Project to A System Project")),
    
        
        'SA_UNAPPROVED_PROJECTS_INQ' => array(SS_ESTIMATION_A|1, _("Approve Estimation Projects")),
        'SA_EST_COMPETITOR_INQ' => array(SS_ESTIMATION_A|2, _("Estimation Project Competitor Inquiry")),
        'SA_EST_PROJECT_STATUS_VIEW' => array(SS_ESTIMATION_A|3, _("Estimation Project Status View")),

    
//===========================================================
// Projects
//===========================================================  
      
        'SA_PROJECTS' => array(SS_PROJECTS_C|1, _("Projects Maintenance")),
        'SA_PROJECT_BUDGETS' => array(SS_PROJECTS_C|2, _("Project Budgets")),
        'SA_APPROVAL_PATHS' => array(SS_PROJECTS_C|3, _("Approval Paths")),
        'SA_APPROVAL_GROUPS' => array(SS_PROJECTS_C|4, _("Approval Groups")),
        'SA_EMAIL_TEMPLATES' => array(SS_PROJECTS_C|5, _("Email Templates")),
        'SA_PROJECT_SERIAL_CAT' => array(SS_PROJECTS_C|6, _("Project Categiries")),
        'SA_PROJECT_BOQ_ITEM_GROUPS' => array(SS_PROJECTS_C|7, _("Project BOQ Item Groups")),
        'SA_PROJECT_BOQ_ITEMS' => array(SS_PROJECTS_C|8, _("Project BOQ Items")),
        'SA_CHANGE_DOC_APP_GROUP' => array(SS_PROJECTS_C|10, _("Change Document Approval Group")),    
        'SA_COPY_BOQ_ITEMS_TO_BUDGETS' => array(SS_PROJECTS_C|11, _("Copy BOQ Item Components to Budegts")),    
        'SA_IMPORT_BOQ_ITEMS' => array(SS_PROJECTS_C|12, _("Import BOQ Items")),
        'SA_REBUILD_PROJECT_BUDGETS' => array(SS_PROJECTS_C|13, _("Rebuild Project Budgets")),
        'SA_PROJ_INV_LINE_CATEGORIES' => array(SS_PROJECTS_C|14, _("Project Invoice Line Categories")),    
        'SA_SUBCON_INV_LINE_CATEGORIES' => array(SS_PROJECTS_C|15, _("Subcontractor Invoice Line Categories")),
        'SA_PROJ_TASK_DETAIL_TYPES' => array(SS_PROJECTS_C|16, _("Project Budget Detail Types")),
        'SA_IMPORT_PROJ_INVOICES' => array(SS_PROJECTS_C|17, _("Import Project Invoices")),
        'SA_EMPLOYEE_PROJECTS' => array(SS_PROJECTS_C|18, _("Employee Projects")),
        'SA_PROJECT_BILLING_SCHEDULE' => array(SS_PROJECTS_C|19, _("Project Billing Schedule")),
        'SA_PROJECT_EXPENSES_SCHEDULE' => array(SS_PROJECTS_C|20, _("Project Expenses Schedule")),
        

        
        'SA_PROJECT_ALLOC_ADJUST' => array(SS_PROJECTS|1, _("Project Cost Allocation Adjustments")),  
        'SA_PROJECT_COST_ADJUST' => array(SS_PROJECTS|2, _("Points Cost Adjustments")),  
        'SA_PROJECT_INVOICE' => array(SS_PROJECTS|3, _("Project Invoice")),
        'SA_PROJECT_CREDIT_NOTE' => array(SS_PROJECTS|4, _("Project Credit Note")),
        'SA_PROJECT_WORK_DONE' => array(SS_PROJECTS|5, _("Project Workdone")),
        'SA_PROJECT_PAY_APP' => array(SS_PROJECTS|6, _("Project Payment Application")),
        'SA_PROJECT_SALES_ORDER' => array(SS_PROJECTS|7, _("Project Sales Orders")),    
        'SA_SUBCONTRACTOR_INVOICE' => array(SS_PROJECTS|8, _("Subcontractor Invoices")),      
        'SA_SUBCONTRACTOR_PURCHASE_ORDER' => array(SS_PROJECTS|9, _("Subcontractor Purchase Orders")), 
        'SA_SUBCONTRACTOR_CREDIT_NOTE' => array(SS_PROJECTS|10, _("Subcontractor Credit Notes")),  
        'SA_MISCELLANEOUS_PROJECT_COSTS' => array(SS_PROJECTS|11, _("Miscellaneous Project Costs")),  
        'SA_PROJECT_WIP_COSTS' => array(SS_PROJECTS|12, _("Project WIP Costs")),     
        'SA_APPROVE_PROJECT' => array(SS_PROJECTS|13, _("Approve Selected Project")), 
        'SA_APPROVE_BUDGET_REVISIONS' => array(SS_PROJECTS|14, _("Approve Budget Revisions")),
        'SA_EMPLOYEE_PROJECT_WORK' => array(SS_PROJECTS|15, _("Employee Project Work")),
        'SA_EDIT_APPROVED_PROJECT_INVOICES' => array(SS_PROJECTS|16, _("Edit Approved Project Invoices")),
    
        
        'SA_PROJECT_COST_ALLOCATION_INQ' => array(SS_PROJECTS_A|1, _("Project Cost Allocation Inquiry")),
        'SA_PROJECT_COST_INQ' => array(SS_PROJECTS_A|2, _("Project Cost Inquiry")),
        'SA_PROJECT_BILLING_INQ' => array(SS_PROJECTS_A|3, _("Project Billing Inquiry")),
        'SA_PROJECT_TRANSVIEW' => array(SS_PROJECTS_A|4,  _("Project transaction views")),
        'SA_PROJECT_SALES_ORDER_INQ' => array(SS_PROJECTS_A|5, _("Project (Customer) Purchase Orders Inquiry")),
        'SA_PROJECT_PAY_APP_INQ' => array(SS_PROJECTS_A|6, _("Project Payment Application Inquiry")),
        'SA_SUBCONTRACTOR_INVOICE_INQ' => array(SS_PROJECTS_A|7, _("Subcontractor Invoice Inquiry")),
        'SA_SUBCONTRACTOR_PURCHASE_ORDER_INQ' => array(SS_PROJECTS_A|8, _("Subcontractor Purchase Orders Inquiry")),
        'SA_SUBCONTRACTOR_CREDIT_NOTE_INQ' => array(SS_PROJECTS_A|9, _("Subcontractor Credit Notes Inquiry")),
        'SA_PROJECT_CREDIT_NOTE_INQ' => array(SS_PROJECTS_A|10, _("Project Credit Notes Inquiry")),
        'SA_MISCELLANEOUS_PROJECT_COSTS_INQ' => array(SS_PROJECTS_A|11, _("Miscellaneous Project Costs Inquiry")),

        
        'SA_PROJECT_ANALYTIC' => array(SS_PROJECTS_A|15, _("Project Reports and Inquiries")),
        'SA_PROJECT_MASTER_REP' => array(SS_PROJECTS_A|16, _("Project Master Report")),
        
        'SA_REP_PROJ_INVOICE' => array(SS_PROJECTS_A|17, _("Print Project Invoices/credit notes")),
        'SA_REP_PROJECT_PROFIT' => array(SS_PROJECTS_A|18, _("Print Project Profitability Report")),
        'SA_REP_PROJECT_PAY_APP' => array(SS_PROJECTS_A|19, _("Print Project Payment Application")),
        'SA_REBUILD_PROJECT_BUDGETS_INQ' => array(SS_PROJECTS_A|20, _("Rebuild Project Budgets Inquiry")),
        'SA_REP_PROJECT_PL_DETAIL' => array(SS_PROJECTS_A|21, _("Print Project P&L Detail Report")),
        'SA_UNAPPROVED_PROJECTS_INQ' => array(SS_PROJECTS_A|22, _("Unapproved Projects Inquiry (Approve Projects)")),
        'SA_PROJECT_STATUS_VIEW' => array(SS_PROJECTS_A|23, _("Project Status View")),
        'SA_PROJECT_REVISIONS_INQ' => array(SS_PROJECTS_A|24, _("Project Revisions Inquiry")),
        'SA_TASK_REVISIONS_INQ' => array(SS_PROJECTS_A|25, _("Budget Revisions Inquiry")),
        'SA_PROJECT_BUDGET_STATUS_VIEW' => array(SS_PROJECTS_A|26, _("Project Budget Status View")),
    

        
//============================================================
// Petty Cash
//===========================================================    
        'SA_PETTY_CASH_FLOAT_USERS' => array(SS_PETTY_CASH_C|1, _("Petty Cash Float Users")),
        'SA_PETTY_CASH_FLOATS' => array(SS_PETTY_CASH_C|2, _("Petty Cash Floats")),
        'SA_PROJECT_FLOATS' => array(SS_PETTY_CASH_C|3, _("Project Floats")),
        'SA_PETTY_CASH_EXPENSE_ACCOUNTS' => array(SS_PETTY_CASH_C|4, _("Petty cash Expense Accounts")),

        'SA_I_OWE_YOU_REQUESTS_ENTRY' => array(SS_PETTY_CASH|1, _("I Owe You Entry")),  
        'SA_I_OWE_YOU_EXPENSES_ENTRY' => array(SS_PETTY_CASH|2, _("I Owe You Expenses Entry")),  
        'SA_PETTY_CASH_EXPENSES_APPROVE' => array(SS_PETTY_CASH|3, _("Approve Petty Cash Expenses")),  
        'SA_PETTY_CASH_PAYMENTS_ENTRY' => array(SS_PETTY_CASH|4, _("I Owe You / Petty Cash Payments Entry")),
        'SA_PETTY_CASH_FLOAT_ADJUSTMENTS' => array(SS_PETTY_CASH|5, _("Petty Cash Float Adjustments")),  
        'SA_PETTY_CASH_FLOAT_REIMBURSEMENT' => array(SS_PETTY_CASH|6, _("Petty Cash Float Reimbursemnets")),
        'SA_I_OWE_YOU_REQUESTS_APPROVE' => array(SS_PETTY_CASH|7, _("Approve Petty Cash Requests")),
        'SA_I_OWE_YOU_ADVANCES' => array(SS_PETTY_CASH|8, _("I Owe You Advances")),
        'SA_PETTY_CASH_DIRECT_PAYMENTS' => array(SS_PETTY_CASH|9, _("Petty Cash Direct Payments")),
        'SA_PETTY_CASH_REOPEN_IOUS' => array(SS_PETTY_CASH|10, _("Reopen I Owe Yous")),
        'SA_PETTY_CASH_EXPENSES_ENTRY' => array(SS_PETTY_CASH|11, _("Petty Cash Expenses Entry")),
        'SA_PROJECT_FLOAT_ADVANCES' => array(SS_PETTY_CASH|12, _("Project Float Advances")),
        'SA_PROJECT_FLOAT_ENTRIES' => array(SS_PETTY_CASH|13, _("Project Float Entries")),
        
        
        'SA_I_OWE_YOU_INQ' => array(SS_PETTY_CASH_A|1, _("I Owe You Inquiry")),     
        'SA_PETTY_CASH_FLOAT_INQUIRY' => array(SS_PETTY_CASH_A|2, _("Petty Cash Float Inquiry")),
        'SA_PETTY_CASH_ANALYTIC' => array(SS_PETTY_CASH_A|3, _("Petty Cash Reports and Inquiries")),
        'SA_PETTYCASH_TRANSVIEW' => array(SS_PETTY_CASH_A|4,  _("Petty Cash transaction views")),   
        'SA_REP_PETTY_CASH' => array(SS_PETTY_CASH_A|5,  _("IOU / Petty Cash Reports")),
        'SA_I_OWE_YOU_ADVANCES_INQ' => array(SS_PETTY_CASH_A|6, _("I Owe You Advances Inquiry")),
        'SA_PETTY_CASH_EXPENSES_INQ' => array(SS_PETTY_CASH_A|7, _("Petty cash Expenses Inquiry")),
        'SA_PROJECT_FLOAT_ADVANCES_INQ' => array(SS_PETTY_CASH_A|8, _("Project Float Advances Inquiry")),
        'SA_PROJECT_FLOAT_INQ' => array(SS_PETTY_CASH_A|9, _("Project Float Inquiry")),
        'SA_REP_PETTY_CASH_SUMMARY' => array(SS_PETTY_CASH_A|10,  _("IOU / Petty Summary Report")),
        'SA_PETTY_CASH_PAYMENTS_INQ' => array(SS_PETTY_CASH_A|11, _("Petty cash Payments Inquiry")),
    
        
//==================================================================
// Transport
//==================================================================    
        
        'SA_DRIVERS' => array(SS_TRANSPORT_C|4, _("Drivers")),
        'SA_VEHICLE_ENTRY' => array(SS_TRANSPORT_C|5, _("VEhicles")),
        'SA_VEHICLE_PACKAGES' => array(SS_TRANSPORT_C|6, _("Vehicle Packages")), 
     
         
        'SA_POST_VEHICLE_RUNNING_CHART' => array(SS_TRANSPORT|7, _("Post Vehicle Running Chart")),  
        'SA_CREATE_VEHICLE_ALLOCATIONS' => array(SS_TRANSPORT|8, _("Allocate Vehcles")),
        'SA_VEHICLE_REQUEST' => array(SS_TRANSPORT|9, _("Vehicle Request")),  
        'SA_VEHICLE_RUNNING_CHART_ENTRY' => array(SS_TRANSPORT|10, _("Vehcle Running Chart Entry")),
        'SA_MANAGE_VEHICLE_ALLOCATIONS' => array(SS_TRANSPORT|11, _("Manage Vehicle Allocations")),
        'SA_SUPPLIER_TRANSPORT_INVOICES' => array(SS_TRANSPORT|12, _("Supplier Transport Invoices Entry")),
    
       
        
        'SA_TRANSPORT_TRANSVIEW' => array(SS_TRANSPORT|17, _("Transport transaction views")),
        
        
        'SA_TRANSPORT_ANALYTIC' => array(SS_TRANSPORT_A|1, _("Transport Reports and Inquiries")),
        'SA_VEHICLE_REQUEST_INQ' => array(SS_TRANSPORT_A|2, _("Vehicle Request Inquiry")),
        'SA_VEHICLE_ALLOCATION_INQ' => array(SS_TRANSPORT_A|3, _("Vehicle Allocation Inquiry")),
        'SA_VEHICLE_RUNNING_CHART_INQ' => array(SS_TRANSPORT_A|4, _("Vehicle Running Chart Inquiry")),
        
        'SA_SUPPLIER_TRANSPORT_INVOICES_INQ' => array(SS_TRANSPORT_A|6, _("Supplier Transport Invoices Inquiry")),
        'SA_REP_TRANSPORT' => array(SS_TRANSPORT_A|7, _("Vehicle Allocation Sheet")),
    
       
//==================================================================    
// Finance Management
//==================================================================    
    
        'SA_CREDIT_FACILITIES' => array(SS_FINANCE|1, _("Credit Facilities")),
        'SA_COMPANY_LOANS' => array(SS_FINANCE|2, _("Company Loans")),
        'SA_BONDS' => array(SS_FINANCE|3, _("Bonds")),
        'SA_LETTERS_OF_CREDIT' => array(SS_FINANCE|4, _("Letters of Credit")),
        'SA_INSURED_ITEMS' => array(SS_FINANCE|5, _("Insured Items")),       
        'SA_FIXED_DEPOSITS' => array(SS_FINANCE|6, _("Fixed Deposits")),   
        'SA_COMPANY_LOAN_INSTALMENTS' => array(SS_FINANCE|7, _("Company Loan Installments")),  
        
        'SA_FINNACE_INQUIRIES' => array(SS_FINANCE_A|1, _("Finance Management Inquiries")),
        'SA_FINANCE_ANALYTIC' => array(SS_FINANCE_A|2, _("Finance Management Reports")),
    
    
       
        
//==================================================================
// Assets
//================================================================== 
      
        'SA_ASSET_CATEGORIES' => array(SS_ASSETS_C|1, _("Asset Categories")),               
        'SA_ASSET_ENTRY' => array(SS_ASSETS_C|2, _("Asset Entry")),
        'SA_ASSET_TYPES' => array(SS_ASSETS_C|3, _("Asset Types")),
        'SA_ASSET_GROUPS' => array(SS_ASSETS_C|7, _("Asset Groups")), 
        'SA_TOOL_RATES' => array(SS_ASSETS_C|8, _("Tool Rates")), 
        'SA_ASSET_LOCATIONS' => array(SS_ASSETS_C|9, _("Asset Locations")), 
        
        
        'SA_STOCK_ASSET_TRANSFER' => array(SS_ASSETS|1, _("Stock Asset Transfers")),  
        'SA_ASSET_DEPRICIATION_RUN' => array(SS_ASSETS|2, _("Asset Dericiation Calculation")),  
        'SA_PROCESS_ASSET_DEPRICIATION' => array(SS_ASSETS|3, _("Process Asset Dericiation Calculation")),  
        'SA_ASSET_BOOKING_REQUEST' => array(SS_ASSETS|4, _("Asset Booking Request")),
    
        'SA_ISSUE_ASSETS' => array(SS_ASSETS|6, _("Issue Assets")),  
    
        'SA_TOOL_REQUEST' => array(SS_ASSETS|13, _("Tool Requests")),
        'SA_TOOL_ISSUE' => array(SS_ASSETS|14, _("Tool Issues")),
        'SA_TOOL_RETURN' => array(SS_ASSETS|15, _("Tool Returns")),
        'SA_CALCULATE_TOOL_USAGE_CHARGES' => array(SS_ASSETS|16, _("Calculate Tool Usage Charges")),
        'SA_ASSET_TRANSVIEW' => array(SS_ASSETS|17, _("Asset transaction views")),
        'SA_ASSET_TRANSFER_REQUEST' => array(SS_ASSETS|18, _("Asset transfer Requests")),
        'SA_ASSET_TRANSFER' => array(SS_ASSETS|19, _("Asset transfers")),
        'SA_ASSET_QUANTITY_ADJUSTMENT_REQUEST' => array(SS_ASSETS|20, _("Asset Quantity Adjustment Requests")),
        'SA_ASSET_QUANTITY_ADJUSTMENT' => array(SS_ASSETS|21, _("Asset Quantity Adjustments")),
        'SA_DAILY_TOOL_ISSUE' => array(SS_ASSETS|22, _("Daily Tool Issue")),
        'SA_DAILY_TOOL_RETURN' => array(SS_ASSETS|23, _("Daily Tool Return")),
        
        
        'SA_ASSET_ANALYTIC' => array(SS_ASSETS_A|1, _("Asset Reports and Inquiries")),       
        'SA_ASSETTRANSVIEW' => array(SS_ASSETS_A|5,  _("Asset transaction views")),          
        'SA_TOOL_REQUEST_INQ' => array(SS_ASSETS_A|8, _("Tool Requests Inquiry")),
        'SA_TOOL_ISSUE_INQ' => array(SS_ASSETS_A|9, _("Tool Issues Inquiry")),
        'SA_TOOL_RETURN_INQ' => array(SS_ASSETS_A|10, _("Tool Returns Inquiry")),
        'SA_REP_ASSET_MASTER' => array(SS_ASSETS_A|11, _("Asset Master Export")),
        'SA_TOOL_USAGE_CHARGES_VIEW' => array(SS_ASSETS_A|12, _("Tool Usage Charges View")),
        'SA_ASSET_MOVEMENT_INQ' => array(SS_ASSETS_A|13, _("Asset Movement Inquiry")),
        'SA_STOCK_ASSET_TRANSFER_INQ' => array(SS_ASSETS_A|14, _("Stock Asset Transfer Iquiry")),
    
        'SA_ASSET_TRANSFER_REQUEST_INQ' => array(SS_ASSETS_A|15, _("Asset Transfer Requests Inquiry")),
        'SA_ASSET_TRANSFER_INQ' => array(SS_ASSETS_A|16, _("Asset Transfers Inquiry")),
        'SA_ASSET_QUANTITY_ADJUSTMENT_REQUEST_INQ' => array(SS_ASSETS_A|17, _("Asset Quantity Adjustment Requests Inquiry")),
        'SA_ASSET_QUANTITY_ADJUSTMENT_INQ' => array(SS_ASSETS_A|18, _("Asset Quantity Adjustment Inquiry")),
        'SA_TOOL_USAGE_CHARGES_INQ' => array(SS_ASSETS_A|19, _("Tool Usage Charges Inquiry")),
        'SA_DAILY_TOOL_ISSUES_INQ' => array(SS_ASSETS_A|20, _("Daily Tool Issues Inquiry")),
        'SA_DAILY_TOOL_RETURNS_INQ' => array(SS_ASSETS_A|21, _("Daily Tool Returns Inquiry")),
    
            
    
//===========================================================
// Etimation
//==========================================================    
     
        'SA_EST_INITIATE_PROJECTS' => array(SS_ESTIMATION_C|1, _("Initiate Estimation Projects")),
    
        'SA_EST_PROJECTS' => array(SS_ESTIMATION|1, _("Estimation Projects")),
        'SA_EST_PROJECT_BOQ_ITEM_GROUPS' => array(SS_ESTIMATION|2, _("Estimation Project BOQ Item Groups")),
        'SA_EST_PROJECT_BOQ_ITEMS' => array(SS_ESTIMATION|3, _("Estimation Project BOQ Items")),
        'SA_EST_COMPETITORS' => array(SS_ESTIMATION|4, _("Estimation Projects Competitors")),
        'SA_REOPEN_PROJECTS' => array(SS_ESTIMATION|5, _("Reopen Projects")),  
        'SA_EST_COPY_TO_SYS_PROJECT' => array(SS_ESTIMATION|6, _("Copy Estimation Project to A System Project")),
    
        
        'SA_EST_UNAPPROVED_PROJECTS_INQ' => array(SS_ESTIMATION_A|1, _("Approve Estimation Projects")),
        'SA_EST_COMPETITOR_INQ' => array(SS_ESTIMATION_A|2, _("Estimation Project Competitor Inquiry")),
        'SA_EST_PROJECT_STATUS_VIEW' => array(SS_ESTIMATION_A|3, _("Estimation Project Status View")),
    

//===========================================================
// Imports
//==========================================================    
        //'SA_IMPORT_PURCHASE_ORDERS' => array(SS_IMPORTS_C|1, _("Initiate Estimation Projects")),
    
        'SA_IMPORT_PO_PAYTERMS' => array(SS_IMPORTS_C|1, _("Import PO Payment Terms")),    
    
        'SA_IMPORT_PURCHASE_ORDERS' => array(SS_IMPORTS|1, _("Import Purchase Orders")),    
        
        //'SA_EST_UNAPPROVED_PROJECTS_INQ' => array(SS_IMPORTS_A|1, _("Approve Estimation Projects")),
    
//===========================================================
// Dashboard
//==========================================================   
     
        'SA_CALCULATE_MONTHLY_SUMMARIES' => array(SS_DASHBOARD_C|1, _("Calculate Monthly Summaries")),
        'SA_PROJECT_SECTIONS' => array(SS_DASHBOARD_C|2, _("Project Sections")),
        'SA_UPLOAD_PROJECT_IMAGES' => array(SS_DASHBOARD_C|3, _("Upload Project Images")),
    
        'SA_DASHBOARD_COMPANY_VIEW' => array(SS_DASHBOARD|1, _("Company View")),
        'SA_DASHBOARD_DEPARTMENT_VIEW' => array(SS_DASHBOARD|2, _("Department View")),
        'SA_DASHBOARD_FINANCE_VIEW' => array(SS_DASHBOARD|3, _("Finance View")),
        'SA_DASHBOARD_GL_VIEW' => array(SS_DASHBOARD|4, _("GL View")),
        'SA_DASHBOARD_PAYROLL_VIEW' => array(SS_DASHBOARD|5, _("Payroll View")),
        'SA_DASHBOARD_PROJECT_VIEW' => array(SS_DASHBOARD|6, _("Project View")),
        'SA_DASHBOARD_PURCHASING_VIEW' => array(SS_DASHBOARD|7, _("Purchasing View")),
        'SA_DASHBOARD_SALES_VIEW' => array(SS_DASHBOARD|8, _("Sales View")),
        'SA_PROJECT_GALLERY' => array(SS_DASHBOARD|9, _("Project Gallery")),
    
        'SA_DASHBOARD_PETTY_CASH_VIEW' => array(SS_DASHBOARD|10, _("Petty Cash View")),
        'SA_DASHBOARD_INVENTORY_VIEW' => array(SS_DASHBOARD|11, _("Inventory View")),
        'SA_DASHBOARD_TRANSPORT_VIEW' => array(SS_DASHBOARD|12, _("Transport View")),
        'SA_DASHBOARD_UTILITY_VIEW' => array(SS_DASHBOARD|13, _("Utility Expenses View")),
        'SA_DASHBOARD_ASSET_VIEW' => array(SS_DASHBOARD|14, _("Assets View")),
    
    
    
    
    
    
    
    ));