cancel
Showing results for 
Search instead for 
Did you mean: 

Implementing GST tax slabs

Implementing GST tax slabs

Hi,

 

I am building GST customer module. We need to add slabs to tax dynamically lets say for example

 

> 500 then 0%

<500 and >1000 then 5%

 

In future i want to add different ranges. To add this type of repeater fields i tried system.xml file but it is giving repeater fields in configuration section and storing data in core_config_table.

 

I have one lakh HSN codes which needs these tax caluculations. If i use core config table then there will be a huge data.

 

How can i create my own repeater fields in a custom module with custom form in it like

 

HSN Code

Effective From

Slabs

0-500

500-1000

Add New

 

And also i want to maintain history of when a record is changed or updated. How can i do it? If you have any code example that will help me a lot.