Preparing for reactivity
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user