11diff --git a/vendor/magento/module-quote/Model/Quote/Address.php b/vendor/magento/module-quote/Model/Quote/Address.php
2- index 2d3c072d5d88..c759266d2e69 100644
2+ index 2d3c072d5d8..c759266d2e6 100644
33--- a/vendor/magento/module-quote/Model/Quote/Address.php
44+++ b/vendor/magento/module-quote/Model/Quote/Address.php
5- @@ -86,7 +86,6 @@
5+ @@ -86,7 +86,6 @@ use Magento\Store\Model\StoreManagerInterface;
66 * @method float getDiscountAmount()
77 * @method Address setDiscountAmount(float $value)
88 * @method float getBaseDiscountAmount()
@@ -19,7 +19,7 @@ index 2d3c072d5d88..c759266d2e69 100644
1919 /**
2020 * Prefix of model events
2121 *
22- @@ -1796,4 +1797,17 @@ protected function getCustomAttributesCodes()
22+ @@ -1796,4 +1797,17 @@ class Address extends AbstractAddress implements
2323 {
2424 return array_keys($this->attributeList->getAttributes());
2525 }
@@ -38,7 +38,7 @@ index 2d3c072d5d88..c759266d2e69 100644
3838+ }
3939 }
4040diff --git a/vendor/magento/module-quote-graph-ql/Plugin/ProductAttributesExtender.php b/vendor/magento/module-quote-graph-ql/Plugin/ProductAttributesExtender.php
41- index bcacd58fcb7e..eeed8e84d8ef 100644
41+ index bcacd58fcb7..eeed8e84d8e 100644
4242--- a/vendor/magento/module-quote-graph-ql/Plugin/ProductAttributesExtender.php
4343+++ b/vendor/magento/module-quote-graph-ql/Plugin/ProductAttributesExtender.php
4444@@ -26,6 +26,11 @@ class ProductAttributesExtender
@@ -53,7 +53,7 @@ index bcacd58fcb7e..eeed8e84d8ef 100644
5353 /**
5454 * @param Fields $fields
5555 * @param AttributeCollectionFactory $attributeCollectionFactory
56- @@ -48,12 +53,15 @@ public function __construct(
56+ @@ -48,12 +53,15 @@ class ProductAttributesExtender
5757 */
5858 public function afterGetProductAttributes(QuoteConfig $subject, array $result): array
5959 {
@@ -76,10 +76,10 @@ index bcacd58fcb7e..eeed8e84d8ef 100644
7676 return array_unique(array_merge($result, $attributes));
7777 }
7878diff --git a/vendor/magento/module-sales-rule/Helper/CartFixedDiscount.php b/vendor/magento/module-sales-rule/Helper/CartFixedDiscount.php
79- index eeab18e9c360..a518a00c7352 100644
79+ index eeab18e9c36..a518a00c735 100644
8080--- a/vendor/magento/module-sales-rule/Helper/CartFixedDiscount.php
8181+++ b/vendor/magento/module-sales-rule/Helper/CartFixedDiscount.php
82- @@ -138,6 +138,7 @@ public function getDiscountedAmountProportionally(
82+ @@ -138,6 +138,7 @@ class CartFixedDiscount
8383 $baseItemPriceTotal = $baseItemPrice * $qty - $baseItemDiscountAmount;
8484 $ratio = $baseRuleTotalsDiscount != 0 ? $baseItemPriceTotal / $baseRuleTotalsDiscount : 0;
8585 $discountAmount = $this->deltaPriceRound->round($ruleDiscount * $ratio, $discountType);
@@ -88,10 +88,10 @@ index eeab18e9c360..a518a00c7352 100644
8888 }
8989
9090diff --git a/vendor/magento/module-sales-rule/Model/Quote/Discount.php b/vendor/magento/module-sales-rule/Model/Quote/Discount.php
91- index 19e9bdf377bf..f2de09f3024f 100644
91+ index fcefae81780..ae996ae8a96 100644
9292--- a/vendor/magento/module-sales-rule/Model/Quote/Discount.php
9393+++ b/vendor/magento/module-sales-rule/Model/Quote/Discount.php
94- @@ -20,11 +20,10 @@
94+ @@ -20,11 +20,10 @@ use Magento\SalesRule\Api\Data\DiscountDataInterface;
9595 use Magento\SalesRule\Api\Data\DiscountDataInterfaceFactory;
9696 use Magento\SalesRule\Api\Data\RuleDiscountInterfaceFactory;
9797 use Magento\SalesRule\Model\Data\RuleDiscount;
@@ -104,7 +104,7 @@ index 19e9bdf377bf..f2de09f3024f 100644
104104
105105 /**
106106 * Discount totals calculation model.
107- @@ -177,11 +176,14 @@ public function collect(
107+ @@ -177,11 +176,14 @@ class Discount extends AbstractTotal
108108 $this->calculator->init($store->getWebsiteId(), $quote->getCustomerGroupId(), $quote->getCouponCode());
109109 $this->calculator->initTotals($items, $address);
110110 $items = $this->calculator->sortItemsByPriority($items, $address);
@@ -120,8 +120,8 @@ index 19e9bdf377bf..f2de09f3024f 100644
120120 if ($quote->getIsMultiShipping() && $item->getAddress()->getId() !== $address->getId()) {
121121 continue;
122122 }
123- @@ -190 ,14 +192 ,18 @@ public function collect(
124- }
123+ @@ -205 ,14 +207 ,18 @@ class Discount extends AbstractTotal
124+
125125 $eventArgs['item'] = $item;
126126 $this->eventManager->dispatch('sales_quote_address_discount_item', $eventArgs);
127127+
@@ -145,10 +145,10 @@ index 19e9bdf377bf..f2de09f3024f 100644
145145 if (!isset($itemsAggregate[$item->getId()])) {
146146 continue;
147147diff --git a/vendor/magento/module-sales-rule/Model/ResourceModel/Rule/Collection.php b/vendor/magento/module-sales-rule/Model/ResourceModel/Rule/Collection.php
148- index c7a344230698..a2d4af289004 100644
148+ index c7a34423069..a2d4af28900 100644
149149--- a/vendor/magento/module-sales-rule/Model/ResourceModel/Rule/Collection.php
150150+++ b/vendor/magento/module-sales-rule/Model/ResourceModel/Rule/Collection.php
151- @@ -113,26 +113,29 @@ protected function mapAssociatedEntities($entityType, $objectField)
151+ @@ -113,26 +113,29 @@ class Collection extends \Magento\Rule\Model\ResourceModel\Rule\Collection\Abstr
152152
153153 $entityInfo = $this->_getAssociatedEntityInfo($entityType);
154154 $ruleIdField = $entityInfo['rule_id_field'];
@@ -190,18 +190,18 @@ index c7a344230698..a2d4af289004 100644
190190
191191 /**
192192diff --git a/vendor/magento/module-sales-rule/Model/Rule.php b/vendor/magento/module-sales-rule/Model/Rule.php
193- index 386642c22ab1..d35ed63e908f 100644
193+ index 386642c22ab..d35ed63e908 100644
194194--- a/vendor/magento/module-sales-rule/Model/Rule.php
195195+++ b/vendor/magento/module-sales-rule/Model/Rule.php
196- @@ -38,7 +38,6 @@
196+ @@ -38,7 +38,6 @@ use Magento\Quote\Model\Quote\Address;
197197 * @method \Magento\SalesRule\Model\Rule setProductIds(string $value)
198198 * @method int getSortOrder()
199199 * @method \Magento\SalesRule\Model\Rule setSortOrder(int $value)
200200- * @method string getSimpleAction()
201201 * @method \Magento\SalesRule\Model\Rule setSimpleAction(string $value)
202202 * @method float getDiscountAmount()
203203 * @method \Magento\SalesRule\Model\Rule setDiscountAmount(float $value)
204- @@ -547,6 +546,17 @@ public function getFromDate()
204+ @@ -547,6 +546,17 @@ class Rule extends \Magento\Rule\Model\AbstractModel
205205 return $this->getData('from_date');
206206 }
207207
@@ -220,18 +220,18 @@ index 386642c22ab1..d35ed63e908f 100644
220220 * Get to date.
221221 *
222222diff --git a/vendor/magento/module-sales-rule/Model/Rule/Action/Discount/CartFixed.php b/vendor/magento/module-sales-rule/Model/Rule/Action/Discount/CartFixed.php
223- index 2f9dbb9faea2..485b98c22565 100644
223+ index 2f9dbb9faea..485b98c2256 100644
224224--- a/vendor/magento/module-sales-rule/Model/Rule/Action/Discount/CartFixed.php
225225+++ b/vendor/magento/module-sales-rule/Model/Rule/Action/Discount/CartFixed.php
226- @@ -80,7 +80,6 @@ public function calculate($rule, $item, $qty)
226+ @@ -80,7 +80,6 @@ class CartFixed extends AbstractDiscount
227227
228228 $ruleTotals = $this->validator->getRuleItemTotalsInfo($rule->getId());
229229 $baseRuleTotals = $ruleTotals['base_items_price'] ?? 0.0;
230230- $baseRuleTotalsDiscount = $ruleTotals['base_items_discount_amount'] ?? 0.0;
231231 $ruleItemsCount = $ruleTotals['items_count'] ?? 0;
232232
233233 $address = $item->getAddress();
234- @@ -134,7 +133,7 @@ public function calculate($rule, $item, $qty)
234+ @@ -134,7 +133,7 @@ class CartFixed extends AbstractDiscount
235235 $qty,
236236 $baseItemPrice,
237237 $baseItemDiscountAmount,
@@ -241,10 +241,10 @@ index 2f9dbb9faea2..485b98c22565 100644
241241 );
242242 }
243243diff --git a/vendor/magento/module-sales-rule/Model/Validator.php b/vendor/magento/module-sales-rule/Model/Validator.php
244- index 998d1c3a2a8e..c6a0ecf60ffd 100644
244+ index 998d1c3a2a8..c6a0ecf60ff 100644
245245--- a/vendor/magento/module-sales-rule/Model/Validator.php
246246+++ b/vendor/magento/module-sales-rule/Model/Validator.php
247- @@ -460,6 +460,7 @@ public function initTotals($items, Address $address)
247+ @@ -460,6 +460,7 @@ class Validator extends \Magento\Framework\Model\AbstractModel
248248 $ruleTotalBaseItemsDiscountAmount = 0;
249249 $validItemsCount = 0;
250250
@@ -253,10 +253,10 @@ index 998d1c3a2a8e..c6a0ecf60ffd 100644
253253 if (!$this->isValidItemForRule($item, $rule)
254254 || ($item->getChildren() && $item->isChildrenCalculated())
255255diff --git a/vendor/magento/framework/GraphQl/Query/Fields.php b/vendor/magento/framework/GraphQl/Query/Fields.php
256- index 78062effe3d4..009048cdb1af 100644
256+ index 78062effe3d..009048cdb1a 100644
257257--- a/vendor/magento/framework/GraphQl/Query/Fields.php
258258+++ b/vendor/magento/framework/GraphQl/Query/Fields.php
259- @@ -44,7 +44,7 @@ public function setQuery($query, array $variables = null)
259+ @@ -44,7 +44,7 @@ class Fields
260260 ]
261261 );
262262 if (isset($variables)) {
@@ -265,7 +265,7 @@ index 78062effe3d4..009048cdb1af 100644
265265 }
266266 // phpcs:ignore Magento2.CodeAnalysis.EmptyBlock
267267 } catch (\Exception $e) {
268- @@ -73,21 +73,21 @@ public function getFieldsUsedInQuery()
268+ @@ -73,21 +73,21 @@ class Fields
269269 /**
270270 * Extract and return list of all used fields in GraphQL query's variables
271271 *
0 commit comments