From 510bd8cfb9415bbec0ca99224cb492404032f407 Mon Sep 17 00:00:00 2001 From: Josh Date: Sun, 3 Jul 2022 19:09:31 +1000 Subject: [PATCH] instruction row now hides price if $0 --- typescript/dredgepos.orderScreen.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/typescript/dredgepos.orderScreen.ts b/typescript/dredgepos.orderScreen.ts index ef153ba..8f43556 100644 --- a/typescript/dredgepos.orderScreen.ts +++ b/typescript/dredgepos.orderScreen.ts @@ -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)