-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[Order] Change Adjustment description to label #3880
[Order] Change Adjustment description to label #3880
Conversation
Zales0123
commented
Jan 14, 2016
Q | A |
---|---|
Bug fix? | no |
New feature? | no |
BC breaks? | yes |
Deprecations? | no |
Fixed tickets | #3849 |
License | MIT |
Doc PR | Sylius/Sylius-Docs#396 |
05e4393
to
5cadc89
Compare
|
||
$order->addAdjustment($adjustment); | ||
} | ||
|
||
|
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.
Should be reverted.
5cadc89
to
333ecd0
Compare
👍 |
1 similar comment
👍 |
333ecd0
to
e63124a
Compare
@pjedrzejewski @michalmarcinkowski same here, Scrutinizer error :( |
@Zales0123 Please update UPGRADE file. |
@pjedrzejewski done 👍 |
890bce5
to
acb3f60
Compare
8b8028e
to
1fb0643
Compare
{ | ||
/** @var $promotion PromotionInterface */ | ||
$promotion = $this->getPromotionFactory()->createNew(); | ||
$promotion->setName($name); | ||
$promotion->setDescription($description); | ||
$promotion->setDescription($label); |
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.
setDescription($label)
?
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.
Good point 😄
1fb0643
to
0ec405d
Compare
[Order] Change Adjustment description to label
Thanks Mateusz! |