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

refactor + add __get_cart_value() and __get_cart_summary() #38

Merged
merged 2 commits into from
Apr 4, 2020

Conversation

pzhuk
Copy link
Contributor

@pzhuk pzhuk commented Apr 4, 2020

  • created add __get_cart_value() and __get_cart_summary() to better reuse code and have single place for common operations

  • started splittling worker.__order_menu() into smaller chunks - __order_transaction() and __order_notify_admins() were created

@Steffo99 Steffo99 self-requested a review April 4, 2020 10:15
@Steffo99 Steffo99 self-assigned this Apr 4, 2020
Copy link
Owner

@Steffo99 Steffo99 left a comment

Choose a reason for hiding this comment

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

Thanks for your contribution! There was something that required changes, but I made them for you :)

worker.py Outdated Show resolved Hide resolved
worker.py Outdated Show resolved Hide resolved
worker.py Outdated Show resolved Hide resolved
@Steffo99 Steffo99 merged commit 5828ba8 into Steffo99:master Apr 4, 2020
@Steffo99
Copy link
Owner

Steffo99 commented Apr 4, 2020

(Check your git name and email, the one you are using in the commits pavel.zhuk+sd@gmail.com is not linked to your GitHub account, so you are not showing up on the contributors list...)

@pzhuk
Copy link
Contributor Author

pzhuk commented Apr 4, 2020

thanks for fixes ;)

@Steffo99 Steffo99 added the feature A request for a new feature. label May 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A request for a new feature.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants