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

Do not send basket with seat with full discount to Sage X3 #316

Conversation

Tiago-Salles
Copy link
Contributor

This PR makes a refactor to not send to SageX3 transactions that have 0 as total amount. That is, the transaction needs to be saved, but not generated from a receipt, as nothing was sold.

@Tiago-Salles Tiago-Salles requested a review from igobranco October 1, 2024 15:46
@Tiago-Salles Tiago-Salles force-pushed the Tiago-Salles/issues/213-not-send-zero-transactions-to-sageX3 branch from afdf994 to 5d64e0b Compare October 2, 2024 08:41
@igobranco igobranco removed their request for review October 2, 2024 11:37
@igobranco igobranco marked this pull request as draft October 2, 2024 11:37
@Tiago-Salles Tiago-Salles force-pushed the Tiago-Salles/issues/213-not-send-zero-transactions-to-sageX3 branch from 5d64e0b to 1e6d745 Compare October 2, 2024 15:28
@Tiago-Salles Tiago-Salles marked this pull request as ready for review October 2, 2024 15:37
@Tiago-Salles Tiago-Salles force-pushed the Tiago-Salles/issues/213-not-send-zero-transactions-to-sageX3 branch from 1e6d745 to 94b2e73 Compare October 2, 2024 15:44
@Tiago-Salles Tiago-Salles force-pushed the Tiago-Salles/issues/213-not-send-zero-transactions-to-sageX3 branch from 94b2e73 to 8ef7f79 Compare October 2, 2024 16:21
@igobranco igobranco self-requested a review October 2, 2024 16:26
Copy link
Member

@igobranco igobranco left a comment

Choose a reason for hiding this comment

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

LGTM ✔️

@Tiago-Salles Tiago-Salles merged commit 261fde8 into main Oct 2, 2024
4 checks passed
@Tiago-Salles Tiago-Salles requested a review from igobranco October 2, 2024 16:33
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