X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=applications%2Fcustomers.php;h=e7453d86bc0418d49f46d40210c56502fbc63814;hb=317210096efdbe5b375d5a0112d4f10a3c3c0b53;hp=ff161af8f41c6ff06730c6d4086250f9f9319d37;hpb=271a0acb700da2fb593301e42d0c088155dc28ca;p=fa-stable.git diff --git a/applications/customers.php b/applications/customers.php index ff161af8..e7453d86 100644 --- a/applications/customers.php +++ b/applications/customers.php @@ -11,9 +11,9 @@ ***********************************************************************/ class customers_app extends application { - function customers_app() + function __construct() { - $this->application("orders", _($this->help_context = "&Sales")); + parent::__construct("orders", _($this->help_context = "&Sales")); $this->add_module(_("Transactions")); $this->add_lapp_function(0, _("Sales &Quotation Entry"), @@ -26,32 +26,33 @@ 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_lapp_function(0, _("Invoice &Prepaid Orders"), + "sales/inquiry/sales_orders_view.php?PrepaidOrders=Yes", 'SA_SALESINVOICE', 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, "",""); $this->add_lapp_function(1, _("Customer Allocation &Inquiry"), "sales/inquiry/customer_allocation_inquiry.php?", 'SA_SALESALLOC', MENU_INQUIRY); @@ -66,11 +67,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"), @@ -81,4 +82,3 @@ class customers_app extends application } -?> \ No newline at end of file