I updated/enhanced the NACE code selector, its is now possible to select a NACE Code rev2 in a miller column selector on the newcompany and update_company page.
The NACE codes now match the revision 2 in the format:
Level 1: 21 sections identified by alphabetical letters A to U;
Level 2: 88 divisions identified by two-digit numerical codes (01 to 99);
Level 3: 272 groups identified by three-digit numerical codes (01.1 to 99.0);
Level 4: 615 classes identified by four-digit numerical codes (01.11 to 99.00).
info on wikipediaNACE Code rev2 Classification on eurostat
I needed to add a new table in the database. Its named t_nace_code_rev2 which is very similar to the old one. I created a .sql file which is attached (renamed to .txt because git doesn't support .sql here), it contains the commands to create the table and the NACE codes data itself. We need to get this new table in the database for first tests on the celero.unil.ch instance.
The miller column works on a Jquery plugin called miller.js which got added under assets/js and its css miller.css under assets/css. Furthermore it requires a .json file (miller-NACE-codes.json) which provides the NACE code data, this is located under assets/js too.
I updated/enhanced the NACE code selector, its is now possible to select a NACE Code rev2 in a miller column selector on the newcompany and update_company page.
The NACE codes now match the revision 2 in the format:
I needed to add a new table in the database. Its named t_nace_code_rev2 which is very similar to the old one. I created a .sql file which is attached (renamed to .txt because git doesn't support .sql here), it contains the commands to create the table and the NACE codes data itself. We need to get this new table in the database for first tests on the celero.unil.ch instance.
SQL file: nace_codes_for_db.txt
The miller column works on a Jquery plugin called miller.js which got added under assets/js and its css miller.css under assets/css. Furthermore it requires a .json file (miller-NACE-codes.json) which provides the NACE code data, this is located under assets/js too.