CoslaDigital / consul

Consul - Open Government and E-Participation Web Software
https://consulproject.org
GNU Affero General Public License v3.0
0 stars 7 forks source link

Add Price Field to budget investment form #49

Closed coslajohn closed 1 day ago

coslajohn commented 1 year ago

Describe the solution you'd like When submitting a budget proposal there is no way for a proposer to be able to submit their estimate of the budget cost.

the price field exists because it is populated as part of the valuation phase and then displayed in publish project prices and voting phases.

If the field was displayed on the create investment form it would make it easier to identify proposed costs. This is especially important when submitting proposals for grants

Describe alternatives you've considered The simplest technical approach is just to display the form field and update the data.

There is one possible problem with this from a transparency perspective. If I submit a proposal with an estimated cost and then a project evaluator overwrites this cost there is no record of what the original cost was. The solution to this would be to actually create a different field called proposed_price.

It would be possible to do this in two steps

The relevant view is in Edit Dossier

image

Additional context Relevant code is https://github.com/consul/consul/blob/master/app/components/budgets/investments/form_component.html.erb