Hi, I was wondering if anyone had modified the invoice/workorder xml file to hide the prices when the work order is printed. The workorder will be used as a picking list for warehouse workers, so it is preferred that the price not be shown. Then after the work order is recalled, the sale will be tendered. An invoice with the pricing should print.
I noticed that if you make a change in Database/Registers/ReceiptFormats - pick the full page receipt, then assign a different Work order format, uses only THAT format for the Work Order and Invoice, thus, there is no price on the invoice either. I was hoping that assigning a different XML file to the Work Order (ie. workorder.xml), it would print without the price, and then when the sale is tendered, it would use the original FullPageInvoice.xml file.
I also tried adding a conditional statement such as "If transaction.type transactionWorkOrder & Order.closed = false, then don't print the price", but that didn't work either. Perhaps my code had a typo, but that's the gist of it.
Does anyone have any thoughts on this? Thanks in advance!