Skip to content

Commit 2acbd8a

Browse files
author
Volodymyr Klymenko
committed
MAGETWO-42891: [Sample Data] Negative values on dashboard
1 parent e9eeaa0 commit 2acbd8a

File tree

1 file changed

+0
-4
lines changed
  • app/code/Magento/SampleData/Module/Sales/Setup/Order

1 file changed

+0
-4
lines changed

app/code/Magento/SampleData/Module/Sales/Setup/Order/Processor.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -270,10 +270,6 @@ protected function refundOrder(\Magento\Sales\Model\Order\Item $orderItem)
270270
if ($creditmemo && $creditmemo->isValidGrandTotal()) {
271271
$creditmemo->setOfflineRequested(true);
272272
$this->creditmemoManagement->refund($creditmemo, true);
273-
$creditmemoTransaction = $this->transactionFactory->create()
274-
->addObject($creditmemo)
275-
->addObject($creditmemo->getOrder());
276-
$creditmemoTransaction->save();
277273
}
278274
}
279275

0 commit comments

Comments
 (0)