Income statement
Created by: adarsh-murthy
Income statement table: UI: Table with input fields for year, revenue, utility and non-utility expense. Dropdown box to select growth rate. Calculate button to calculate historical income statement data and predict one year ahead and another column to show average. When the calculate button is hit, the CAGR value will be displayed in the dropdown box.
Backend: Create income statement models. In PUT request, receive data from frontend and call bpfin functions to calculate the output data and send back to frontend. Fetch existing data from database on GET request.
To test, please do:
pip install git+ssh://git@github.com/Blocp/bpfin.git --upgradepython manage.py migratepython manage.py runserver
To access the site, go to:
http://127.0.0.1:8000/buildings/<building_id>/financial-inputs/