Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Deposit #1

Open
maxcook opened this issue Apr 18, 2024 · 7 comments
Open

Feature Request: Deposit #1

maxcook opened this issue Apr 18, 2024 · 7 comments

Comments

@maxcook
Copy link

maxcook commented Apr 18, 2024

Hello

some restaurants have the person who books the table pay a deposit in advance. It would be remarkable if that could be handled by SplitBill.

Thanks

@fer0n
Copy link
Owner

fer0n commented Apr 18, 2024

Thanks for your request :)
So you're basically looking for a way to add new entries that are not yet on the bill itself, do I understand that right?

@maxcook
Copy link
Author

maxcook commented Apr 18, 2024

No, the deposit is actually a payment that one person has already done in advance to secure the table. It should be subtracted from what that person has to pay. I attached a restaurant bill for an example.

In this case, the person has paid a deposit of 6000 ZAR, which, to further complicate it, in this case, is actually more than the person consumed.
I don't know if you like the challenge, but it would definitely bring a great benefit to your SplitBill.
photo_5839153076118863916_y

@fer0n
Copy link
Owner

fer0n commented Apr 19, 2024

Thanks for clarifying. If I understand that correctly, you should be able to handle that case by simply adding the negative deposit to the person that payed the deposit, right?

If the deposit isn't on the bill itself you can long press anywhere to add a new transaction and manually type in the negative amount.

image

@maxcook
Copy link
Author

maxcook commented Apr 19, 2024

I am confused, in your example, Tobi and Michaela pay 18324.67+12245.67=30570.34 - what dies this number reflect?
They should actually pay the Amount due, which is 27155. And additionally, they should owe to Deposit Person the difference between the deposit and his/her lower consumption cost.
I realize i should be the one coming up with a calculation example as it is my feature request. I will do that later when i find time.

@fer0n
Copy link
Owner

fer0n commented Apr 19, 2024

I am confused, in your example, Tobi and Michaela pay 18324.67+12245.67=30570.34 - what dies this number reflect?

That's the total amount they are paying, both to settle the bill and also what the deposit person gets back, since that person payed more deposit than they actually spent in the restaurant.

They should actually pay the Amount due, which is 27155. And additionally, they should owe to Deposit Person the difference between the deposit and his/her lower consumption cost.

Yes, that's exactly what's happening:

-3415.34 + 18324.67 + 12245.67 = 27155

Deposit person gets back 3415.34 from that money pool.

@maxcook
Copy link
Author

maxcook commented Apr 19, 2024

Ah yeah, of course you are right. Then if Deposit Person pays the bill at the restaurant, then Tobi and Michaela send him those amounts and all is even. Yeah that would work :)

@fer0n
Copy link
Owner

fer0n commented Apr 20, 2024

The negative expense is probably also the most logical way of handling this, I'm not sure if there's a great way to implement the "deposit functionality" otherwise.

There could be a way to add new transactions that show the value, so you can add new ones that aren't yet in the bill (which you can already do, but you don't see the amount unless you tap on it).

Other than that, maybe a "Person X payed the bill" feature could be helpful here.

I don't have any immediate plans for either, but I'll put these on the list for things to consider.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants