You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometime, we want to split the share dish by the ratio of payment.
The one who pay more will get the share more.
And this can apply to the discount as well.
There are more use cases for this on tipping, (esp. in US restaurants).
Ex. when the total order value is $33 and we give a tip of $7. ($7 because it rounds to $40)
Then we want to split to all people by proportion rather than equal split.
turboza
changed the title
Share the order amount by the ratio of each person's payment
Share the order by the proportion of each person's payment
Jan 24, 2020
Why?
Sometime, we want to split the share dish by the ratio of payment.
The one who pay more will get the share more.
And this can apply to the discount as well.
Use Case
See the comment #5 (comment)
What's the idea?
Introducing
share%
as a order name.Example 1.
Example 2.
Example 3.
While if we use normal
share
, it will be split equally.Thanks Ant for an idea.
The text was updated successfully, but these errors were encountered: