File tree 2 files changed +6
-1
lines changed
2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -535,6 +535,11 @@ public function createShipment(Mage_Sales_Model_Order_Shipment $shipment, Mage_S
535
535
$ payment ->setTransactionId ($ transactionId );
536
536
$ payment ->registerCaptureNotification ($ captureAmount , true );
537
537
538
+ // Set the tax_invoiced and base_tax_invoiced. Normally this is done by calling $invoice->register(),
539
+ // but because the invoice is already exists this does not work. So, set it manually.
540
+ $ order ->setTaxInvoiced ($ order ->getTaxInvoiced () + $ invoice ->getTaxAmount ());
541
+ $ order ->setBaseTaxInvoiced ($ order ->getBaseTaxInvoiced () + $ invoice ->getBaseTaxAmount ());
542
+
538
543
foreach ($ invoice ->getAllItems () as $ item ) {
539
544
if ($ item ->getQty () > 0 ) {
540
545
$ item ->register ();
Original file line number Diff line number Diff line change 33
33
<config >
34
34
<modules >
35
35
<Mollie_Mpm >
36
- <version >5.6.5 </version >
36
+ <version >5.6.6 </version >
37
37
</Mollie_Mpm >
38
38
</modules >
39
39
<global >
You can’t perform that action at this time.
0 commit comments