debugging invoice for paid_discount_total logic 2