Open peacog opened 2 years ago
@ygoex to provide mockups to be reviewed by @Rashids2021.
This dashboard is only for individual farmers. This should have a summary of the data/ key stats for the farmer: area planted, area allocated, percentage of area planted to area allocated and account section (amount due and payments made, this is still a WIP).
We don't need to create this dashboard on a different page/location.
We will need to review the layout of the current page.
The design will need to wait until Gin theme is install and applied by @peacog.
@Rashids2021 @ygoex @peacog
The basic data fields for the dashboard will be as follows:
BY:
Note: The calculations for 15 and 16 above are ostensibly straightforward based on the benchmark data set out in table 2 in #163 but because of data gaps (inventories will only happen every couple of years at best) this calculation at farmer level is likely not possible (without using extrapolation) but may be possible at CFR and above because the data points that exist can be combined and projected to compensate for missing data at individual farmer level. Regardless, this data will require careful thinking through. Points 15 and 16 should therefore be 'nice to haves' and not initially included in the dashboard.
What remains is to design a dashboard with some informatics that works at all 5 levels - I don't think this will be difficult.
Hi @LeScruf . This ticket is for the individual farmer page. I think your last comment belongs in Site dashboard #89
Build farmer dashboard that summarises farmer data and allows a report to be printed.
Rashid to provide sketches.
The farmer overview, offer/license, sub areas etc pages use the farmer name from an url query parameter to load the farmer data. This is not ideal because it is possible to create two farmers with the same name. We should change these pages and all other farmer queries to use the farmer node id instead.
We need to move the maps out of the tabs.