Bug- Discount field in Sale Tax Table

Hi, we are ERPNext hosted user. recently I was trying to do some customization in Sale Invoice format, but found Discount field is linked with Sale Tax Table. If my invoice format has field Item table, Discount field and Sale tax table, then surprisingly Discount field is coming twice in invoice format. One which I have dropped and second with Sale Tax Table which seems to default setting.

For more detail have look on attach image. In my format I picked (Total, Discount, Net Total, Sale Tax Table, Grand Total and Rounded Total), but if you look at print format it is showing (Total, Discount, Net Total , Sale Tax detail with Discount, Grand Total and Rounded Total)

I need to show Discount before taxes and then Net total (Item total -Discount)

to match GST Invoice norms.

Hi, any update on this