Carbon-Farm-Network / app-carbon-farm-network

GNU Affero General Public License v3.0
1 stars 0 forks source link

Simple report of economic events #120

Closed fosterlynn closed 2 months ago

fosterlynn commented 3 months ago

Create a new report, as simple as we can do with it while still being readable by normal humans. (I'm realizing we and the users need to be able to see the event data being created on the planning page, to be confident their production event data is usable, and we don't have graphiql set up to see it.)

We could put it on the right end of the main menu up top, after Plans. Maybe call it Activity, or another name is welcome.

Maybe put a line at the top, "This report is for testing, will be developed later into more full featured accounting." or something like that.

It is a list of EconomicEvents. Maybe sort descending using date (I assume hasPointInTime?), although sorting is not an immediate priority.

Suggested data (columns): event date, provider name, receiver name, resource spec name, action, resource quantity (number + unit).

Question: Are we creating (and/or maintaining quantities) on EconomicResource when we create the events? I'm guessing not, although I hope hREA can do that that (depends on action). I think it won't do that unless it is explicitly fed the other data for a new resource though.