![]() ![]() Add Component: XXXXX label(s) to the ticket, indicating the components it may be related to.Ĥ. If the report is valid, add Issue: Clear Description label to the issue by yourself.ģ. Verify that issue has a meaningful description and provides enough information to reproduce the issue. Please, edit issue description if needed, until label Issue: Format is valid appears.Ģ. DetailsIf the issue has a valid description, the label Issue: Format is valid will be added to the issue automatically. ( Preconditions, Steps to reproduce, Expected result, Actual result). Verify that issue has all the required information. In order to make sure that issue has enough information and ready for development, please read and check the following instruction: □ġ. However, I am not sure what the commit c710c9b MC-35554: Orders with Zero Payment Information required are Closed after being invoiced that introduced the bug wanted to achieve with this change, so it might have other side effects reverting this change with this patch. I tested it with discounts of 0%, 40%, 50%, 90% and 100%Īll tests worked fine with my setting. + $invoice->setBaseGrandTotal($invoice->getBaseGrandTotal() - $baseTotalDiscountAmount) + $invoice->setGrandTotal($invoice->getGrandTotal() - $totalDiscountAmount) $invoice->setBaseGrandTotal($baseGrandTotal) $baseGrandTotal = $invoice->getBaseGrandTotal() - $baseTotalDiscountAmount getBaseGrandTotal() - $baseTotalDiscountAmount $grandTotal = $invoice->getGrandTotal() - $totalDiscountAmount getGrandTotal() - $totalDiscountAmount $invoice->setBaseDiscountAmount(-$baseTotalDiscountAmount) $invoice->setDiscountAmount(-$totalDiscountAmount) +++ -71,12 +71,11 class Discount extends AbstractTotal a/Model/Order/Invoice/Total/Discount.php ✏️ Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channelĭiff -git a/Model/Order/Invoice/Total/Discount.php b/Model/Order/Invoice/Total/Discount.php □ You can find the recording of the previous Community Contributions Triage on the Magento Youtube Channel If you want to speed up the delivery of your contribution, please join the Community Contributions Triage session to discuss the appropriate ticket. □ The triage of issues happens in the queue order. □ You can find the schedule on the Magento Community Calendar page. Community Contributions Triage is a public meeting. ⚠️ According to the Magento Contribution requirements, all issues must go through the Community Contributions Triage process.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |