LineItems

LineItems React Component for displaying the actionable data on the invoice section on the orders sideview

Source:

Extends

  • Component

Members

(inner) LineItems propTypes

React component for displaying the actionable data on the invoice section on the orders sideview

Source:
Properties:
Name Type Description
order Object

An object representing an order

uniqueItems Object

An object representing a line item

editedItems Array

An array/list of line items that have been edited/modified

selectedItems Array

An array of all the line items that have been selected

displayMedia function

A function to display line items images

clearRefunds function

A function to clear edited/selected items

getRefundedItemsInfo function

A function that returns an object containing refunded items info

getSelectedItemsInfo function

A function that returns an object containing selected items info

handleInputChange function

A function to handle numeric input change

handleItemSelect function

A function to handle selecting an item via chekbox

handlePopOverOpen function

A function to handle the popover open and close

handleRefundItems function

A function to handle items return

handleSelectAllItems function

A function to handle selecting of all items

selectAllItems Bool

A boolean indicating whether all items have been selected

isRefunding Bool

A boolean indicating whether payment is being refunded

popOverIsOpen Bool

A boolean indicating whether popover is open