Fixed get_post() support for numeric fields.
[fa-stable.git] / applications / suppliers.php
index 8bc5582ccbacbd008a20c94633c3af49e3bf0783..5c649e484320a52462e9891fee916b76ff782b5f 100644 (file)
@@ -11,9 +11,9 @@
 ***********************************************************************/
 class suppliers_app extends application 
 {
-       function suppliers_app() 
+       function __construct() 
        {
-               $this->application("AP", _($this->help_context = "&Purchases"));
+               parent::__construct("AP", _($this->help_context = "&Purchases"));
 
                $this->add_module(_("Transactions"));
                $this->add_lapp_function(0, _("Purchase &Order Entry"),
@@ -22,7 +22,7 @@ class suppliers_app extends application
                        "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 &Invoice"),
+               $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"),
@@ -55,4 +55,3 @@ class suppliers_app extends application
 }
 
 
-?>
\ No newline at end of file