eb_OrderHistoryAdmin Class
Order History Admin class.
Item Index
Methods
Methods
eb_OrderHistoryAdmin.domElement
-
domElement
Page DOM element.
Parameters:
-
domElement
Objectcurrent DOM element.
eb_OrderHistoryAdmin.model
-
options
Order History Admin model responsible for admin's order history operations.
Parameters:
-
options
AnyObject of order history admin data.
-
ServicePath
StringService URL.
-
SitePath
StringSite URL.
-
templatePath
StringHTML path.
-
domElement
ObjectOrder History Admin DOM element.
-
eb_OrderHistoryAdmin.OrderHistoryService
-
companyId
This method is used to get order history data for company
Parameters:
-
companyId
Stringcurrent 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:
-
companyId
Stringcurrent company selected Id.
-
orderId
StringOrderId.
Returns:
jQuery promise object which when resolved returns order lines data.
eb_OrderHistoryAdmin.render
-
options
The service will return order history admin HTML.
Parameters:
-
options
AnyArray of required data.
-
templatePath
StringOrder 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.