Merge pull request #10 from dredgy/test_data_update

instruction row now hides price if $0
This commit is contained in:
dredgy authored and GitHub committed 2022-07-03 19:27:44 +10:00
commit 0a2ffa123a
1 file changed
+1 -2
+1 -2
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)