From 924470fc6a24acc0e5dba9771bdaea041a6dc20c Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Mon, 27 Dec 2010 16:05:18 +0000 Subject: [PATCH] Rerun. Changed som defines to better harmonize. --- applications/customers.php | 22 +++++++++++----------- applications/dimensions.php | 2 +- applications/generalledger.php | 16 ++++++++-------- applications/manufacturing.php | 6 +++--- applications/setup.php | 2 +- 5 files changed, 24 insertions(+), 24 deletions(-) diff --git a/applications/customers.php b/applications/customers.php index ff161af..eab888c 100644 --- a/applications/customers.php +++ b/applications/customers.php @@ -26,29 +26,29 @@ class customers_app extends application "sales/sales_order_entry.php?NewInvoice=0", 'SA_SALESINVOICE', MENU_TRANSACTION); $this->add_lapp_function(0, "",""); $this->add_lapp_function(0, _("&Delivery Against Sales Orders"), - "sales/inquiry/sales_orders_view.php?OutstandingOnly=1", 'SA_SALESDELIVERY', MENU_INQUIRY); + "sales/inquiry/sales_orders_view.php?OutstandingOnly=1", 'SA_SALESDELIVERY', MENU_TRANSACTION); $this->add_lapp_function(0, _("&Invoice Against Sales Delivery"), - "sales/inquiry/sales_deliveries_view.php?OutstandingOnly=1", 'SA_SALESINVOICE', MENU_INQUIRY); + "sales/inquiry/sales_deliveries_view.php?OutstandingOnly=1", 'SA_SALESINVOICE', MENU_TRANSACTION); $this->add_rapp_function(0, _("&Template Delivery"), - "sales/inquiry/sales_orders_view.php?DeliveryTemplates=Yes", 'SA_SALESDELIVERY', MENU_INQUIRY); + "sales/inquiry/sales_orders_view.php?DeliveryTemplates=Yes", 'SA_SALESDELIVERY', MENU_TRANSACTION); $this->add_rapp_function(0, _("&Template Invoice"), - "sales/inquiry/sales_orders_view.php?InvoiceTemplates=Yes", 'SA_SALESINVOICE', MENU_INQUIRY); + "sales/inquiry/sales_orders_view.php?InvoiceTemplates=Yes", 'SA_SALESINVOICE', MENU_TRANSACTION); $this->add_rapp_function(0, _("&Create and Print Recurrent Invoices"), - "sales/create_recurrent_invoices.php?", 'SA_SALESINVOICE', MENU_INQUIRY); + "sales/create_recurrent_invoices.php?", 'SA_SALESINVOICE', MENU_TRANSACTION); $this->add_rapp_function(0, "",""); $this->add_rapp_function(0, _("Customer &Payments"), - "sales/customer_payments.php?", 'SA_SALESPAYMNT', MENU_ENTRY); + "sales/customer_payments.php?", 'SA_SALESPAYMNT', MENU_TRANSACTION); $this->add_rapp_function(0, _("Customer &Credit Notes"), - "sales/credit_note_entry.php?NewCredit=Yes", 'SA_SALESCREDIT', MENU_ENTRY); + "sales/credit_note_entry.php?NewCredit=Yes", 'SA_SALESCREDIT', MENU_TRANSACTION); $this->add_rapp_function(0, _("&Allocate Customer Payments or Credit Notes"), - "sales/allocations/customer_allocation_main.php?", 'SA_SALESALLOC', MENU_INQUIRY); + "sales/allocations/customer_allocation_main.php?", 'SA_SALESALLOC', MENU_TRANSACTION); $this->add_module(_("Inquiries and Reports")); $this->add_lapp_function(1, _("Sales Quotation I&nquiry"), "sales/inquiry/sales_orders_view.php?type=32", 'SA_SALESTRANSVIEW', MENU_INQUIRY); $this->add_lapp_function(1, _("Sales Order &Inquiry"), - "sales/inquiry/sales_orders_view.php?type=30", 'SA_SALESTRANSVIEW', 'MENU_INQUIRY'); + "sales/inquiry/sales_orders_view.php?type=30", 'SA_SALESTRANSVIEW', MENU_INQUIRY); $this->add_lapp_function(1, _("Customer Transaction &Inquiry"), "sales/inquiry/customer_inquiry.php?", 'SA_SALESTRANSVIEW', MENU_INQUIRY); $this->add_lapp_function(1, "",""); @@ -66,11 +66,11 @@ class customers_app extends application $this->add_lapp_function(2, _("Sales &Groups"), "sales/manage/sales_groups.php?", 'SA_SALESGROUP', MENU_MAINTENANCE); $this->add_lapp_function(2, _("Recurrent &Invoices"), - "sales/manage/recurrent_invoices.php?", 'SA_SRECURRENT', MENU_INQUIRY); + "sales/manage/recurrent_invoices.php?", 'SA_SRECURRENT', MENU_MAINTENANCE); $this->add_rapp_function(2, _("Sales T&ypes"), "sales/manage/sales_types.php?", 'SA_SALESTYPES', MENU_MAINTENANCE); $this->add_rapp_function(2, _("Sales &Persons"), - "sales/manage/sales_people.php?", 'SA_SALESMAN', MENU_INQUIRY); + "sales/manage/sales_people.php?", 'SA_SALESMAN', MENU_MAINTENANCE); $this->add_rapp_function(2, _("Sales &Areas"), "sales/manage/sales_areas.php?", 'SA_SALESAREA', MENU_MAINTENANCE); $this->add_rapp_function(2, _("Credit &Status Setup"), diff --git a/applications/dimensions.php b/applications/dimensions.php index 88f05e3..3df00fd 100644 --- a/applications/dimensions.php +++ b/applications/dimensions.php @@ -22,7 +22,7 @@ class dimensions_app extends application $this->add_lapp_function(0, _("Dimension &Entry"), "dimensions/dimension_entry.php?", 'SA_DIMENSION', MENU_ENTRY); $this->add_lapp_function(0, _("&Outstanding Dimensions"), - "dimensions/inquiry/search_dimensions.php?outstanding_only=1", 'SA_DIMTRANSVIEW', MENU_INQUIRY); + "dimensions/inquiry/search_dimensions.php?outstanding_only=1", 'SA_DIMTRANSVIEW', MENU_TRANSACTIONS); $this->add_module(_("Inquiries and Reports")); $this->add_lapp_function(1, _("Dimension &Inquiry"), diff --git a/applications/generalledger.php b/applications/generalledger.php index 670f27a..c4c0522 100644 --- a/applications/generalledger.php +++ b/applications/generalledger.php @@ -17,19 +17,19 @@ class general_ledger_app extends application $this->add_module(_("Transactions")); $this->add_lapp_function(0, _("&Payments"), - "gl/gl_bank.php?NewPayment=Yes", 'SA_PAYMENT', MENU_ENTRY); + "gl/gl_bank.php?NewPayment=Yes", 'SA_PAYMENT', MENU_TRANSACTION); $this->add_lapp_function(0, _("&Deposits"), - "gl/gl_bank.php?NewDeposit=Yes", 'SA_DEPOSIT', MENU_ENTRY); + "gl/gl_bank.php?NewDeposit=Yes", 'SA_DEPOSIT', MENU_TRANSACTION); $this->add_lapp_function(0, _("Bank Account &Transfers"), - "gl/bank_transfer.php?", 'SA_BANKTRANSFER', MENU_ENTRY); + "gl/bank_transfer.php?", 'SA_BANKTRANSFER', MENU_TRANSACTION); $this->add_rapp_function(0, _("&Journal Entry"), - "gl/gl_journal.php?NewJournal=Yes", 'SA_JOURNALENTRY', MENU_ENTRY); + "gl/gl_journal.php?NewJournal=Yes", 'SA_JOURNALENTRY', MENU_TRANSACTION); $this->add_rapp_function(0, _("&Budget Entry"), - "gl/gl_budget.php?", 'SA_BUDGETENTRY', MENU_ENTRY); + "gl/gl_budget.php?", 'SA_BUDGETENTRY', MENU_TRANSACTION); $this->add_rapp_function(0, _("&Reconcile Bank Account"), - "gl/bank_account_reconcile.php?", 'SA_RECONCILE', MENU_INQUIRY); + "gl/bank_account_reconcile.php?", 'SA_RECONCILE', MENU_TRANSACTION); $this->add_rapp_function(0, _("Revenue / &Costs Accruals"), - "gl/accruals.php?", 'SA_ACCRUALS', MENU_INQUIRY); + "gl/accruals.php?", 'SA_ACCRUALS', MENU_TRANSACTION); $this->add_module(_("Inquiries and Reports")); $this->add_lapp_function(1, _("&Journal Inquiry"), @@ -54,7 +54,7 @@ class general_ledger_app extends application $this->add_module(_("Maintenance")); $this->add_lapp_function(2, _("Bank &Accounts"), - "gl/manage/bank_accounts.php?", 'SA_BANKACCOUNT', MENU_ENTRY); + "gl/manage/bank_accounts.php?", 'SA_BANKACCOUNT', MENU_MAINTENANCE); $this->add_lapp_function(2, _("&Quick Entries"), "gl/manage/gl_quick_entries.php?", 'SA_QUICKENTRY', MENU_MAINTENANCE); $this->add_lapp_function(2, _("Account &Tags"), diff --git a/applications/manufacturing.php b/applications/manufacturing.php index b876a5e..aef0bf3 100644 --- a/applications/manufacturing.php +++ b/applications/manufacturing.php @@ -17,9 +17,9 @@ class manufacturing_app extends application $this->add_module(_("Transactions")); $this->add_lapp_function(0, _("Work &Order Entry"), - "manufacturing/work_order_entry.php?", 'SA_WORKORDERENTRY', MENU_ENTRY); + "manufacturing/work_order_entry.php?", 'SA_WORKORDERENTRY', MENU_TRANSACTION); $this->add_lapp_function(0, _("&Outstanding Work Orders"), - "manufacturing/search_work_orders.php?outstanding_only=1", 'SA_MANUFTRANSVIEW', MENU_INQUIRY); + "manufacturing/search_work_orders.php?outstanding_only=1", 'SA_MANUFTRANSVIEW', MENU_TRANSACTION); $this->add_module(_("Inquiries and Reports")); $this->add_lapp_function(1, _("Costed Bill Of Material Inquiry"), @@ -33,7 +33,7 @@ class manufacturing_app extends application $this->add_module(_("Maintenance")); $this->add_lapp_function(2, _("&Bills Of Material"), - "manufacturing/manage/bom_edit.php?", 'SA_BOM', MENU_INQUIRY); + "manufacturing/manage/bom_edit.php?", 'SA_BOM', MENU_ENTRY); $this->add_lapp_function(2, _("&Work Centres"), "manufacturing/manage/work_centres.php?", 'SA_WORKCENTRES', MENU_MAINTENANCE); diff --git a/applications/setup.php b/applications/setup.php index 6e48fc7..7ee9fb7 100644 --- a/applications/setup.php +++ b/applications/setup.php @@ -33,7 +33,7 @@ class setup_app extends application $this->add_rapp_function(0, _("Item Ta&x Types"), "taxes/item_tax_types.php?", 'SA_ITEMTAXTYPE', MENU_MAINTENANCE); $this->add_rapp_function(0, _("System and &General GL Setup"), - "admin/gl_setup.php?", 'SA_GLSETUP', MENU_MAINTENANCE); + "admin/gl_setup.php?", 'SA_GLSETUP', MENU_SETTINGS); $this->add_rapp_function(0, _("&Fiscal Years"), "admin/fiscalyears.php?", 'SA_FISCALYEARS', MENU_MAINTENANCE); $this->add_rapp_function(0, _("&Print Profiles"), -- 2.30.2