X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=applications%2Fsuppliers.php;h=56b702194f060110f9d3edcc02b040ba0ab217bf;hb=27457e8b66b9ebd588cb515f03ca622f78fafc03;hp=9f7213ba4250b20378c2b2aaf3b9f9ff0b64ae39;hpb=da8311619dd73feae101d246a1957b972e00cbd2;p=fa-stable.git diff --git a/applications/suppliers.php b/applications/suppliers.php index 9f7213ba..56b70219 100644 --- a/applications/suppliers.php +++ b/applications/suppliers.php @@ -1,32 +1,57 @@ -application("AP",_("Purchases")); - - $this->add_module(_("Transactions")); - $this->add_lapp_function(0, _("Purchase Order Entry"),"purchasing/po_entry_items.php?NewOrder=Yes"); - $this->add_lapp_function(0, _("Outstanding Purchase Orders Maintenance"),"purchasing/inquiry/po_search.php?"); - $this->add_rapp_function(0, _("Payments to Suppliers"),"purchasing/supplier_payment.php?"); - $this->add_rapp_function(0, "",""); - $this->add_rapp_function(0, _("Supplier Invoices"),"purchasing/supplier_invoice.php?New=1"); - $this->add_rapp_function(0, _("Supplier Credit Notes"),"purchasing/supplier_credit.php?New=1"); - $this->add_rapp_function(0, _("Allocate Supplier Payments or Credit Notes"),"purchasing/allocations/supplier_allocation_main.php?"); - - $this->add_module(_("Inquiries and Reports")); - $this->add_lapp_function(1, _("Purchase Orders Inquiry"),"purchasing/inquiry/po_search_completed.php?"); - $this->add_lapp_function(1, _("Supplier Transaction Inquiry"),"purchasing/inquiry/supplier_inquiry.php?"); - $this->add_lapp_function(1, "",""); - $this->add_lapp_function(1, _("Supplier Allocation Inquiry"),"purchasing/inquiry/supplier_allocation_inquiry.php?"); - - $this->add_rapp_function(1, _("Supplier and Purchasing Reports"),"reporting/reports_main.php?Class=1"); - - $this->add_module(_("Maintenance")); - $this->add_lapp_function(2, _("Suppliers"),"purchasing/manage/suppliers.php?"); - } - } - - -?> \ No newline at end of file +. +***********************************************************************/ +class suppliers_app extends application +{ + function suppliers_app() + { + $this->application("AP", _($this->help_context = "&Purchases")); + + $this->add_module(_("Transactions")); + $this->add_lapp_function(0, _("Purchase &Order Entry"), + "purchasing/po_entry_items.php?NewOrder=Yes", 'SA_PURCHASEORDER', MENU_TRANSACTION); + $this->add_lapp_function(0, _("&Outstanding Purchase Orders Maintenance"), + "purchasing/inquiry/po_search.php?", 'SA_GRN', MENU_TRANSACTION); + $this->add_lapp_function(0, _("Direct &GRN"), + "purchasing/po_entry_items.php?NewGRN=Yes", 'SA_GRN', MENU_TRANSACTION); + $this->add_lapp_function(0, _("Direct Supplier &Invoice"), + "purchasing/po_entry_items.php?NewInvoice=Yes", 'SA_SUPPLIERINVOICE', MENU_TRANSACTION); + + $this->add_rapp_function(0, _("&Payments to Suppliers"), + "purchasing/supplier_payment.php?", 'SA_SUPPLIERPAYMNT', MENU_TRANSACTION); + $this->add_rapp_function(0, "",""); + $this->add_rapp_function(0, _("Supplier &Invoices"), + "purchasing/supplier_invoice.php?New=1", 'SA_SUPPLIERINVOICE', MENU_TRANSACTION); + $this->add_rapp_function(0, _("Supplier &Credit Notes"), + "purchasing/supplier_credit.php?New=1", 'SA_SUPPLIERCREDIT', MENU_TRANSACTION); + $this->add_rapp_function(0, _("&Allocate Supplier Payments or Credit Notes"), + "purchasing/allocations/supplier_allocation_main.php?", 'SA_SUPPLIERALLOC', MENU_TRANSACTION); + + $this->add_module(_("Inquiries and Reports")); + $this->add_lapp_function(1, _("Purchase Orders &Inquiry"), + "purchasing/inquiry/po_search_completed.php?", 'SA_SUPPTRANSVIEW', MENU_INQUIRY); + $this->add_lapp_function(1, _("Supplier Transaction &Inquiry"), + "purchasing/inquiry/supplier_inquiry.php?", 'SA_SUPPTRANSVIEW', MENU_INQUIRY); + $this->add_lapp_function(1, _("Supplier Allocation &Inquiry"), + "purchasing/inquiry/supplier_allocation_inquiry.php?", 'SA_SUPPLIERALLOC', MENU_INQUIRY); + + $this->add_rapp_function(1, _("Supplier and Purchasing &Reports"), + "reporting/reports_main.php?Class=1", 'SA_SUPPTRANSVIEW', MENU_REPORT); + + $this->add_module(_("Maintenance")); + $this->add_lapp_function(2, _("&Suppliers"), + "purchasing/manage/suppliers.php?", 'SA_SUPPLIER', MENU_ENTRY); + + $this->add_extensions(); + } +} + +