Merge pull request #12 from dredgy/test_data_update

Update test data
This commit is contained in:
dredgy
2022-07-09 19:45:23 +10:00
committed by GitHub

View File

@@ -253,6 +253,12 @@ const renderOrderBox = () => {
const element = orderBox.find('tbody tr').last().get()[0]
element.scrollIntoView()
OrderScreen.last_added_item = null
updateOrderBoxTotals()
}
const setOrderItems = (orderItems: orderItem[]) => {
OrderScreen.order_items = orderItems
renderOrderBox()
}
const createOrderRow = (orderItem: orderItem) => {