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

Fixing issue with sub total and discount on items not working correctly #207

Merged
merged 2 commits into from
Oct 10, 2017

Conversation

lukepolo
Copy link
Owner

No description provided.

*
* @return string
*/
public function totalDiscount($format = true)
public function totalDiscount($format = true, $withItemDiscounts = true)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lukepolo Shouldn't it be '$withItemDiscounts = false' so that backwards compatibility is maintained?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was a bug, so anything backwards was actually broken

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

talked further, will bump version

@lukepolo lukepolo deleted the fix/206 branch January 27, 2018 20:35
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