[ ] TextField for price. Next to it there is a currency change button.
[ ] Section for selecting who has paid the expense
[ ] Section for the type of split
[ ] Attach receipt image section with preview
[ ] Extra info section (skip location and tag for now) - just do the extra notes.
[ ] Create the corresponding state reflecting the choices the user has made
[ ] On save send a POST request to /groups/:id/items
Server
[ ] inside initdb.sql modify the Create Table call of item to include splitType of type INTEGER. Make an SQL CHECK contraint on that field to make sure the values are between 0 and 2,
0 being an equal split
1 meaning the money has been fully borrowed by the user who has paid for it to all other users
2 meaning the money is fully owed to the person that has paid for it
This is an issue that supersede #7 and extends it. The desired design is available at https://www.figma.com/design/lzUOvguPdSF8103bGHBnDX/Split?node-id=28-387&t=YZP5CRpQmUWGEy0Q-1
Web
Server