-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Handle tax rule for multishop #36387
Handle tax rule for multishop #36387
Conversation
tleon
commented
Jun 19, 2024
•
edited
Loading
edited
Questions | Answers |
---|---|
Branch? | develop |
Description? | Handle ShopConstraint and get tax rule out of carrier command and tests |
Type? | improvement |
Category? | BO |
BC breaks? | yes |
Deprecations? | yes |
How to test? | CI ok |
UI Tests | Please run UI tests and paste here the link to the run. Read this page to know why and how to use this tool. |
Fixed issue or discussion? | Fixes #35926 |
Sponsor company | PrestaShop SA |
1a2e6ee
to
1140e3b
Compare
2fac88e
to
3c661a6
Compare
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 look promising! Just some few things 😉
We can discuss about it if you need.
src/Adapter/Carrier/CommandHandler/SetCarrierTaxRuleGroupHandler.php
Outdated
Show resolved
Hide resolved
src/Core/Domain/Carrier/Command/SetCarrierTaxRuleGroupCommand.php
Outdated
Show resolved
Hide resolved
.../Integration/Behaviour/Features/Context/Domain/Carrier/CarrierTaxRuleGroupFeatureContext.php
Outdated
Show resolved
Hide resolved
src/Adapter/Carrier/CommandHandler/SetCarrierTaxRuleGroupHandler.php
Outdated
Show resolved
Hide resolved
tests/Integration/Behaviour/Features/Scenario/Carrier/carrier_tax_rule_group_management.feature
Show resolved
Hide resolved
src/Core/Domain/Carrier/Command/SetCarrierTaxRuleGroupCommand.php
Outdated
Show resolved
Hide resolved
src/Core/Domain/Carrier/CommandHandler/SetCarrierTaxRuleGroupHandlerInterface.php
Outdated
Show resolved
Hide resolved
tests/Integration/Behaviour/Features/Context/Domain/Carrier/CarrierFeatureContext.php
Show resolved
Hide resolved
.../Integration/Behaviour/Features/Context/Domain/Carrier/CarrierTaxRuleGroupFeatureContext.php
Outdated
Show resolved
Hide resolved
3c661a6
to
82714d9
Compare
adedaeb
to
91ca887
Compare
91ca887
to
3096f63
Compare
51d6ef4
to
3889ea7
Compare
dc41f8e
to
05f9aaf
Compare
1d7ce7b
to
c1c8aad
Compare
c1c8aad
to
b778076
Compare
b778076
to
154dafe
Compare
|
||
$carrier = $this->carrierRepository->get($command->getCarrierId()); | ||
|
||
$newCarrier = $this->carrierRepository->updateInNewVersion($command->getCarrierId(), $carrier); |
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.
This way will change soon ;)
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.
LGTM, thanks @tleon!
Thanks @tleon |
Rock and roll 🤘 |
PR merged, well done! Message to @PrestaShop/committers: do not forget to milestone it before the merge. |