Problem/Motivation
In farmOS 1.x we had a farm_report
module: https://github.com/farmOS/farmOS/tree/7.x-1.x/modules/farm/farm_report
It was quite simple, simply providing a menu and page callback reading "Select a report from the menu above." I think we added it for the animal weight report and modified the existing quantity reports #2941014: Quantity report generator to use it: https://github.com/farmOS/farmOS/commit/f13327f584735991d8a0dd0b689648c9...
Shall we create the equivalent in 2.x? This would at least be used by #3220601: Animal weight report
The Reports menu tab is currently displayed on the dashboard next to quick forms, but we do not have any menu tabs in the 2.x dashboard. It could be added to the menu instead.
Steps to reproduce
N/A
Proposed resolution
N/A
Remaining tasks
Decide if we need a farm_report module.
User interface changes
New Reports menu and/or dashboard tab.
API changes
N/A
Data model changes
N/A
Issue fork farm-3240350
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
m.stentaYes thanks for creating this issue @paul121! I was actually planning on starting something for the NFA project. I can take a quick pass at this right now for your review...
Comment #3
m.stentaVery simple first pass: adds a new
/report
path that displays an index of menu items under it. Copied and modified from thefarm_import
module. Also adds a "Reports" icon to the Gin toolbar, using thereports.svg
icon provided by Gin.Comment #5
paul121 CreditAttribution: paul121 commentedLooks great!
Comment #7
m.stentaMerged!