-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Customer Bookings Panel #8
Comments
- created class file - created js file for chart - created files to show panel
@bbullemer The functions For example in Then you're going to copy the get_bookingsummarybycustomer() and its _dbfunc.php function. |
Make the class CustomerBookings
Call the file BookingsPanelCustomer.class.php
in the first line after the curly braces
paste use OrderPanelCustomerTraits;
include it in site**/templates/content/common/initialize.php**
Copy all the functions from BookingsPanel.class.php and paste into CustomerBookings
Copy all the files and directories from site/templates/dashboard/bookings
into
site/templates/customer/cust-page/bookings/
then in bookings-panel.php you'll want to include a call to set_customer($customer->custid, $customer->shipid);
Notice for the following functions you'll have to supply the custID and shipID in the urls
generate_viewsalesordersbydayurl($date)
generate_viewsalesorderdayurl($ordn, $date)
You'll also have to configure site/templates/content/ajax/load/bookings-router.php to fetch the
custID and shipID from the URL for cases sales-orders
The text was updated successfully, but these errors were encountered: