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

Fix the issue with sending statistical data #32

Merged
merged 2 commits into from
Oct 16, 2024
Merged

Fix the issue with sending statistical data #32

merged 2 commits into from
Oct 16, 2024

Conversation

MarijaIv
Copy link
Collaborator

@MarijaIv MarijaIv commented Oct 9, 2024

What is the goal?

Fix daily report with the statistics is not sent.

References

Issue: LIS-44

How is it being implemented?

Fixed found issues in OrderService and StatisticalDataService.

Does it affect (changes or update) any sensitive data?

No.

How is it tested?

Manual tests.

How is it going to be deployed?

Standard deployment.

@m1k3lm m1k3lm requested review from m1k3lm and mescalantea October 9, 2024 20:27
!== strtotime(self::SCHEDULE_TIME)) {
return [];
}
if ($statisticalData->isSendStatisticalData()) {
Copy link
Member

Choose a reason for hiding this comment

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

I'd rather return if (!$statisticalData->isSendStatisticalData()) than having nested if

@m1k3lm m1k3lm merged commit 3f371a0 into master Oct 16, 2024
5 checks passed
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