pfitzpaddy / ngm-reportEngine

SailsJS Rest API service for reporting
1 stars 14 forks source link

Mismatch json2csv fields&filedNames. #1

Closed drfaustusfade closed 7 years ago

drfaustusfade commented 7 years ago

https://github.com/pfitzpaddy/ngm-reportEngine/blob/c8cc51c994a0bf60e3284d1a07ebeffe557c44cb/api/controllers/Cluster/Reports/ReportController.js#L26-L101

excel_2017-10-26_12-42-10

pfitzpaddy commented 7 years ago

Great spot Timur, can you please make the fix. 'Facility_type_name' can be presented as 'Facilty Type'. At the same time can you please include admin3pcode and admin3name.

pfitzpaddy commented 7 years ago

In fact the stocks download can also have admin3pcode and admin3nam included here https://github.com/pfitzpaddy/ngm-reportEngine/blob/c8cc51c994a0bf60e3284d1a07ebeffe557c44cb/api/controllers/Cluster/Reports/ReportController.js#L138

pfitzpaddy commented 7 years ago

Updated on DEV and PROD