instruction row now hides price if $0
This commit is contained in:
@@ -276,7 +276,7 @@ const createOrderRow = (orderItem: orderItem) => {
|
|||||||
|
|
||||||
if(orderItem.item.item_type == 'instruction' && price.value <= 0){
|
if(orderItem.item.item_type == 'instruction' && price.value <= 0){
|
||||||
row
|
row
|
||||||
.find('.totalPriceCell')
|
.find('.totalPriceCell,.unitPriceCell')
|
||||||
.css('font-size', 0)
|
.css('font-size', 0)
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -496,7 +496,6 @@ const freetextSubmitted = (text: string) => {
|
|||||||
item.name = text
|
item.name = text
|
||||||
|
|
||||||
addNewItem(item)
|
addNewItem(item)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const customItem = () => showVirtualKeyboard(lang('enter_item_name'), 32,false, customItemTextSubmitted)
|
const customItem = () => showVirtualKeyboard(lang('enter_item_name'), 32,false, customItemTextSubmitted)
|
||||||
|
|||||||
Reference in New Issue
Block a user