X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=applications%2Fcustomers.php;h=eb3f9812671060a544cd150ca411a1f406d8a616;hb=ea1ac6e8c569745bd4099d47936f6dfe86b8b9d4;hp=96d1f81286bf6fe6cb8cd71868c4b84739412464;hpb=e3b48984f41047ad16201ff1e757af02d228d79e;p=fa-stable.git diff --git a/applications/customers.php b/applications/customers.php index 96d1f812..eb3f9812 100644 --- a/applications/customers.php +++ b/applications/customers.php @@ -13,10 +13,11 @@ { function customers_app() { - global $installed_modules; - $this->application("orders",_("Sales")); + global $installed_extensions; + $this->application("orders",_("&Sales")); $this->add_module(_("Transactions")); + $this->add_lapp_function(0, _("Sales &Quotation Entry"),"sales/sales_order_entry.php?NewQuotation=Yes"); $this->add_lapp_function(0, _("Sales &Order Entry"),"sales/sales_order_entry.php?NewOrder=Yes"); $this->add_lapp_function(0, _("Direct &Delivery"),"sales/sales_order_entry.php?NewDelivery=0"); $this->add_lapp_function(0, _("Direct &Invoice"),"sales/sales_order_entry.php?NewInvoice=0"); @@ -33,7 +34,8 @@ $this->add_rapp_function(0, _("&Allocate Customer Payments or Credit Notes"),"sales/allocations/customer_allocation_main.php?"); $this->add_module(_("Inquiries and Reports")); - $this->add_lapp_function(1, _("Sales Order &Inquiry"),"sales/inquiry/sales_orders_view.php?"); + $this->add_lapp_function(1, _("Sales Quotation I&nquiry"),"sales/inquiry/sales_orders_view.php?type=32"); + $this->add_lapp_function(1, _("Sales Order &Inquiry"),"sales/inquiry/sales_orders_view.php?type=30"); $this->add_lapp_function(1, _("Customer Transaction &Inquiry"),"sales/inquiry/customer_inquiry.php?"); $this->add_lapp_function(1, "",""); $this->add_lapp_function(1, _("Customer Allocation &Inquiry"),"sales/inquiry/customer_allocation_inquiry.php?"); @@ -49,12 +51,12 @@ $this->add_rapp_function(2, _("Sales &Persons"),"sales/manage/sales_people.php?"); $this->add_rapp_function(2, _("Sales &Areas"),"sales/manage/sales_areas.php?"); $this->add_rapp_function(2, _("Credit &Status Setup"),"sales/manage/credit_status.php?"); - if (count($installed_modules) > 0) + if (count($installed_extensions) > 0) { - foreach ($installed_modules as $mod) + foreach ($installed_extensions as $mod) { - if ($mod["tab"] == "orders") - $this->add_rapp_function(2, $mod["name"], "modules/".$mod["path"]."/".$mod["filename"]."?"); + if (@$mod['active'] && $mod['type'] == 'plugin' && $mod["tab"] == "orders") + $this->add_rapp_function(2, $mod["title"], "modules/".$mod["path"]."/".$mod["filename"]."?"); } } }