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){
row
.find('.totalPriceCell')
.find('.totalPriceCell,.unitPriceCell')
.css('font-size', 0)
}
@@ -496,7 +496,6 @@ const freetextSubmitted = (text: string) => {
item.name = text
addNewItem(item)
}
const customItem = () => showVirtualKeyboard(lang('enter_item_name'), 32,false, customItemTextSubmitted)