API Docs for:
Show:

eb_OrderHistoryAdmin Class

Order History Admin class.

Methods

eb_OrderHistoryAdmin.domElement

(
  • domElement
)

Page DOM element.

Parameters:

  • domElement Object

    current DOM element.

eb_OrderHistoryAdmin.model

(
  • options
)

Order History Admin model responsible for admin's order history operations.

Parameters:

  • options Any

    Object of order history admin data.

    • ServicePath String

      Service URL.

    • SitePath String

      Site URL.

    • templatePath String

      HTML path.

    • domElement Object

      Order History Admin DOM element.

eb_OrderHistoryAdmin.OrderHistoryService

(
  • companyId
)
Object

This method is used to get order history data for company

Parameters:

  • companyId String

    current company selected.

Returns:

Object:

jQuery promise object which when resolved returns order history data.

eb_OrderHistoryAdmin.orderLinesHistoryService

(
  • companyId
  • orderId
)
Object

This method is used to get order lines data.

Parameters:

  • companyId String

    current company selected Id.

  • orderId String

    OrderId.

Returns:

Object:

jQuery promise object which when resolved returns order lines data.

eb_OrderHistoryAdmin.render

(
  • options
)
String

The service will return order history admin HTML.

Parameters:

  • options Any

    Array of required data.

    • templatePath String

      Order History Admin template URL.

Returns:

String:

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.