eb_OrderHistoryAdmin Class
Order History Admin class.
Item Index
Methods
Methods
eb_OrderHistoryAdmin.domElement
-
domElement
Page DOM element.
Parameters:
-
domElementObjectcurrent DOM element.
eb_OrderHistoryAdmin.model
-
options
Order History Admin model responsible for admin's order history operations.
Parameters:
-
optionsAnyObject of order history admin data.
-
ServicePathStringService URL.
-
SitePathStringSite URL.
-
templatePathStringHTML path.
-
domElementObjectOrder History Admin DOM element.
-
eb_OrderHistoryAdmin.OrderHistoryService
-
companyId
This method is used to get order history data for company
Parameters:
-
companyIdStringcurrent company selected.
Returns:
jQuery promise object which when resolved returns order history data.
eb_OrderHistoryAdmin.orderLinesHistoryService
-
companyId -
orderId
This method is used to get order lines data.
Parameters:
-
companyIdStringcurrent company selected Id.
-
orderIdStringOrderId.
Returns:
jQuery promise object which when resolved returns order lines data.
eb_OrderHistoryAdmin.render
-
options
The service will return order history admin HTML.
Parameters:
-
optionsAnyArray of required data.
-
templatePathStringOrder History Admin template URL.
-
Returns:
Order History Admin HTML template.
Properties
eb_OrderHistoryAdmin.defaultImage
String
If Image is not available, then provide this image.
eb_OrderHistoryAdmin.getOrderHistoryAdmin
String
Order History service for all orders.
eb_OrderHistoryAdmin.getOrderLineHistory
String
Order History service for particular order
eb_OrderHistoryAdmin.productDetailsURL
String
Redirect to product Details Page.
eb_OrderHistoryAdmin.ServicePath
String
SOA path.
eb_OrderHistoryAdmin.SitePath
String
Site path. It would be set from configuration file.
eb_OrderHistoryAdmin.TemplatePath
String
Order History Admin template path.
