BCStudentSoftwareDevTeam / BCStudentSoftwareDevTeam/urcpp
Maximum total budget for a proposal changes from year to year
- 主要語言
- HTML
- 星號
- 0
- 分支
- 0
- PR 合併指標
- 30 天內沒有已合併 PR
描述
Faculty stipends (which is solved by PR #183) brings about another issue, which is there is a warning hard-coded into the end of the proposal form which notifies the user that their proposal is over a certain amount: https://github.com/BCStudentSoftwareDevTeam/urcpp/blob/development/api/templates/pages/budget.html#L133
This number should be dynamic, which means it needs to be programmable in the Set Parameters page.
However, the current number ($8300) was derived from a $5300 faculty stipend (now wrong) + $3000 max budget for everything else (which may also change in the future). Worse yet, this doesn't take into consideration the fact that two or more faculty could be on a proposal, which would make the budget: 5300 + 5300 + 3000.
So, this needs reworked so that faculty stipends are treated separately from the other budget calculations when this warning is displayed. In reality, it should only be a check on the $3000 budget for everything else, and a separate check on the stipend based on the number of faculty on the proposal.
Both the stipend and the "everything else budgets" should be set in the Set Parameters page so they can change each year.
You'll also want to check the impact of this on previous years (i.e., fix the production data so the value is in there).
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
從 api/templates/pages/budget.html#L133 開始,追蹤提案表單如何取得目前的警告值。接著檢查 Set Parameters 頁面和過去年度的 production 資料,以確認 stipend 和其他預算值應該放在哪裡。完成的標準是兩個值都可設定、警告會針對多個 Faculty 分別檢查這兩個值,且過去年度的資料仍維持已填入狀態。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- html
- 領域
- backend, web-dev
- Issue 類型
- 功能
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100