2 unresolved threads
Merge request reports
Activity
32 protected $definition; 33 34 /** 35 * {@inheritdoc} 36 */ 37 public function setValue($value, $notify = TRUE): void { 38 $parent = $this->getParent(); 39 if (!($parent instanceof AdjustmentItem) || $parent->isEmpty()) { 40 return; 41 } 42 $parent_values = $parent->getValue(); 43 $parent_value = reset($parent_values); 44 if (!($parent_value instanceof Adjustment)) { 45 return; 46 } 47 $property_name = $this->definition->getAdjustmentProperty(); changed this line in version 7 of the diff
37 $properties['type'] = AdjustmentPropertyDefinition::create('adjustment_property') 38 ->setAdjustmentProperty('type') 39 ->setLabel(t('Type')) 40 ->setComputed(TRUE); 41 42 $properties['label'] = AdjustmentPropertyDefinition::create('adjustment_property') 43 ->setLabel(t('Label')) 44 ->setComputed(TRUE); 45 46 $properties['amount'] = AdjustmentPropertyDefinition::create('adjustment_property') 47 ->setAdjustmentProperty('amount') 48 ->setLabel(t('Amount')) 49 ->setComputed(TRUE); 50 51 $properties['source_id'] = AdjustmentPropertyDefinition::create('adjustment_property') 52 ->setAdjustmentProperty('source_id') changed this line in version 7 of the diff
added 29 commits
-
469b63eb...be78da03 - 27 commits from branch
project:3.x
- d299544e - Remove the extra adjustment properties.
- 53a3bf25 - Merge branch '3.x' into 2916252-commerce3.0.x-orders-adjustment
-
469b63eb...be78da03 - 27 commits from branch
added 11 commits
-
915ad1ac...4f8a7945 - 3 commits from branch
project:3.x
- e99db79e - Issue #2916252 by lawxen, wim leers, mglaman, skyredwang: [PP-1] Order's...
- 4d638d86 - Move TypedData to the right place
- 4af19b2f - resolve failed tests
- 9d67adc5 - Remove method used for testing
- 178c562e - Replace annotation with PHP attributes
- 5d256a62 - Remove the extra adjustment properties.
- a80bcd27 - Put back the additional properties.
- 92a6eb0b - Remove an unused use statement.
Toggle commit list-
915ad1ac...4f8a7945 - 3 commits from branch
Please register or sign in to reply