Skip to content

DEV - Connect Add Cost to backend #373

Closed

Description

@prooflesben

Overview

For the cashflow page we have cost and revenue items users can add them through our frontend. We want to connect this to the backend to have this fully functionally. Currently the design is implemented and most of what you will have to do is call the backend endpoint and update the store on a success add. We also need to add the add installments button functionality. Ensure when add installment is pressed another installment field gets added. This ticket does not include nicely handling the errors when uploading you can display then simply with an alert a future ticket will make this appear nicely in the frontend.

Image

Tasks

  • Ensure input validation on all of the cost/revenue fields when adding a new one
  • Update the dropdown with the respective RevenueType and CostType enums
  • Make sure user can upload a cost item to the backend using the frontend
  • Make sure user can upload a revenue item to the backend using the frontend
  • Once a new item is sent to the backend successfully update the store

Acceptance Criteria

  • Add Cost and Add Revenue is fully connected to the backend

Activity

  1. changed the title [-]DEV - Connect Add Revenue and Add Cost to backend[/-] [+]DEV - Connect Add Cost to backend[/+] on Mar 23, 2026
  2. linked a pull request that will close this issueConnect add cost and revenue to backend #380on Mar 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions