instruction row now hides price if $0

This commit is contained in:
2022-07-03 19:09:31 +10:00
parent aa37b24293
commit 510bd8cfb9

View File

@@ -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)