DoESLiverpool / financial-report

A rails app for generating some numbers to go in a financial report.
MIT License
0 stars 0 forks source link

Add report to generate the "Cost of Doing Epic" poster #30

Open amcewen opened 2 weeks ago

amcewen commented 2 weeks ago

We've long wanted to display the cost of running the space on a poster (just missed the opportunity to fix that on its decade-birthday!).

The reports @johnmckerrell created for the annual(-ish) blog posts have quite a bit of the stuff we'd need (income at least), we can add a new report to generate them.

amcewen commented 2 weeks ago

I've made a start on this today; adding a new cost_of_doing_epic action to the reports_controller. It doesn't do anything more than the "Income Distribution" report at the moment, but it's got a "last six months" button as it feels like the poster should cover more than just a month (maybe 3 months is a better period? Changing it will be pretty simple)

I think the next step would be to calculate the costs; then generate the graph from both; and then work out how to turn it into a PDF to print (possibly with weasyprint still).