How to dynamically hide 'IGST', 'SGST', and 'CGST' based on 'Sales Taxes and Charges Template'

Hi @everyone

I have to show ‘CGST’, ‘SGST’, ‘IGST’ dynamically based on ‘Sales Taxes and Charges Template’

Suppose i have create a ‘sales order’ if ‘Sales Taxes and Charges Template’ = ‘Output GST In-state’ then from items table hide the ‘IGST’
and if ‘Sales Taxes and Charges Template’ = ‘Output GST Out-state’ then from items table hide the ‘SGST’, ‘CGST’