projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[0005223] Fixed Asset Purchase, Direct Supplier Invoice: fixed invalid cost handling...
[fa-stable.git]
/
applications
/
customers.php
diff --git
a/applications/customers.php
b/applications/customers.php
index d99e8fbbb562d6d017a2302000419fa16b1fca82..e7453d86bc0418d49f46d40210c56502fbc63814 100644
(file)
--- a/
applications/customers.php
+++ b/
applications/customers.php
@@
-11,74
+11,74
@@
***********************************************************************/
class customers_app extends application
{
***********************************************************************/
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"),
$this->add_module(_("Transactions"));
$this->add_lapp_function(0, _("Sales &Quotation Entry"),
- "sales/sales_order_entry.php?NewQuotation=Yes", 'SA_SALESQUOTE');
+ "sales/sales_order_entry.php?NewQuotation=Yes", 'SA_SALESQUOTE'
, MENU_TRANSACTION
);
$this->add_lapp_function(0, _("Sales &Order Entry"),
$this->add_lapp_function(0, _("Sales &Order Entry"),
- "sales/sales_order_entry.php?NewOrder=Yes", 'SA_SALESORDER');
+ "sales/sales_order_entry.php?NewOrder=Yes", 'SA_SALESORDER'
, MENU_TRANSACTION
);
$this->add_lapp_function(0, _("Direct &Delivery"),
$this->add_lapp_function(0, _("Direct &Delivery"),
- "sales/sales_order_entry.php?NewDelivery=0", 'SA_SALESDELIVERY');
+ "sales/sales_order_entry.php?NewDelivery=0", 'SA_SALESDELIVERY'
, MENU_TRANSACTION
);
$this->add_lapp_function(0, _("Direct &Invoice"),
$this->add_lapp_function(0, _("Direct &Invoice"),
- "sales/sales_order_entry.php?NewInvoice=0", 'SA_SALESINVOICE');
+ "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"),
$this->add_lapp_function(0, "","");
$this->add_lapp_function(0, _("&Delivery Against Sales Orders"),
- "sales/inquiry/sales_orders_view.php?OutstandingOnly=1", 'SA_SALESDELIVERY');
+ "sales/inquiry/sales_orders_view.php?OutstandingOnly=1", 'SA_SALESDELIVERY'
, MENU_TRANSACTION
);
$this->add_lapp_function(0, _("&Invoice Against Sales Delivery"),
$this->add_lapp_function(0, _("&Invoice Against Sales Delivery"),
- "sales/inquiry/sales_deliveries_view.php?OutstandingOnly=1", 'SA_SALESINVOICE');
+ "sales/inquiry/sales_deliveries_view.php?OutstandingOnly=1", 'SA_SALESINVOICE'
, MENU_TRANSACTION
);
$this->add_rapp_function(0, _("&Template Delivery"),
$this->add_rapp_function(0, _("&Template Delivery"),
- "sales/inquiry/sales_orders_view.php?DeliveryTemplates=Yes", 'SA_SALESDELIVERY');
+ "sales/inquiry/sales_orders_view.php?DeliveryTemplates=Yes", 'SA_SALESDELIVERY'
, MENU_TRANSACTION
);
$this->add_rapp_function(0, _("&Template Invoice"),
$this->add_rapp_function(0, _("&Template Invoice"),
- "sales/inquiry/sales_orders_view.php?InvoiceTemplates=Yes", 'SA_SALESINVOICE');
+ "sales/inquiry/sales_orders_view.php?InvoiceTemplates=Yes", 'SA_SALESINVOICE'
, MENU_TRANSACTION
);
$this->add_rapp_function(0, _("&Create and Print Recurrent Invoices"),
$this->add_rapp_function(0, _("&Create and Print Recurrent Invoices"),
- "sales/create_recurrent_invoices.php?", 'SA_SALESINVOICE');
+ "sales/create_recurrent_invoices.php?", 'SA_SALESINVOICE'
, MENU_TRANSACTION
);
$this->add_rapp_function(0, "","");
$this->add_rapp_function(0, _("Customer &Payments"),
$this->add_rapp_function(0, "","");
$this->add_rapp_function(0, _("Customer &Payments"),
- "sales/customer_payments.php?", 'SA_SALESPAYMNT');
+ "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"),
$this->add_rapp_function(0, _("Customer &Credit Notes"),
- "sales/credit_note_entry.php?NewCredit=Yes", 'SA_SALESCREDIT');
+ "sales/credit_note_entry.php?NewCredit=Yes", 'SA_SALESCREDIT'
, MENU_TRANSACTION
);
$this->add_rapp_function(0, _("&Allocate Customer Payments or Credit Notes"),
$this->add_rapp_function(0, _("&Allocate Customer Payments or Credit Notes"),
- "sales/allocations/customer_allocation_main.php?", 'SA_SALESALLOC');
+ "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"),
$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');
+ "sales/inquiry/sales_orders_view.php?type=32", 'SA_SALESTRANSVIEW'
, MENU_INQUIRY
);
$this->add_lapp_function(1, _("Sales Order &Inquiry"),
$this->add_lapp_function(1, _("Sales Order &Inquiry"),
- "sales/inquiry/sales_orders_view.php?type=30", 'SA_SALESTRANSVIEW');
+ "sales/inquiry/sales_orders_view.php?type=30", 'SA_SALESTRANSVIEW'
, MENU_INQUIRY
);
$this->add_lapp_function(1, _("Customer Transaction &Inquiry"),
$this->add_lapp_function(1, _("Customer Transaction &Inquiry"),
- "sales/inquiry/customer_inquiry.php?", 'SA_SALESTRANSVIEW');
- $this->add_lapp_function(1, "","");
+ "sales/inquiry/customer_inquiry.php?", 'SA_SALESTRANSVIEW', MENU_INQUIRY);
$this->add_lapp_function(1, _("Customer Allocation &Inquiry"),
$this->add_lapp_function(1, _("Customer Allocation &Inquiry"),
- "sales/inquiry/customer_allocation_inquiry.php?", 'SA_SALESALLOC');
+ "sales/inquiry/customer_allocation_inquiry.php?", 'SA_SALESALLOC'
, MENU_INQUIRY
);
$this->add_rapp_function(1, _("Customer and Sales &Reports"),
$this->add_rapp_function(1, _("Customer and Sales &Reports"),
- "reporting/reports_main.php?Class=0", 'SA_SALESTRANSVIEW');
+ "reporting/reports_main.php?Class=0", 'SA_SALESTRANSVIEW'
, MENU_REPORT
);
$this->add_module(_("Maintenance"));
$this->add_lapp_function(2, _("Add and Manage &Customers"),
$this->add_module(_("Maintenance"));
$this->add_lapp_function(2, _("Add and Manage &Customers"),
- "sales/manage/customers.php?", 'SA_CUSTOMER');
+ "sales/manage/customers.php?", 'SA_CUSTOMER'
, MENU_ENTRY
);
$this->add_lapp_function(2, _("Customer &Branches"),
$this->add_lapp_function(2, _("Customer &Branches"),
- "sales/manage/customer_branches.php?", 'SA_CUSTOMER');
+ "sales/manage/customer_branches.php?", 'SA_CUSTOMER'
, MENU_ENTRY
);
$this->add_lapp_function(2, _("Sales &Groups"),
$this->add_lapp_function(2, _("Sales &Groups"),
- "sales/manage/sales_groups.php?", 'SA_SALESGROUP');
+ "sales/manage/sales_groups.php?", 'SA_SALESGROUP'
, MENU_MAINTENANCE
);
$this->add_lapp_function(2, _("Recurrent &Invoices"),
$this->add_lapp_function(2, _("Recurrent &Invoices"),
- "sales/manage/recurrent_invoices.php?", 'SA_SRECURRENT');
+ "sales/manage/recurrent_invoices.php?", 'SA_SRECURRENT'
, MENU_MAINTENANCE
);
$this->add_rapp_function(2, _("Sales T&ypes"),
$this->add_rapp_function(2, _("Sales T&ypes"),
- "sales/manage/sales_types.php?", 'SA_SALESTYPES');
+ "sales/manage/sales_types.php?", 'SA_SALESTYPES'
, MENU_MAINTENANCE
);
$this->add_rapp_function(2, _("Sales &Persons"),
$this->add_rapp_function(2, _("Sales &Persons"),
- "sales/manage/sales_people.php?", 'SA_SALESMAN');
+ "sales/manage/sales_people.php?", 'SA_SALESMAN'
, MENU_MAINTENANCE
);
$this->add_rapp_function(2, _("Sales &Areas"),
$this->add_rapp_function(2, _("Sales &Areas"),
- "sales/manage/sales_areas.php?", 'SA_SALESAREA');
+ "sales/manage/sales_areas.php?", 'SA_SALESAREA'
, MENU_MAINTENANCE
);
$this->add_rapp_function(2, _("Credit &Status Setup"),
$this->add_rapp_function(2, _("Credit &Status Setup"),
- "sales/manage/credit_status.php?", 'SA_CRSTATUS');
+ "sales/manage/credit_status.php?", 'SA_CRSTATUS'
, MENU_MAINTENANCE
);
$this->add_extensions();
}
}
$this->add_extensions();
}
}
-?>
\ No newline at end of file