Discounts unit prices and missing columns

sometimes on some of our printed invoices we’ve noticed that the unit price has vanished especially after a discount may have been applied. is this a bug or can you explain why this happens?
we’d like our customers to see the discount they have been given and what the figure would have been prior to a discount.

Unit price doesn’t show only if nothing is entered into Qty column.