julien-nc / cospend-nc

💰 💲hared budget manager Nextcloud app
GNU Affero General Public License v3.0
213 stars 29 forks source link

Custom split amounts: total bill amount is silently dismissed #253

Open Freeedim opened 5 months ago

Freeedim commented 5 months ago

When selecting the custom split amounts option, the entered amounts are not reconciled with the total bill amount.

We can therefore have a total amount of 20 for three participants with their individual amounts being 10, 11 and 13, which results in a total of 34.

I realise making the custom individual amounts prevail over the total amount or not is a matter of personal preference and convenience (both in UI/UX and development) and I am fine with it.

However, I think there should be an indication that the total amount entered above in the form is disregarded as soon as the custom split amounts option is selected. It could be with a popup message and/or greying the total amount.

An alternative functioning I can think of would be: