alphagov / trade-tariff-backend

Enabling the population and distribution via API of UK Customs tariffs and duties
MIT License
7 stars 6 forks source link

Simplify Measure Condition rendering #132

Closed saulius closed 10 years ago

saulius commented 10 years ago

This change is for https://www.pivotaltracker.com/story/show/61986128

The error was introduced with changes for public API, when formatters were moved to the backend.

We used to present Measure Conditions like the old tariff did. This change alters that and displays them the same way EU TARIC does. It is not a significant change, all information is still there. As a result the code is simpler - less logic involved.

I added more test cases to Tariff Suite: https://github.com/alphagov/trade-tariff-suite/pull/2

saulius commented 10 years ago

Sorry, wrong link to tariff suite PR https://github.com/alphagov/trade-tariff-suite/pull/2