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

Cover situation when all of discount isnt actually able to be used #1272

Merged

Conversation

ryanmitchell
Copy link
Contributor

The change I made to discount sharing is working well except in the situation when all of the discount can't be used. In which case the basket shows the entire discount (eg £10) but not all of it is actually used (eg £9.94) due to there not being enough subtotal remaining on the items.

This small fix covers that off.

@vercel
Copy link

vercel bot commented Sep 25, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
lunar-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 29, 2023 7:56am

@alecritson alecritson merged commit 3b1c248 into lunarphp:0.6 Sep 29, 2023
10 of 12 checks passed
@ryanmitchell ryanmitchell deleted the fix/when-remaining-isnt-apportioned branch September 29, 2023 07:58
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

Successfully merging this pull request may close these issues.

2 participants