Open pfitzpaddy opened 4 years ago
The only issue with this is that historical data might not be included, although it would be easier to manage the downloads as they would be read from the form. If reading activities
table is not a good idea might be worth a helper for the downloads...
on pull https://github.com/pfitzpaddy/ngm-reportEngine/pull/204 fields moved to fieldsService in the same way as for report download, I think we could put it in additional fields collection in future, a plan is to have admin panel widget, to be able to configure any kind of simple lists, so that not to have bespoken for each, like django admin panel, which is also an option, but to have that inhouse might be better in the long run
A sort of "downloads" list / config would be really cool to have when we are building the admin lists pages....
It looks as tho country / context downloads are becoming increasingly customised. I think I recall an approach improving on this. One idea would be to read the
ngmHealthCluster
- >activities
table, by country, by cluster, to get the list of fields that should be included in each download. Thoughts?