-
Notifications
You must be signed in to change notification settings - Fork 248
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
#518 Simplest “By Priority” Algorithm implementation #560
Merged
naydav
merged 26 commits into
develop
from
518-priority-adjustments-simple-selection-algorithm
Mar 1, 2018
Merged
Changes from 5 commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
f3bbc5f
#518 [WIP] Loaded sources by priority
0b22472
Merge branch 'develop' into 518-priority-adjustments-simple-selection…
68694a8
#518 Refactored the default shipping selection algo to process source…
131fc1c
#518 Put all variable assignments in the same places
32ffc90
#518 Refactored shipping selection algo classname
74a08e4
#518 Changed the epsilon
adfa7f7
#518 Added the message if order items can’t be delivered by the curre…
1f3cf0b
[TASK] #518 Commented the algorithm
9adcaec
#518 Renamed the classname
39ca211
#518 Made the tab hidden if source items are not enough to deliver th…
2101841
Merge branch 'develop' into 518-priority-adjustments-simple-selection…
8639184
518: Simplest “By Priority” Algorithm implementation
p-bystritsky 4690f24
Merge remote-tracking branch 'origin/518-priority-adjustments-simple-…
p-bystritsky 9de498f
Merge branch '519_Adatp_UI_according_to_Single_or_Multi_Stocks' into …
2e15fda
518: Simplest “By Priority” Algorithm implementation
p-bystritsky 0dcfc62
Merge remote-tracking branch 'origin/518-priority-adjustments-simple-…
p-bystritsky 28ec1f8
Merge branch 'develop' into 518-priority-adjustments-simple-selection…
a6962b6
518: Simplest “By Priority” Algorithm implementation
p-bystritsky 0fb5f25
518: Simplest “By Priority” Algorithm implementation
p-bystritsky 54add71
518: Simplest “By Priority” Algorithm implementation
p-bystritsky 1d8d603
518: Simplest “By Priority” Algorithm implementation
p-bystritsky 1a6b455
518: Simplest “By Priority” Algorithm implementation
p-bystritsky e9d7682
Merge remote-tracking branch 'origin/develop' into 518-priority-adjus…
11364c5
MSI-518: Simplest “By Priority” Algorithm implementation
1e3752a
MSI-518: Simplest “By Priority” Algorithm implementation
4a18953
MSI-518: Simplest “By Priority” Algorithm implementation
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's a pity that Constant has been added just in PHP 7.2
PHP_FLOAT_EPSILON (float)
Smallest representable positive number x, so that x + 1.0 != 1.0. Available as of PHP 7.2.0.
Please, make the precision a bit less, like 0.0000001