Need to show discount before total after subtotal

Need to show discount before total after subtotal

Need to show discount before total after subtotal on my estimate template (see attachment)